/* ═══════════════════════════════════════════════════════════════════════
   styles.css — Novus Labs Website
   Variables, resets, typography, layout, section styles, animations
   ═══════════════════════════════════════════════════════════════════════ */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;overflow-x:hidden}
body{font-family:'Inter',system-ui,sans-serif;color:#1c1f24;background:#fff;line-height:1.6}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.btn-icon{width:1.35em;height:1.35em;flex-shrink:0;margin-left:.45em;vertical-align:-.3em;stroke-width:2}
/* Visually-hidden but accessible to screen readers / crawlers */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:root{
  --red:#AA1F2E;--red-dark:#8A1822;--red-light:#f5e8ea;
  --navy:#1C1C1C;--navy-mid:#2A2A2A;
  --blue:#AA1F2E;--blue-light:#F5E8EA;
  --teal:#6B6B6B;--teal-light:#EBEBEB;
  --gray-50:#F6F6F6;--gray-100:#E8E8E8;--gray-200:#D0D0D0;
  --gray-400:#939598;--gray-600:#5C5C5C;--gray-800:#2E2E2E;
  --white:#ffffff;
  --shadow-sm:0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.04);
  --shadow-md:0 4px 16px rgba(0,0,0,.10),0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:0 12px 40px rgba(0,0,0,.15);
  --radius:8px;--radius-lg:12px;--transition:0.22s ease
}
h1,h2,h3,h4{font-family:'Inter',system-ui,sans-serif;line-height:1.15;color:var(--navy)}
.eyebrow{font-size:.95rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--red);display:block;margin-bottom:.6rem}
.section-headline{font-size:clamp(1.7rem,3vw,2.3rem);font-weight:800;margin-bottom:.75rem;color:#555555}
.section-sub{font-size:1rem;color:var(--gray-600);max-width:600px;margin:0 auto 2.5rem;line-height:1.7;text-wrap:balance}
.container{max-width:1440px;margin:0 auto;padding:0 2rem}
.section-pad{padding:5rem 0}
.section-light{background:#F2F2F2}
.section-header{text-align:center}

/* ═══════════════════════════════════════════════════════════════════════
   SECTION STYLES
   ═══════════════════════════════════════════════════════════════════════ */

/* ── HERO ── */
#hero{position:relative;min-height:max(calc(82vh - 60px), 620px);display:flex;flex-direction:column;justify-content:center;overflow:hidden;background:var(--navy)}

/* ── Hero carousel ───────────────────────────────────────────────────── */
.hero-carousel{position:absolute;inset:0;z-index:0}
.hero-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .8s ease;display:flex;flex-direction:column;justify-content:center}
.hero-slide.active{opacity:1;pointer-events:auto;z-index:1}

.hero-bg{position:absolute;inset:0;z-index:0;overflow:hidden;background-size:cover;background-position:center}
.hero-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(28,28,28,.45) 0%,rgba(28,28,28,.65) 35%,rgba(28,28,28,.65) 75%,rgba(28,28,28,.45) 100%)}
.hero-content{position:relative;z-index:2;max-width:1440px;margin:0 auto;padding:6rem 2rem;width:100%;text-align:center}
.hero-eyebrow{font-family:'Inter',sans-serif;font-size:.95rem;font-weight:600;color:rgba(255,255,255,.85);letter-spacing:.12em;text-transform:uppercase;margin-bottom:1rem;display:inline-block}
.hero-logo{width:380px;max-width:78%;height:auto;margin:0 auto 1.75rem;display:block}

/* ── Carousel pagination dots (bottom-right of hero) ─────────────────── */
.hero-dots{position:absolute;bottom:74px;right:1.6rem;z-index:4;display:flex;gap:0}
.hero-dot{width:24px;height:24px;padding:0;border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent}
.hero-dot::before{content:"";display:block;width:12px;height:12px;border-radius:50%;border:2px solid rgba(255,255,255,.7);background:transparent;transition:background .2s,border-color .2s,transform .2s}
.hero-dot.active::before{background:#fff;border-color:#fff}
.hero-dot:hover::before{border-color:#fff;transform:scale(1.15)}

.hero-headline{font-family:'Inter',sans-serif;font-size:clamp(4.5rem,11vw,9.5rem);font-weight:800;color:#ffffff !important;line-height:.95;margin-bottom:2.2rem}
.hero-sub{font-size:clamp(1.05rem,1.6vw,1.2rem);color:#ffffff;max-width:820px;margin:0 auto 2.5rem;line-height:1.7}
.hero-ctas{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;justify-content:center}
.btn-hero-primary{background:var(--red);color:#fff;border:2px solid var(--red);padding:.85rem 1.8rem;font-size:.95rem;border-radius:var(--radius);font-weight:700;display:inline-flex;align-items:center;transition:all var(--transition)}
.btn-hero-primary:hover{background:var(--red-dark);border-color:var(--red-dark)}
.btn-hero-ghost{background:rgba(255,255,255,.20);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#fff;border:2px solid rgba(255,255,255,.85);padding:.85rem 1.8rem;font-size:.95rem;border-radius:var(--radius);font-weight:600;display:inline-flex;align-items:center;gap:.5rem;transition:all var(--transition)}
.btn-hero-ghost:hover{background:rgba(255,255,255,.35);border-color:#fff}
.play-icon{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.2);display:inline-flex;align-items:center;justify-content:center;font-size:.7rem}
.hero-stats{position:absolute;bottom:0;left:0;right:0;z-index:3;height:60px;background:rgba(102,102,102,.97);backdrop-filter:blur(12px);border-top:1px solid rgba(255,255,255,.15)}
.stats-inner{max-width:1440px;margin:0 auto;padding:0 2rem;height:100%;display:grid;grid-template-columns:repeat(5,1fr);align-items:center}
.stat-item{padding:0 1rem;text-align:center;border-right:1px solid rgba(255,255,255,.06);transition:background var(--transition);display:flex;flex-direction:column;justify-content:center;height:100%}
.stat-item:last-child{border-right:none}
.stat-item:hover{background:rgba(255,255,255,.04)}
.stat-num{font-family:'Inter',sans-serif;font-size:1.25rem;font-weight:800;color:#ffffff;display:block;line-height:1;margin-bottom:.2rem}
.stat-lbl{font-size:.62rem;color:rgba(255,255,255,.5);letter-spacing:.04em;text-transform:uppercase;font-weight:500}

/* ── SERVICES ── */
#services{background:#F2F2F2}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.service-card{border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--gray-100);box-shadow:var(--shadow-md);transition:box-shadow var(--transition),border-color var(--transition);display:flex;flex-direction:column}
.service-card:hover{box-shadow:0 16px 34px rgba(0,0,0,.33),0 6px 12px rgba(0,0,0,.20);border-color:var(--gray-200)}
.service-card-header{padding:2rem 1.75rem 1.5rem;color:#fff;position:relative;overflow:hidden}
.service-card-header::after{content:'';position:absolute;top:-40px;right:-40px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.06)}
.service-card-header.blue{background:linear-gradient(135deg,#888888,#666666)}
.service-card-header.teal{background:linear-gradient(135deg,#5C5C5C,#3a3a3a)}
.service-card-header.navy{background:linear-gradient(135deg,#707070,#555555)}
.service-icon{width:48px;height:48px;border-radius:12px;background:rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;margin-bottom:1rem}.service-icon svg{width:24px;height:24px;stroke:#fff;stroke-width:1.75;fill:none}
.service-card-title{font-family:'Inter',sans-serif;font-size:1.35rem;font-weight:700;color:#fff;margin-bottom:.5rem}
.service-card-tagline{font-size:.84rem;color:rgba(255,255,255,.7);line-height:1.5}
.service-card-body{padding:1.5rem 1.75rem;background:#fff;flex:1;display:flex;flex-direction:column;justify-content:space-between}
.service-bullets{list-style:none;margin-bottom:1.5rem}
.service-bullets li{font-size:.875rem;color:var(--gray-600);padding:.4rem 0;border-bottom:1px solid var(--gray-100);display:flex;align-items:center;gap:.6rem}
.service-bullets li:last-child{border-bottom:none}
.service-bullets li::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--red);flex-shrink:0}
.service-bullets li a{color:inherit;text-decoration:underline;text-underline-offset:2px;transition:color var(--transition)}
.service-bullets li a:hover{color:var(--red)}
.service-link{font-size:.875rem;font-weight:600;color:#AA1F2E;display:flex;align-items:center;gap:.35rem;transition:color var(--transition)}
.service-link:hover{color:#1C1C1C}
/* Homepage "Our Services" cards — photo-header variant: page hero fills the
   top section in place of the icon+gradient. Scoped to .service-card--media so
   the shared icon/gradient header used elsewhere sitewide is untouched. */
.service-card--media .service-card-header{min-height:200px;background-color:var(--navy);background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:flex-end;filter:brightness(1.22);transition:filter var(--transition)}
.service-card--media:hover .service-card-header{filter:brightness(1.34)}
.service-card--media .service-card-header::after{inset:0;width:auto;height:auto;border-radius:0;background:linear-gradient(180deg,rgba(28,28,28,.15) 0%,rgba(28,28,28,.42) 55%,rgba(28,28,28,.72) 100%)}
.service-card--media .service-card-title,.service-card--media .service-card-tagline{position:relative;z-index:1}
.service-card--media .service-card-tagline{color:rgba(255,255,255,.85)}
/* Whole-card click: stretch the bottom CTA link's hit area over the entire
   card (single real <a>, valid HTML, keyboard-focusable). Card-wide pointer
   cursor; hovering anywhere also triggers the .service-link hover color. */
.service-card--media{position:relative}
.service-card--media .service-link::after{content:'';position:absolute;inset:0;z-index:1}
.service-card--media .service-link:hover{color:var(--red)}

/* ── INDUSTRIES ── */
#industries{background:#ffffff}
.industries-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.industry-card{border-radius:var(--radius-lg);overflow:hidden;cursor:pointer;border:1px solid var(--gray-100);box-shadow:var(--shadow-md);transition:box-shadow var(--transition),border-color var(--transition),transform var(--transition);text-decoration:none;display:block;will-change:transform}
.industry-card:hover{box-shadow:var(--shadow-lg);border-color:var(--gray-200);transform:scale(1.04);z-index:1;position:relative}
.industry-icon-text,.industry-label span{display:inline-block;transition:transform var(--transition);transform-origin:center center}
.industry-card:hover .industry-icon-text,.industry-card:hover .industry-label span{transform:scale(.9615)}
.industry-img-placeholder{width:100%;aspect-ratio:4/3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem}
.ic-smart{background:linear-gradient(135deg,#C4354A,#A01828)}
.ic-auto{background:linear-gradient(135deg,#808080,#606060)}
.ic-telecom{background:linear-gradient(135deg,#B02030,#881828)}
.ic-elec{background:linear-gradient(135deg,#707070,#505050)}
.ic-gov{background:linear-gradient(135deg,#909090,#707070)}
.industry-label{padding:.75rem .9rem;background:#ffffff;color:#fff;text-align:center}
.industry-label strong{display:block;font-size:.82rem;font-weight:700;margin-bottom:.2rem;color:var(--gray-600)}
.industry-label span{font-size:.85rem;color:var(--gray-600)}
.industry-icon-text{font-size:1rem;color:rgba(255,255,255,.85);font-weight:600}.industry-img-placeholder svg{width:44px;height:44px;stroke:rgba(255,255,255,.9);stroke-width:1.5;fill:none;margin-bottom:.5rem}

/* ── CASE STUDIES ── */
#cases{background:#F2F2F2}
.cases-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.case-card{border-radius:var(--radius-lg);border:1px solid var(--gray-100);box-shadow:var(--shadow-md);overflow:hidden;transition:box-shadow var(--transition),border-color var(--transition);background:#fff;display:flex;flex-direction:column}
.case-card:hover{box-shadow:var(--shadow-lg);border-color:var(--gray-200)}
.case-card-top{height:5px}
.case-card-top.red{background:#6B6B6B}
.case-card-top.blue{background:#939598}
.case-card-top.teal{background:#6B6B6B}
.case-card-body{padding:1.75rem;display:flex;flex-direction:column;flex:1}
.case-sector{font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.75rem;display:block}
.case-sector.red{color:var(--red)}
.case-sector.blue{color:var(--red)}
.case-sector.teal{color:var(--red)}
.case-metric{font-family:'Inter',sans-serif;font-size:2.6rem;font-weight:800;color:#555555;line-height:1;margin-bottom:.25rem}
.case-metric-label{font-size:.9rem;font-weight:600;color:var(--gray-600);margin-bottom:1rem}
.case-divider{height:1px;background:var(--gray-100);margin:1rem 0}
.case-desc{font-size:.875rem;color:var(--gray-600);line-height:1.65;margin-bottom:1.25rem}
.case-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.25rem}
.tag{font-size:.72rem;font-weight:600;padding:.25rem .6rem;border-radius:20px;background:#F0F0F0;color:#5C5C5C}
.case-link{font-size:.84rem;font-weight:600;color:var(--red);display:inline-flex;align-items:center;gap:.35rem;margin-top:auto;align-self:flex-start;transition:color var(--transition)}
.case-link:hover{color:var(--navy)}
/* Accreditations & Certifications (homepage #accreditations) */
.accred-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.accred-card{background:#fff;border:1px solid var(--gray-100);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:2.25rem 1.75rem;text-align:center;display:flex;flex-direction:column;align-items:center;transition:box-shadow var(--transition),border-color var(--transition)}
.accred-card:hover{box-shadow:var(--shadow-lg);border-color:var(--gray-200)}
.accred-badge{height:96px;display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem}
.accred-badge img{max-height:96px;max-width:170px;width:auto;height:auto;object-fit:contain}
.accred-card h3{font-size:1.15rem;font-weight:700;color:var(--navy);margin-bottom:.6rem}
.accred-card p{font-size:.9rem;color:var(--gray-600);line-height:1.6}
.accred-link{margin-top:auto;padding-top:1.25rem;font-size:.875rem;font-weight:600;color:var(--red);display:inline-flex;align-items:center;gap:.35rem;transition:color var(--transition)}
.accred-link:hover{color:var(--navy)}

/* ── FACILITY ── */
#facility{background:#ffffff}
.facility-grid{display:grid;grid-template-columns:5fr 8fr;gap:4rem;align-items:center}
.facility-photos{display:grid;grid-template-rows:auto auto;gap:1rem}
.facility-photos .fphoto img{height:auto}
.fphoto{border-radius:var(--radius-lg);overflow:hidden}
.fphoto img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.fphoto:hover img{transform:scale(1.04)}
/* Homepage "The Novus Difference" photos: no hover zoom */
#facility .fphoto:hover img{transform:none}
.fphoto-main{grid-column:1/3;grid-row:1/2}
.facility-text p{font-size:1rem;color:var(--gray-600);line-height:1.75;margin-bottom:1.5rem}
.facility-features{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:2rem}
.ffeat{display:flex;align-items:flex-start;gap:.75rem;background:#fff;border-radius:var(--radius);padding:1rem 1.1rem;border:1px solid var(--gray-100)}
.ffeat-icon{flex-shrink:0;color:var(--red);line-height:0}
.ffeat-icon i,.ffeat-icon svg{width:22px;height:22px}
.facility-text .ffeat-title{font-size:.95rem;font-weight:700;color:var(--navy);margin:0 0 .25rem;line-height:1.2}
.facility-text .ffeat-text{font-size:.82rem;color:var(--gray-600);line-height:1.5;margin:0}

/* ── CLIENTS / LOGOS ── */
#clients{background:#555555}
.clients-inner{padding:4rem 0}
.clients-header{text-align:center;margin-bottom:3rem}
.clients-header h2{color:#fff;font-size:clamp(1.7rem,3vw,2.3rem);font-weight:800;margin-bottom:.5rem}
.clients-header p{color:rgba(255,255,255,.85);font-size:.9rem}
.logos-row{display:grid;gap:0;margin-bottom:0}
.logos-row-3{grid-template-columns:repeat(3,1fr)}
.logos-row-4{grid-template-columns:repeat(4,1fr)}
.logo-marquee{background:#fff;padding:2.75rem 0;overflow:hidden}
.logo-marquee-track{display:flex;align-items:center;width:max-content;animation:logo-scroll 45s linear infinite}
.logo-marquee-group{display:flex;align-items:center;flex-shrink:0}
.logo-marquee-track img{height:28px;width:auto;max-width:120px;object-fit:contain;filter:brightness(0);opacity:.55;margin-right:3.75rem;flex-shrink:0}
@keyframes logo-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.logo-marquee-track{animation:none;flex-wrap:wrap;justify-content:center;width:auto;padding:0 1rem}.logo-marquee-group{flex-wrap:wrap;justify-content:center}.logo-marquee-group[aria-hidden="true"]{display:none}.logo-marquee-track img{margin:0 1.75rem .75rem}}
.logo-cell{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2rem 2.5rem;
  border:1px solid rgba(255,255,255,.06);
  margin:-1px 0 0 -1px;
}
.logo-cell img{
  max-height:36px;
  width:auto;
  max-width:140px;
  object-fit:contain;
  opacity:.8;
}

/* ── RESOURCES ── */
#resources{background:#F2F2F2}
.resources-inner{display:grid;grid-template-columns:1.1fr 1fr;gap:4rem;align-items:start}
.resource-list{list-style:none}
.resource-item{display:flex;align-items:flex-start;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--gray-100);cursor:pointer;transition:padding-left var(--transition);text-decoration:none}
.resource-item:hover{padding-left:.5rem}
.resource-item:last-child{border-bottom:none}
.resource-badge{font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:.2rem .55rem;border-radius:4px;flex-shrink:0;margin-top:2px}
.rb-guide{background:rgba(170,31,46,.1);color:#AA1F2E;border:1px solid rgba(170,31,46,.2)}
.rb-check{background:#F5E8EA;color:#AA1F2E;border:1px solid rgba(170,31,46,.2)}
.rb-webinar{background:#EBEBEB;color:#5C5C5C;border:1px solid rgba(100,100,100,.2)}
.rb-blog{background:var(--gray-50);color:var(--gray-600);border:1px solid var(--gray-200)}
.resource-title{font-size:.9rem;font-weight:600;color:var(--gray-800);line-height:1.4}
.resource-meta{font-size:.75rem;color:var(--gray-400);margin-top:.2rem}
.resource-sidebar h3{font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--gray-400);margin-bottom:1.5rem}
.mini-logos{display:grid;grid-template-columns:repeat(4,1fr);gap:.4rem;margin-bottom:1.25rem}
.mini-logo-cell{background:var(--gray-50);border:1px solid var(--gray-100);border-radius:var(--radius);padding:.55rem .4rem;display:flex;align-items:center;justify-content:center}
.mini-logo-cell img{max-height:24px;width:auto;max-width:80px;object-fit:contain;opacity:.55;filter:brightness(0)}

/* ── CTA BAND ── */
#cta-band{position:relative;overflow:hidden;min-height:320px;display:flex;align-items:center}
/* Quote band (electrical-validation): shorter than the standard section-pad to suit a single-line customer quote */
#quote.section-pad{padding:3rem 0}
.cta-bg{position:absolute;inset:0;background-image:url('../assets/images/novus-building-cta.webp');background-size:cover;background-position:center 40%;z-index:0}
.cta-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,20,20,.72) 35%,rgba(20,20,20,.40) 100%);z-index:1}
.cta-content{position:relative;z-index:2;max-width:1440px;margin:0 auto;padding:4rem 2rem;display:flex;align-items:center;justify-content:space-between;gap:3rem;width:100%}
.cta-text h2{font-size:clamp(1.8rem,3.5vw,2.6rem);font-weight:800;color:#fff;margin-bottom:.75rem;max-width:760px}
.cta-text p{font-size:1.05rem;color:rgba(255,255,255,.65);max-width:760px}
.cta-buttons{display:flex;gap:1rem;flex-shrink:0;flex-wrap:wrap}
.btn-cta-primary{background:var(--red);color:#fff;border:2px solid var(--red);padding:.9rem 2rem;font-size:.95rem;border-radius:var(--radius);font-weight:700;transition:all var(--transition);white-space:nowrap;display:inline-flex;align-items:center}
.btn-cta-primary:hover{background:var(--red-dark);border-color:var(--red-dark)}
.btn-cta-ghost{background:rgba(255,255,255,.20);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#fff;border:2px solid rgba(255,255,255,.85);padding:.9rem 2rem;font-size:.95rem;border-radius:var(--radius);font-weight:600;transition:all var(--transition);white-space:nowrap;display:inline-flex;align-items:center}
.btn-cta-ghost:hover{background:rgba(255,255,255,.35);border-color:#fff}

/* ── FOOTER ── */
footer{background:#F2F2F2;color:var(--gray-600)}
.footer-main{max-width:1440px;margin:0 auto;padding:3.5rem 2rem 2.5rem;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:3rem}
.footer-brand{display:flex;flex-direction:column;align-items:flex-start}
.footer-brand img{height:36px;width:auto;margin-bottom:1rem}
.footer-brand p{font-size:.82rem;line-height:1.65;margin-bottom:.4rem}
.footer-col{display:flex;flex-direction:column}
.footer-col h2{color:var(--navy);font-size:.82rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-bottom:1.1rem}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:.55rem}
.footer-col ul li a{font-size:.82rem;color:var(--gray-600);transition:color var(--transition)}
.footer-col ul li a:hover{color:var(--navy)}
.footer-accred{grid-column:1/-1;display:flex;gap:1rem;flex-wrap:wrap;align-items:center;padding-top:1.75rem;border-top:1px solid rgba(0,0,0,.08)}
.footer-badge{font-size:.62rem;font-weight:700;padding:.25rem .55rem;border-radius:4px;background:rgba(170,31,46,.12);border:1px solid rgba(170,31,46,.25);color:#c97079;letter-spacing:.04em}
.footer-cert-img{height:52px;width:auto}
.footer-social{display:flex;gap:.6rem;align-items:center;margin-top:auto;padding-top:1.5rem}
.footer-social-label{font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gray-600);margin-right:.25rem}
.footer-social a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:8px;background:rgba(0,0,0,.04);border:1px solid rgba(0,0,0,.1);color:var(--gray-600);transition:background var(--transition),border-color var(--transition),color var(--transition)}
.footer-social a:hover{background:var(--red);border-color:var(--red);color:#fff}
.footer-social svg{width:26px;height:26px;fill:currentColor}
.footer-bottom{background:#E5E5E5;border-top:1px solid rgba(0,0,0,.06)}
.footer-bottom-inner{max-width:1440px;margin:0 auto;padding:1.25rem 2rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.75rem}
.footer-bottom p{font-size:.78rem;color:var(--gray-600)}
.footer-bottom-links{display:flex;gap:1.5rem;list-style:none}
.footer-bottom-links a{font-size:.78rem;color:var(--gray-600);display:inline-block;padding:.5rem 0;transition:color var(--transition)}
.footer-bottom-links a:hover{color:var(--navy)}

/* ── RESPONSIVE ── */


/* ── INLINE STYLE OVERRIDES ──────────────────────────────────────────── */
/* Converted from inline style="" attributes to proper CSS classes       */

/* Hero headline: fix specificity conflict with h1 { color: var(--navy) } */
#hero .hero-headline {
  color: #ffffff;
  font-size: clamp(2.25rem, 3.8vw, 3.25rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

/* Hero video element */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.10) saturate(0.85);
  z-index: 0;
}

/* Nav logo image sizing */
.nav-logo img {
  height: 44px;
  width: auto;
}

/* Footer logo image sizing */
.footer-brand img {
  height: 32px;
  width: auto;
}

/* Facility section headline override */
.facility-text .section-headline {
  text-align: left;
  max-width: 100%;
}

/* Facility tour button */
.btn-facility-tour {
  display: inline-flex;
}

/* Accreditation badge images in footer */
.footer-cert-img {
  height: 64px;
  width: auto;
  vertical-align: middle;
}

/* Resources section headline override */
.resources-text .section-headline {
  text-align: left;
}

/* Resources intro paragraph */
.resources-intro {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Resources view all button */
.btn-resources-all {
  margin-top: 1.5rem;
  display: inline-flex;
}

/* Resources sidebar CTA box */
.resource-cta-box {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
}
.resource-cta-box h3 {
  color: var(--navy);
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: .75rem;
  letter-spacing: 0;
  text-transform: none;
}
.resource-cta-box p {
  font-size: .84rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.resource-cta-box .btn {
  display: flex;
  justify-content: center;
}

/* Footer contact paragraph */
.footer-contact {
  margin-top: .5rem;
}
.footer-contact a {
  color: var(--gray-600);
  text-decoration: none;
  transition: color .2s;
}
.footer-contact a:hover {
  color: var(--navy);
}

/* Mega-col spacer (no border) */
.mega-col-spacer {
  border-right: none;
}

/* Enlarged logo treatment for Custom Test Tools product cards */
.partner-list.partner-list--tool .partner-logo {
  width: 300px;
}
.partner-list.partner-list--tool .partner-logo img {
  max-height: 220px;
}
/* Brand/standard logos (e.g. Compliance & Certification page) — smaller
   than the photo-oriented --tool variant so marks like Matter/USB/SATA
   don't overpower the cards. */
.partner-list.partner-list--logos .partner-logo {
  width: 200px;
}
.partner-list.partner-list--logos .partner-logo img {
  max-height: 80px;
}


/* ══════════════════════════════════════════════════════════════════
   Contact page: form + info block
   ══════════════════════════════════════════════════════════════════ */
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info > h2 { margin-bottom: .5rem; }
.contact-info > p { color: var(--gray-600); line-height: 1.7; margin-bottom: .5rem; }
.contact-info-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}
.contact-info-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: .25rem;
}
.contact-info-item p {
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.6;
  margin: 0;
}
.contact-info-item a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}
.contact-info-item a:hover { color: var(--red); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; scroll-margin-top: 90px; }
.contact-form .form-field { display: flex; flex-direction: column; }
.contact-form label {
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.contact-form .required { color: var(--red); margin-left: .1rem; }
.contact-form .optional { color: var(--gray-500); font-weight: 400; font-size: .85em; margin-left: .25rem; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(170, 31, 46, .12);
}
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
  font-family: 'Inter', sans-serif;
}
.contact-form button[type="submit"] {
  background: var(--red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .9rem 2.25rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  align-self: flex-start;
  margin-top: .5rem;
}
.contact-form button[type="submit"]:hover {
  background: var(--red-dark);
}
.contact-form button[type="submit"]:active {
  transform: translateY(1px);
}
/* Honeypot: off-screen anti-spam field. Real users never see or tab to it;
   bots that auto-fill every input trip it and the submission is dropped. */
.contact-form .hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Submit status message (info / success / error), shown by the inline handler */
.contact-form .form-status {
  margin: 0;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  font-size: .92rem;
  line-height: 1.5;
}
.contact-form .form-status.is-success { background: rgba(34,139,34,.10); border: 1px solid rgba(34,139,34,.35); color: #1c6b1c; }
.contact-form .form-status.is-error   { background: rgba(170,31,46,.08); border: 1px solid rgba(170,31,46,.30); color: var(--red-dark); }
.contact-form .form-status.is-info    { background: var(--gray-100); border: 1px solid var(--gray-200); color: var(--navy); }


/* ── 404 ERROR PAGE ── */
body.error-page #navbar{background:var(--navy)}
.error-main{max-width:720px;margin:0 auto;padding:10rem 1.5rem 5rem;min-height:62vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.error-eyebrow{font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--red);margin-bottom:1rem}
.error-headline{font-size:clamp(1.9rem,4vw,2.85rem);font-weight:800;color:#555555;line-height:1.15;margin-bottom:1rem}
.error-sub{font-size:1.05rem;color:var(--gray-600);max-width:540px;margin:0 auto 2.25rem;line-height:1.7}
.error-links{display:flex;flex-wrap:wrap;gap:.6rem 2rem;justify-content:center;margin-bottom:2.5rem}
.error-links a{font-weight:600;color:var(--navy);border-bottom:2px solid var(--red);padding-bottom:2px}
.error-links a:hover{color:var(--red)}
