/* BAN Electric — pixel-tuned rebuild
   Fonts: Montserrat 700 (headings) + Source Sans Pro 400/500 (body) loaded
   from Google Fonts. Measurements + colors matched to live banelectric.com. */

:root {
  --navy: #0f1a32;
  --navy-dark: #0a1124;
  --navy-darker: #060a18;
  --gold: #ffdf48;
  --gold-bright: #ffd926;
  --text: #c8ccd2;
  --text-muted: #8b93a0;
  --bg: #0a0f1c;
  --bg-alt: #111827;
  --border: #1e293b;
  --container: 1170px;
  --heading: #f4f6fa;
  --card: #121a2d;
  --card-alt: #0f1728;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:120px; }
body {
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color:inherit; text-decoration:none; }
img { max-width:100%; height:auto; display:block; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--heading);
  line-height: 1.2;
}

/* ============ HEADER / NAV ============ */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
}
.nav-wrap {
  max-width: 1170px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo img {
  width: 164px;
  height: auto;
}
.nav-links {
  display: flex;
  gap: 0;
  align-items: center;
  list-style: none;
}
.nav-links li { display: inline-block; position: relative; }
.nav-links .has-dropdown > a::after {
  content: '';
  display: inline-block;
  margin-left: 0.35rem;
  width: 0; height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
  opacity: 0.7;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #0f1a32;
  list-style: none;
  padding: 0.35rem 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  z-index: 30;
}
.nav-links .has-dropdown:hover > .nav-dropdown,
.nav-links .has-dropdown:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown li { display: block; }
.nav-dropdown a {
  display: block;
  padding: 0.7rem 1.1rem !important;
  font-size: 0.7rem !important;
  border: none !important;
  white-space: nowrap;
}
.nav-dropdown a:hover { color: var(--gold); background: rgba(255,255,255,0.04); }
.nav-links a {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  border: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-links a.active {
  border-color: rgba(255,255,255,0.55);
}
/* Nav: primary CTA pill (Request Service) */
.nav-links a.nav-cta {
  margin-left: 0.45rem;
  padding: 0.52rem 1.2rem !important;
  border-radius: 999px;
  border: 2px solid #ccff00 !important;
  background: #ccff00;
  color: #0a0f1c !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 28px rgba(204, 255, 0, 0.42),
    0 8px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease, border-color 0.2s ease;
}
.nav-links a.nav-cta:hover {
  color: #0a0f1c !important;
  filter: brightness(1.07);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 40px rgba(204, 255, 0, 0.55),
    0 10px 28px rgba(0, 0, 0, 0.38);
  transform: translateY(-1px);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 90px;
    right: -100%;
    flex-direction: column;
    width: 280px;
    height: calc(100vh - 90px);
    background: var(--navy-darker);
    padding: 2rem;
    gap: 0;
    box-shadow: -4px 0 12px rgba(0,0,0,0.25);
    transition: right 0.3s ease;
    align-items: stretch;
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links a.active { color: var(--gold); border-color: rgba(255,255,255,0.1); }
  .hamburger { display: flex; }
  .nav-links li { display: block; width: 100%; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    box-shadow: none;
    padding: 0 0 0 1rem;
  }
  .nav-dropdown a { font-size: 0.78rem !important; opacity: 0.8; padding: 0.75rem 0 !important; }
  .nav-links .has-dropdown > a::after { display: none; }
  .nav-links a.nav-cta {
    display: block;
    margin-top: 1.75rem;
    margin-left: 0;
    padding: 0.95rem 1rem !important;
    border-radius: 999px;
    border: 2px solid #ccff00 !important;
    border-bottom: 2px solid #ccff00 !important;
    text-align: center;
    background: #ccff00;
    color: #0a0f1c !important;
    box-shadow: 0 0 24px rgba(204, 255, 0, 0.35);
  }
  .nav-links a.nav-cta:hover {
    color: #0a0f1c !important;
    filter: brightness(1.06);
  }
}

.emp-forms-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.emp-forms-block:last-child { border-bottom: none; }
.emp-forms-block h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
}
.emp-forms-list {
  color: var(--text);
  font-weight: 400;
  padding-left: 1.25rem;
  line-height: 1.9;
}

/* ============ HERO (HOME) ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 6rem 1rem;
  overflow: hidden;
  margin-top: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/banelectric/assets/hero-bg.png') center/cover no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,26,50,0.5);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero h1 {
  font-size: 80px;
  font-weight: 700;
  line-height: 90px;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 1000px) {
  .hero h1 { font-size: 8vw; line-height: 9vw; }
}
.hero-sub {
  font-family: "Montserrat", sans-serif;
  font-size: 50px;
  font-weight: 600;
  line-height: 69px;
  margin: 1.4em auto 2.5rem;
  max-width: 1000px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ccffff;
}
@media (max-width: 1000px) {
  .hero-sub { font-size: 5vw; line-height: 6.9vw; }
}
.hero-tagline {
  font-family: "Source Sans Pro", sans-serif;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  color: #fff;
  font-style: italic;
  font-weight: 400;
  margin-top: 2.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(15,26,50,0.5);
}
.btn-outline {
  display: inline-block;
  padding: 1.05rem 2.75rem;
  border: 2px solid #fff;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.25s;
  background: transparent;
  cursor: pointer;
}
.btn-outline:hover {
  background: #fff;
  color: var(--navy);
}
.btn-gold {
  display: inline-block;
  padding: 1.05rem 2.5rem;
  background: var(--gold);
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.2s;
  border: 2px solid var(--gold);
  cursor: pointer;
}
.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

/* ============ INNER PAGE TITLE ============ */
.page-title {
  position: relative;
  padding: 6rem 1.5rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-title-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-title-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,26,50,0.78) 0%, rgba(15,26,50,0.88) 100%);
  z-index: 1;
}
.page-title-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-title h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.01em;
  margin: 0;
}
.page-title .eyebrow {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}
.page-title .lead {
  margin-top: 1.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
}

/* ============ SECTIONS ============ */
.section {
  padding: 5rem 1.5rem;
}
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--navy);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--gold); }
.container { max-width: var(--container); margin: 0 auto; }

.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
}
.section-desc {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

/* ============ TWO-COLUMN LISTS (Services) ============ */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
@media (max-width: 760px) {
  .two-col-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.list-block h3 {
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 3px solid var(--gold);
  letter-spacing: 0.04em;
}
.list-block ul {
  list-style: none;
}
.list-block li {
  padding: 0.7rem 0 0.7rem 1.75rem;
  position: relative;
  font-size: 1rem;
  font-weight: 400;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.list-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.list-block li:last-child { border-bottom: none; }

/* ============ CORE VALUES (3 column cards) ============ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 800px) {
  .values-grid { grid-template-columns: 1fr; }
}
.value-card {
  background: #fff;
  padding: 2.5rem 1.75rem;
  text-align: center;
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  transition: all 0.3s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15,26,50,0.10);
}
.value-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-card .icon svg { width: 28px; height: 28px; }
.value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.65;
}

/* ============ ABOUT MISSION BULLETS ============ */
.mission-bullets {
  list-style: none;
  padding: 0;
  display: inline-block;
  text-align: left;
  margin-top: 1rem;
}
.mission-bullets li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  position: relative;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 400;
}
.mission-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* ============ CONTACT GRID ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-top: 0.5rem;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.contact-info h3 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 0.85rem;
  border-bottom: 3px solid var(--gold);
}
.contact-info p { margin-bottom: 0.4rem; font-size: 1rem; font-weight: 400; }
.contact-info a { color: var(--navy); font-weight: 400; }
.contact-info a:hover { color: var(--gold-bright); }

.team-list {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
@media (max-width: 500px) { .team-list { grid-template-columns: 1fr; } }
.team-list .person p:first-child {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.1rem;
}
.team-list .person .role {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.team-list .person a {
  color: var(--navy);
  font-size: 0.95rem;
  word-break: break-all;
}
.team-list .person a:hover { color: var(--gold-bright); }

/* ============ CONTACT FORM ============ */
.contact-form {
  background: #fff;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
}
.contact-form h3 {
  font-size: 1.35rem;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 0.85rem;
  border-bottom: 3px solid var(--gold);
}
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  background: #fafafa;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--text);
  border-radius: 0;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 2px solid var(--gold);
  background: #fff;
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-submit {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 1.05rem 2.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.85rem;
}
.form-submit:hover { background: var(--gold-bright); }

/* ============ PORTFOLIO ============ */
.portfolio-empty {
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ============ BLOG ============ */
.blog-post {
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 3rem;
}
.blog-post:last-child { border-bottom: none; }
.blog-post-image {
  display: block;
  width: 100%;
  margin-bottom: 1.75rem;
  overflow: hidden;
  border-radius: 2px;
}
.blog-post-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}
.blog-post-image:hover img { transform: scale(1.02); }
.blog-post .category {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.blog-post h2 {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
  color: var(--navy);
}
.blog-post h2 a:hover { color: var(--gold-bright); }
.blog-post p {
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.7;
  font-size: 1.05rem;
}
.blog-post .read-more {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  margin-top: 1.25rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.2rem;
}
.blog-post .read-more:hover { color: var(--gold-bright); }

/* ============ FOOTER (multi-column) ============ */
footer {
  background: var(--navy-darker);
  color: rgba(255,255,255,0.75);
  padding: 4rem 1.5rem 0;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.7;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2.25rem; }
}
footer h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 700;
}
footer ul { list-style: none; padding: 0; }
footer li { margin-bottom: 0.5rem; }
footer a:hover { color: var(--gold); }
.footer-logo img { height: 75px; margin-bottom: 1.25rem; }
.footer-about p { font-size: 0.9rem; line-height: 1.7; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-copy a:hover { color: var(--gold); }

/* ============ ABOUT-US HERO (full-bleed with tile reveal) ============ */
.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 8rem 1.5rem 5rem;
  overflow: hidden;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/banelectric/assets/about-hero.png') center/cover no-repeat;
  z-index: 0;
}
.about-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,26,50,0.35);
}
.about-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
}
.about-hero-eyebrow {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 auto 1rem;
  opacity: 0;
  animation: fadeInUp 1.4s ease 3.4s forwards;
}
.about-hero-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 auto 2rem;
  opacity: 0;
  animation: fadeInUp 1.4s ease 4.2s forwards;
}
.about-hero-lead {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInUp 1.4s ease 5.0s forwards;
}

/* Tile reveal: 5×5 grid — chunky “panels” with neon seams, then peel away */
.about-hero-tiles {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 4px;
  padding: 4px;
  z-index: 1;
  pointer-events: none;
}
.about-hero-tiles span {
  background: linear-gradient(148deg, rgba(30, 48, 88, 0.97) 0%, rgba(10, 16, 32, 0.99) 55%, rgba(18, 28, 52, 0.98) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(204, 255, 0, 0.28),
    inset 0 0 24px rgba(204, 255, 0, 0.06),
    0 4px 18px rgba(0, 0, 0, 0.35);
  opacity: 1;
  animation: tileReveal 1.88s cubic-bezier(0.55, 0, 0.08, 1) forwards;
}
.about-hero-tiles span:nth-child(1)  { animation-delay: 0.00s; }
.about-hero-tiles span:nth-child(2)  { animation-delay: 0.17s; }
.about-hero-tiles span:nth-child(3)  { animation-delay: 0.34s; }
.about-hero-tiles span:nth-child(4)  { animation-delay: 0.50s; }
.about-hero-tiles span:nth-child(5)  { animation-delay: 0.67s; }
.about-hero-tiles span:nth-child(6)  { animation-delay: 0.11s; }
.about-hero-tiles span:nth-child(7)  { animation-delay: 0.27s; }
.about-hero-tiles span:nth-child(8)  { animation-delay: 0.44s; }
.about-hero-tiles span:nth-child(9)  { animation-delay: 0.61s; }
.about-hero-tiles span:nth-child(10) { animation-delay: 0.78s; }
.about-hero-tiles span:nth-child(11) { animation-delay: 0.21s; }
.about-hero-tiles span:nth-child(12) { animation-delay: 0.38s; }
.about-hero-tiles span:nth-child(13) { animation-delay: 0.55s; }
.about-hero-tiles span:nth-child(14) { animation-delay: 0.72s; }
.about-hero-tiles span:nth-child(15) { animation-delay: 0.88s; }
.about-hero-tiles span:nth-child(16) { animation-delay: 0.32s; }
.about-hero-tiles span:nth-child(17) { animation-delay: 0.48s; }
.about-hero-tiles span:nth-child(18) { animation-delay: 0.65s; }
.about-hero-tiles span:nth-child(19) { animation-delay: 0.82s; }
.about-hero-tiles span:nth-child(20) { animation-delay: 0.99s; }
.about-hero-tiles span:nth-child(21) { animation-delay: 0.42s; }
.about-hero-tiles span:nth-child(22) { animation-delay: 0.59s; }
.about-hero-tiles span:nth-child(23) { animation-delay: 0.76s; }
.about-hero-tiles span:nth-child(24) { animation-delay: 0.93s; }
.about-hero-tiles span:nth-child(25) { animation-delay: 1.09s; }

@keyframes tileReveal {
  0% {
    opacity: 1;
    transform: scale(1) translateZ(0);
    filter: brightness(1.12) saturate(1.35) contrast(1.05);
    box-shadow:
      inset 0 0 0 2px rgba(255, 255, 255, 0.35),
      inset 0 0 0 3px rgba(204, 255, 0, 0.75),
      inset 0 0 48px rgba(204, 255, 0, 0.2),
      0 0 36px rgba(204, 255, 0, 0.35);
  }
  14% {
    opacity: 1;
    transform: scale(1.055) translateZ(0);
    filter: brightness(1.28) saturate(1.45);
    box-shadow:
      inset 0 0 0 2px rgba(204, 255, 0, 0.65),
      inset 0 0 56px rgba(204, 255, 0, 0.18),
      0 0 40px rgba(204, 255, 0, 0.28);
  }
  42% {
    opacity: 0.45;
    transform: scale(1.08) translateZ(0);
    filter: brightness(1.08) saturate(1.15);
    box-shadow:
      inset 0 0 0 1px rgba(204, 255, 0, 0.35),
      0 0 22px rgba(204, 255, 0, 0.12);
  }
  100% {
    opacity: 0;
    transform: scale(1.12) translateZ(0);
    filter: brightness(1);
    visibility: hidden;
    box-shadow: none;
  }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* About Us hero animation runs at full duration regardless of Reduce Motion */

/* ============ SPLIT SECTION (2-col text + image) ============ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.split-section-reverse { direction: rtl; }
.split-section-reverse > * { direction: ltr; }

.split-text {
  display: flex;
  flex-direction: column;
  color: #e6e9ef;
  justify-content: center;
  padding: 5rem 3.5rem;
  background: #fff;
}
.split-text h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.split-text h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-top: 1rem;
}
.split-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.split-text .mission-quote {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
}
.split-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 450px;
}
@media (max-width: 900px) {
  .split-section, .split-section-reverse { grid-template-columns: 1fr; direction: ltr; }
  .split-text { padding: 3rem 1.5rem; }
  .split-image { min-height: 280px; }
}

/* ============ CHECKBOX LIST (mission bullets) ============ */
.checkbox-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}
.checkbox-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  font-size: 1rem;
  color: var(--text);
  font-weight: 400;
  line-height: 1.6;
}
.checkbox-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 16px;
  height: 16px;
  background: transparent;
  border: 2px solid #6bb8d6;
  border-radius: 3px;
}
.checkbox-list li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.75rem;
  width: 8px;
  height: 12px;
  border-right: 2.5px solid #6bb8d6;
  border-bottom: 2.5px solid #6bb8d6;
  transform: rotate(45deg);
}

/* ============ OUTLINE PILL BUTTON ============ */
.btn-pill {
  display: inline-block;
  align-self: flex-start;
  padding: 0.85rem 2.25rem;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.2s;
  margin-top: 0.5rem;
}
.btn-pill:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* ============ SIMPLE FOOTER (target style) ============ */
.site-footer-simple {
  background: var(--navy-darker);
  color: rgba(255,255,255,0.55);
  padding: 1.75rem 1.5rem;
  font-size: 0.82rem;
  line-height: 1.6;
}
.footer-simple-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-copy-simple a {
  color: #4ea3c4;
  text-decoration: none;
}
.footer-copy-simple a:hover { color: var(--gold); }
.footer-socials { display: flex; gap: 0.5rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #3b5998;
  color: #fff;
  transition: opacity 0.2s;
}
.social-link:hover { opacity: 0.85; }

@media (max-width: 600px) {
  .footer-simple-inner { flex-direction: column; text-align: center; }
}

/* ============ SERVICES PAGE ============ */
.services-hero .about-hero-bg {
  background: url('/banelectric/assets/services-hero.png') center/cover no-repeat;
}
.services-hero .about-hero-bg::after {
  background: rgba(15,26,50,0.55);
}
.about-hero .services-hero-title,
.services-hero-title {
  font-family: "Arial Black", "Montserrat", sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: none !important;
  font-size: clamp(3rem, 7.5vw, 7rem) !important;
  line-height: 1.05 !important;
  animation: fadeInUp 1.0s ease 2.0s forwards !important;
}
.services-hero .about-hero-lead {
  font-size: clamp(1.4rem, 2.6vw, 2.25rem);
  line-height: 1.45;
  max-width: 1100px;
  animation: fadeInUp 1.0s ease 2.6s forwards !important;
}
.services-hero .about-hero-tiles span {
  animation-duration: 1.88s !important;
}
.services-hero .about-hero-tiles span:nth-child(1)  { animation-delay: 0.00s !important; }
.services-hero .about-hero-tiles span:nth-child(2)  { animation-delay: 0.10s !important; }
.services-hero .about-hero-tiles span:nth-child(3)  { animation-delay: 0.20s !important; }
.services-hero .about-hero-tiles span:nth-child(4)  { animation-delay: 0.30s !important; }
.services-hero .about-hero-tiles span:nth-child(5)  { animation-delay: 0.40s !important; }
.services-hero .about-hero-tiles span:nth-child(6)  { animation-delay: 0.07s !important; }
.services-hero .about-hero-tiles span:nth-child(7)  { animation-delay: 0.17s !important; }
.services-hero .about-hero-tiles span:nth-child(8)  { animation-delay: 0.26s !important; }
.services-hero .about-hero-tiles span:nth-child(9)  { animation-delay: 0.36s !important; }
.services-hero .about-hero-tiles span:nth-child(10)  { animation-delay: 0.46s !important; }
.services-hero .about-hero-tiles span:nth-child(11)  { animation-delay: 0.13s !important; }
.services-hero .about-hero-tiles span:nth-child(12)  { animation-delay: 0.23s !important; }
.services-hero .about-hero-tiles span:nth-child(13)  { animation-delay: 0.33s !important; }
.services-hero .about-hero-tiles span:nth-child(14)  { animation-delay: 0.43s !important; }
.services-hero .about-hero-tiles span:nth-child(15)  { animation-delay: 0.53s !important; }
.services-hero .about-hero-tiles span:nth-child(16)  { animation-delay: 0.20s !important; }
.services-hero .about-hero-tiles span:nth-child(17)  { animation-delay: 0.30s !important; }
.services-hero .about-hero-tiles span:nth-child(18)  { animation-delay: 0.40s !important; }
.services-hero .about-hero-tiles span:nth-child(19)  { animation-delay: 0.50s !important; }
.services-hero .about-hero-tiles span:nth-child(20)  { animation-delay: 0.59s !important; }
.services-hero .about-hero-tiles span:nth-child(21)  { animation-delay: 0.26s !important; }
.services-hero .about-hero-tiles span:nth-child(22)  { animation-delay: 0.36s !important; }
.services-hero .about-hero-tiles span:nth-child(23)  { animation-delay: 0.46s !important; }
.services-hero .about-hero-tiles span:nth-child(24)  { animation-delay: 0.56s !important; }
.services-hero .about-hero-tiles span:nth-child(25)  { animation-delay: 0.66s !important; }

.services-lists {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem 6rem;
  background: url('/banelectric/assets/services-hero.png') center/cover no-repeat fixed;
}
.services-lists::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,26,50,0.78);
  z-index: 0;
}
.services-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.services-center-image {
  min-height: 380px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}
.services-lists .list-block h3 {
  color: #fff;
}
.services-lists .list-block li {
  color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(255,255,255,0.1);
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; gap: 2rem; }
  .services-center-image { min-height: 280px; order: -1; }
  .services-lists { background-attachment: scroll; }
}

.request-service-section {
  background: #0a0f1c;
  padding: 4rem 1.5rem 5rem;
  position: relative;
  z-index: 2;
}
.request-service-heading {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f4f6fa;
  text-align: center;
  margin: 0 auto 2.5rem;
}
.request-service-form {
  max-width: 720px;
  margin: 0 auto;
}
.request-service-form p { margin: 0 0 0.75rem; }
.request-service-form input[type="text"],
.request-service-form input[type="tel"],
.request-service-form input[type="email"],
.request-service-form textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid #1e293b;
  background: #0f1728;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1rem;
  color: #f4f6fa;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}
.request-service-form input:focus,
.request-service-form textarea:focus {
  border-color: #17c0c7;
  background: #121a2d;
}
.request-service-form textarea {
  resize: vertical;
  min-height: 150px;
}
.request-service-form ::placeholder {
  color: rgba(244,246,250,0.45);
  font-size: 0.95rem;
}
.btn-send {
  display: block;
  width: 100%;
  padding: 1.1rem 2rem;
  background: #ccff00;
  color: #0a0f1c;
  border: 2px solid #dfff66;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
  margin-top: 1rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 36px rgba(204, 255, 0, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.3);
}
.btn-send:hover {
  background: #dfff4d;
  border-color: #eeff99;
  box-shadow:
    0 0 48px rgba(204, 255, 0, 0.48),
    0 14px 36px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
  filter: saturate(1.05);
}

/* Careers — dark mode (match Contact Us form) */
body.page-careers { background: var(--bg) !important; color: var(--text) !important; }
body.page-careers .section { background: var(--bg) !important; }
body.page-careers .section-heading { color: #ccff00 !important; }

body.page-careers .contact-form {
  background: var(--card) !important;
  border-color: var(--border) !important;
}
body.page-careers .form-row label { color: #f4f6fa !important; }
body.page-careers .form-row input,
body.page-careers .form-row textarea,
body.page-careers .form-row select {
  background: #0a0f1c !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}
body.page-careers .form-row input:focus,
body.page-careers .form-row textarea:focus,
body.page-careers .form-row select:focus {
  outline-color: #ccff00 !important;
  background: #0a0f1c !important;
}
body.page-careers .form-row input[type="file"] {
  padding: 0.6rem 0.75rem;
  color: var(--text) !important;
}
body.page-careers .form-row input[type="file"]::file-selector-button {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-right: 1rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(204, 255, 0, 0.55);
  border-radius: 2px;
  background: rgba(6, 10, 20, 0.95);
  color: #ccff00;
  cursor: pointer;
}
body.page-careers .form-row input[type="file"]::-webkit-file-upload-button {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-right: 1rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(204, 255, 0, 0.55);
  border-radius: 2px;
  background: rgba(6, 10, 20, 0.95);
  color: #ccff00;
  cursor: pointer;
}
body.page-careers .form-row input[type="file"]::-webkit-file-upload-button:hover {
  background: rgba(204, 255, 0, 0.12);
  border-color: #ccff00;
}

body.page-careers .form-row input[type="file"]::file-selector-button:hover {
  background: rgba(204, 255, 0, 0.12);
  border-color: #ccff00;
}

body.page-careers .form-submit {
  background: #ccff00 !important;
  color: #0a0f1c !important;
  border: 2px solid #dfff66 !important;
  box-shadow: 0 0 32px rgba(204, 255, 0, 0.28), 0 8px 24px rgba(0, 0, 0, 0.28) !important;
  transition: background 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease, filter 0.2s ease !important;
}
body.page-careers .form-submit:hover {
  background: #dfff4d !important;
  border-color: #eeff99 !important;
  box-shadow: 0 0 48px rgba(204, 255, 0, 0.45), 0 12px 32px rgba(0, 0, 0, 0.32) !important;
  transform: translateY(-2px);
  filter: saturate(1.06);
}

/* Services page: list headers + list items -> yellow (hero stays white) */
.page-services .list-block h3,
.page-services .list-block li,
.page-services .services-lists .list-block h3,
.page-services .services-lists .list-block li { color: #ccff00 !important; }
.page-services .list-block h3 { border-bottom-color: #ccff00 !important; }
.page-services .list-block li::before { background: #ccff00 !important; }

/* Services lists -> yellow (force, escape any cascade) */
body.page-services .services-lists,
body.page-services .services-lists * { color: #ccff00 !important; }
body.page-services .services-lists .list-block h3 { color: #ccff00 !important; border-bottom-color: #ccff00 !important; }
body.page-services .services-lists .list-block li { color: #ccff00 !important; }
body.page-services .services-lists .list-block li::before { background: #ccff00 !important; }

/* Employee Forms — dark mode visibility */
.emp-forms-block h2 { color: #ccff00 !important; }
.emp-forms-block p,
.emp-forms-list,
.emp-forms-list li { color: var(--text) !important; }
.emp-forms-block a { color: #ccff00 !important; }
.emp-forms-block .btn-pill {
  color: #ccff00 !important;
  border-color: #ccff00 !important;
}
.emp-forms-block .btn-pill:hover {
  background: #ccff00 !important;
  color: #0f1a32 !important;
}

/* Blog page — dark mode visibility (post titles + read-more) */
.blog-post h2,
.blog-post h2 a { color: #ccff00 !important; }
.blog-post h2 a:hover { color: #fff !important; }
.blog-post .read-more { color: #ccff00 !important; border-bottom-color: #ccff00 !important; }
.blog-post .read-more:hover { color: #fff !important; }

/* About Us — restore dark mode (value cards + split sections) */
.value-card {
  background: var(--card) !important;
  border-color: var(--border) !important;
}
.value-card h3 { color: #ccff00 !important; }
.value-card p { color: var(--text) !important; }

.split-text {
  background: var(--bg) !important;
  color: var(--text) !important;
}
.split-text h2 { color: #ccff00 !important; }
.split-text p,
.split-text .mission-quote,
.split-text .checkbox-list li { color: var(--text) !important; }
.checkbox-list li::before { color: #ccff00 !important; }

/* Page-wide About Us dark backgrounds + section heading */
body.page-about-us { background: var(--bg) !important; color: var(--text) !important; }
body.page-about-us .section { background: var(--bg) !important; }
body.page-about-us .section-heading { color: #ccff00 !important; }

/* ============ CONTACT US — dark mode visibility ============ */
body.page-contact { background: var(--bg) !important; color: var(--text) !important; }
body.page-contact .section { background: var(--bg) !important; }
body.page-contact .contact-info h3 {
  color: #ccff00 !important;
  border-bottom-color: #ccff00 !important;
}
body.page-contact .contact-info p,
body.page-contact .contact-info { color: var(--text) !important; }
body.page-contact .contact-info a { color: #ccff00 !important; }
body.page-contact .contact-info a:hover { color: #fff !important; }
body.page-contact .team-list .person p:first-child { color: #f4f6fa !important; }
body.page-contact .team-list .person .role { color: #ccff00 !important; }
body.page-contact .team-list .person a { color: var(--text) !important; }
body.page-contact .team-list .person a:hover { color: #ccff00 !important; }

/* Contact form keeps white card, but make headings + labels readable */
body.page-contact .contact-form { background: var(--card) !important; border-color: var(--border) !important; }
body.page-contact .contact-form h3 {
  color: #ccff00 !important;
  border-bottom-color: #ccff00 !important;
}
body.page-contact .form-row label { color: #f4f6fa !important; }
body.page-contact .form-row input,
body.page-contact .form-row textarea,
body.page-contact .form-row select {
  background: #0a0f1c !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}
body.page-contact .form-row input:focus,
body.page-contact .form-row textarea:focus,
body.page-contact .form-row select:focus {
  outline-color: #ccff00 !important;
  background: #0a0f1c !important;
}
body.page-contact .form-submit {
  background: #ccff00 !important;
  color: #0a0f1c !important;
  border: 2px solid #dfff66 !important;
  box-shadow: 0 0 32px rgba(204, 255, 0, 0.28), 0 8px 24px rgba(0, 0, 0, 0.28) !important;
  transition: background 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease, filter 0.2s ease !important;
}
body.page-contact .form-submit:hover {
  background: #dfff4d !important;
  border-color: #eeff99 !important;
  box-shadow: 0 0 48px rgba(204, 255, 0, 0.45), 0 12px 32px rgba(0, 0, 0, 0.32) !important;
  transform: translateY(-2px);
  filter: saturate(1.06);
}

/* ============ PORTFOLIO — grid, cards, hover ============ */
body.page-portfolio { background: var(--bg) !important; color: var(--text) !important; }
body.page-portfolio .section { background: var(--bg) !important; }

.portfolio-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.portfolio-intro h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ccff00;
  margin-bottom: 0.85rem;
}
.portfolio-intro p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 960px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-card {
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: #ccff00;
  box-shadow: 0 12px 32px -8px rgba(204, 255, 0, 0.25);
}
.portfolio-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #0a0f1c;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-card-img { transform: scale(1.04); }
.portfolio-card-body { padding: 1.4rem 1.5rem 1.6rem; }
.portfolio-card-tag {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ccff00;
  margin-bottom: 0.6rem;
}
.portfolio-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #f4f6fa;
  margin-bottom: 0.55rem;
  line-height: 1.3;
}
.portfolio-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
}

.portfolio-cta {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.portfolio-cta p {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

/* ============ HOMEPAGE — STATS STRIP ============ */
.stats-strip {
  background: linear-gradient(180deg, #0a0f1c 0%, #0f1626 100%);
  border-top: 1px solid rgba(204, 255, 0, 0.08);
  border-bottom: 1px solid rgba(204, 255, 0, 0.08);
  padding: 4rem 0;
}
.stats-strip .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.stat {
  text-align: center;
  padding: 0 0.5rem;
}
.stat-number {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 4rem;
  color: #ccff00;
  line-height: 1;
  display: inline-block;
  letter-spacing: -0.02em;
}
.stat-suffix {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 4rem;
  color: #ccff00;
  line-height: 1;
  display: inline-block;
  letter-spacing: -0.02em;
}
.stat-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #f4f6fa;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.stat-label {
  margin-top: 0.85rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(204, 255, 0, 0.85);
}
.stat-divider {
  width: 1px;
  height: 88px;
  background: linear-gradient(180deg, transparent 0%, rgba(204, 255, 0, 0.25) 50%, transparent 100%);
}
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1rem;
  }
  .stat-divider { display: none; }
  .stat-number, .stat-suffix { font-size: 3rem; }
  .stat-text { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============ HOMEPAGE — FINAL CTA BAND ============ */
.home-cta {
  position: relative;
  padding: 5.5rem 0;
  background: #0a0f1c;
  overflow: hidden;
  border-top: 1px solid rgba(204, 255, 0, 0.08);
}
.home-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90vw;
  max-width: 800px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(204, 255, 0, 0.12) 0%, rgba(204, 255, 0, 0) 60%);
  pointer-events: none;
  z-index: -1;
}
.home-cta .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}
.home-cta-inner { text-align: center; }
.home-cta h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.2;
  color: #f4f6fa;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.home-cta p {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}
/* Facebook absolutely left (does not affect layout); buttons centered as before */
.home-cta-actions-wrap {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 7.75rem;
  padding: 0 max(1rem, env(safe-area-inset-left), env(safe-area-inset-right));
  box-sizing: border-box;
}
.home-cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.home-cta-actions-wrap .home-cta-facebook.social-link {
  position: absolute;
  left: max(0.5rem, calc(25% - 11rem));
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.btn-cta-primary {
  display: inline-block;
  background: #ccff00;
  color: #0a0f1c;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.2rem 2.85rem;
  text-decoration: none;
  border: 2px solid #dfff66;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.28s ease, transform 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 42px rgba(204, 255, 0, 0.48),
    0 12px 36px rgba(0, 0, 0, 0.38);
}
.btn-cta-primary:hover {
  background: #dfff4d;
  color: #050810;
  border-color: #eeff99;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 56px rgba(204, 255, 0, 0.62),
    0 16px 44px rgba(0, 0, 0, 0.42);
  transform: translateY(-3px) scale(1.02);
  filter: saturate(1.08);
}
.btn-cta-secondary {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 11.5rem;
  padding: 0.95rem 1.85rem;
  border: 2px solid rgba(204, 255, 0, 0.55);
  border-radius: 2px;
  background: rgba(6, 10, 20, 0.82);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.28s ease;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.btn-cta-secondary:hover {
  transform: translateY(-3px);
  border-color: #ccff00;
  background: rgba(204, 255, 0, 0.07);
  box-shadow:
    0 0 28px rgba(204, 255, 0, 0.18),
    0 10px 32px rgba(0, 0, 0, 0.4);
}
.btn-cta-secondary-label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(204, 255, 0, 0.85);
  margin-bottom: 0.35rem;
}
.btn-cta-secondary-num {
  font-family: "Montserrat", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #f4f6fa;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.btn-cta-secondary:hover .btn-cta-secondary-num { color: #eeff99; }
@media (max-width: 768px) {
  .home-cta-actions-wrap {
    width: 100%;
    left: auto;
    margin-left: 0;
    margin-right: 0;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .home-cta-actions-wrap .home-cta-facebook.social-link {
    position: static;
    transform: none;
    order: -1;
  }
  .home-cta-actions {
    flex-direction: column;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .home-cta { padding: 4rem 0; }
  .home-cta h2 { font-size: 1.8rem; }
  .home-cta p { font-size: 1rem; }
}

/* ============ LOGO — glow + hover + power-on flicker ============ */
.nav-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-logo img {
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 6px rgba(204, 255, 0, 0.0));
  transition: filter 0.35s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
  animation: logo-power-on 1.6s ease-out 1 both;
}
.nav-logo:hover img {
  filter: drop-shadow(0 0 14px rgba(204, 255, 0, 0.55)) drop-shadow(0 0 4px rgba(204, 255, 0, 0.35));
  transform: translateY(-1px) scale(1.03);
}
@keyframes logo-power-on {
  0%   { opacity: 0; filter: drop-shadow(0 0 0 rgba(204, 255, 0, 0)); }
  18%  { opacity: 0.4; }
  22%  { opacity: 0.05; }
  30%  { opacity: 0.85; filter: drop-shadow(0 0 18px rgba(204, 255, 0, 0.7)); }
  36%  { opacity: 0.2; }
  44%  { opacity: 1; filter: drop-shadow(0 0 22px rgba(204, 255, 0, 0.8)); }
  60%  { filter: drop-shadow(0 0 12px rgba(204, 255, 0, 0.4)); }
  100% { opacity: 1; filter: drop-shadow(0 0 6px rgba(204, 255, 0, 0.18)); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-logo img { animation: none; filter: drop-shadow(0 0 6px rgba(204, 255, 0, 0.18)); }
}

/* ============ HERO MOTION — homepage .hero ============ */
.hero { position: relative; overflow: hidden; }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
}
/* horizontal "current" line drifting across */
.hero::before {
  top: 38%;
  left: -30%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(204, 255, 0, 0) 0%,
    rgba(204, 255, 0, 0.8) 50%,
    rgba(204, 255, 0, 0) 100%);
  box-shadow: 0 0 12px rgba(204, 255, 0, 0.5);
  animation: hero-current 7s linear infinite;
  animation-delay: 1.2s;
  opacity: 0.85;
}
/* second current line, different timing/position */
.hero::after {
  top: 72%;
  left: -30%;
  width: 45%;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(204, 255, 0, 0) 0%,
    rgba(204, 255, 0, 0.6) 50%,
    rgba(204, 255, 0, 0) 100%);
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.35);
  animation: hero-current 9s linear infinite;
  animation-delay: 4s;
  opacity: 0.7;
}
@keyframes hero-current {
  0%   { transform: translateX(0); opacity: 0; }
  8%   { opacity: 0.9; }
  92%  { opacity: 0.9; }
  100% { transform: translateX(260vw); opacity: 0; }
}
/* hero-overlay gets sparks via pseudo-elements */
.hero-overlay { position: relative; }
.hero-overlay::before,
.hero-overlay::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ccff00;
  box-shadow: 0 0 10px 2px rgba(204, 255, 0, 0.7);
}
.hero-overlay::before {
  left: 18%;
  bottom: 0;
  animation: spark-rise 6s ease-in infinite;
  animation-delay: 0.8s;
}
.hero-overlay::after {
  left: 78%;
  bottom: 0;
  animation: spark-rise 8s ease-in infinite;
  animation-delay: 3.2s;
}
@keyframes spark-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  60%  { opacity: 0.8; }
  100% { transform: translateY(-110vh) translateX(40px); opacity: 0; }
}

/* ============ HERO MOTION — page-title (other pages) ============ */
.page-title { position: relative; overflow: hidden; }
.page-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -25%;
  width: 35%;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(204, 255, 0, 0) 0%,
    rgba(204, 255, 0, 0.55) 50%,
    rgba(204, 255, 0, 0) 100%);
  box-shadow: 0 0 8px rgba(204, 255, 0, 0.3);
  pointer-events: none;
  z-index: 2;
  animation: hero-current 11s linear infinite;
  animation-delay: 2s;
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after,
  .hero-overlay::before, .hero-overlay::after,
  .page-title::before { animation: none; opacity: 0; }
}

/* ============ CARD GLOW EXTENSION — value cards, blog posts, emp forms ============ */
.value-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: #ccff00 !important;
  box-shadow: 0 12px 32px -8px rgba(204, 255, 0, 0.28);
}

.blog-post {
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  border-left: 2px solid transparent;
}
.blog-post:hover {
  background: rgba(204, 255, 0, 0.025);
  box-shadow: 0 8px 24px -10px rgba(204, 255, 0, 0.2);
  border-left-color: #ccff00;
}
.blog-post-image {
  overflow: hidden;
  display: block;
}
.blog-post-image img {
  transition: transform 0.45s ease;
}
.blog-post:hover .blog-post-image img {
  transform: scale(1.03);
}

.emp-forms-block {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.emp-forms-block:hover {
  transform: translateY(-2px);
  border-color: rgba(204, 255, 0, 0.4) !important;
  box-shadow: 0 10px 28px -10px rgba(204, 255, 0, 0.22);
}

/* ============ LIGHTNING BOLTS — replace horizontal current lines ============ */
/* Disable previous horizontal lines */
.hero::before, .hero::after,
.page-title::before { content: none !important; animation: none !important; }

/* Make sure all hero containers can host absolute children */
.hero, .about-hero, .page-title { position: relative; }
.about-hero, .page-title { overflow: hidden; }

.hero-bolts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.hero-bolt {
  position: absolute;
  top: 0;
  fill: #ccff00;
  filter:
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.85))
    drop-shadow(0 0 14px rgba(204, 255, 0, 0.95))
    drop-shadow(0 0 28px rgba(204, 255, 0, 0.55));
  opacity: 0;
  will-change: opacity, transform;
}
.hero-bolt-1 { left: 14%; width: 56px; height: 55%; animation: bolt-flash 7s infinite; animation-delay: 0.8s; }
.hero-bolt-2 { right: 22%; width: 64px; height: 65%; animation: bolt-flash 9s infinite; animation-delay: 3.6s; }
.hero-bolt-3 { left: 62%; width: 44px; height: 42%; animation: bolt-flash 11s infinite; animation-delay: 6.4s; }

/* Smaller heroes get tighter bolts */
.page-title .hero-bolt-1 { width: 36px; height: 70%; }
.page-title .hero-bolt-2 { width: 42px; height: 78%; }
.page-title .hero-bolt-3 { width: 30px; height: 58%; }

/* The flash itself — long dark, short multi-stage flicker */
@keyframes bolt-flash {
  0%, 87%, 100%      { opacity: 0; }
  88%                { opacity: 0.95; }
  88.5%              { opacity: 0.1; }
  89%                { opacity: 1; }
  89.5%              { opacity: 0.35; }
  90%                { opacity: 1; }
  90.8%              { opacity: 0.55; }
  91.5%              { opacity: 0.95; }
  92.5%              { opacity: 0.2; }
  93.5%              { opacity: 0; }
}

/* Optional: fade the whole hero very briefly during a flash for a "lit by lightning" feel */
.hero::after,
.about-hero::after,
.page-title::after {
  content: "" !important;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(204, 255, 0, 0.12) 0%, rgba(204, 255, 0, 0) 65%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: hero-flash-light 7s infinite;
  animation-delay: 0.85s;
}
@keyframes hero-flash-light {
  0%, 87%, 100% { opacity: 0; }
  88% { opacity: 0.6; }
  89% { opacity: 0; }
  90% { opacity: 0.8; }
  91% { opacity: 0.2; }
  92% { opacity: 0.5; }
  93% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  /* Only strip small page-title bolts; keep hero / about / services bolt-flash (matches desktop) */
  .page-title .hero-bolt {
    animation: none !important;
    opacity: 0;
  }
  .hero::after, .about-hero::after, .page-title::after { animation: none !important; opacity: 0; }
}

/* ============ BOLT TUNING — white/blue, longer, more frequent + footer ============ */
.hero-bolt {
  fill: #ffffff !important;
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 1))
    drop-shadow(0 0 8px rgba(220, 240, 255, 0.95))
    drop-shadow(0 0 22px rgba(150, 200, 255, 0.9))
    drop-shadow(0 0 42px rgba(100, 170, 255, 0.55)) !important;
}

/* Big heroes (homepage + about + services) — full-height bolts, fast cycles, first flash within ~0.2s */
.hero .hero-bolt-1,
.about-hero .hero-bolt-1 {
  left: 13%; width: 36px; height: 95%;
  animation: bolt-flash 5s infinite;
  animation-delay: -4.4s;
}
.hero .hero-bolt-2,
.about-hero .hero-bolt-2 {
  right: 22%; width: 42px; height: 92%;
  animation: bolt-flash 6s infinite;
  animation-delay: 2s;
}
.hero .hero-bolt-3,
.about-hero .hero-bolt-3 {
  left: 62%; width: 30px; height: 88%;
  animation: bolt-flash 8s infinite;
  animation-delay: 4s;
}

/* Page-title heroes (smaller) */
.page-title .hero-bolt-1 {
  left: 10%; width: 24px; height: 92%;
  animation: bolt-flash 4.5s infinite;
  animation-delay: -3.9s;
}
.page-title .hero-bolt-2 {
  right: 14%; width: 28px; height: 95%;
  animation: bolt-flash 5.5s infinite;
  animation-delay: 1.5s;
}
.page-title .hero-bolt-3 {
  left: 56%; width: 22px; height: 88%;
  animation: bolt-flash 7s infinite;
  animation-delay: 3.5s;
}

/* Override the radial flash overlay to blue-white */
.hero::after,
.about-hero::after,
.page-title::after {
  background: radial-gradient(ellipse at center, rgba(180, 220, 255, 0.22) 0%, rgba(180, 220, 255, 0) 65%) !important;
  animation: hero-flash-light 5s infinite !important;
  animation-delay: -4.35s !important;
}

/* ============ FOOTER BOLTS — small, edges only, no text overlap ============ */
footer {
  position: relative;
  overflow: hidden;
}
footer::before,
footer::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  width: 22px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 1))
    drop-shadow(0 0 7px rgba(220, 240, 255, 0.9))
    drop-shadow(0 0 16px rgba(150, 200, 255, 0.8))
    drop-shadow(0 0 28px rgba(100, 170, 255, 0.4));
  opacity: 0;
  z-index: 5;
}
footer::before {
  left: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 200' preserveAspectRatio='none'><path d='M30,0 L24,80 L32,80 L20,200 L36,75 L28,75 Z' fill='white'/></svg>");
  animation: bolt-flash 6s infinite;
  animation-delay: 1.2s;
}
footer::after {
  right: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 200' preserveAspectRatio='none'><path d='M30,0 L22,75 L28,75 L18,160 L22,160 L16,200 L36,155 L26,155 L34,70 L26,70 Z' fill='white'/></svg>");
  animation: bolt-flash 8s infinite;
  animation-delay: 4.2s;
}
@media (max-width: 600px) {
  /* On narrow screens, footer columns stack — push bolts further to true edges */
  footer::before { left: 4px; width: 16px; }
  footer::after { right: 4px; width: 16px; }
}
/* ============ BRANCHED BOLT STYLE — stroked paths instead of filled ============ */
.hero-bolt path {
  fill: none !important;
  stroke: #ffffff !important;
  stroke-width: 2 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

/* Slightly reduce hero-bolt widths since branches now extend the visual footprint */
.hero .hero-bolt-1, .about-hero .hero-bolt-1 { width: 60px; }
.hero .hero-bolt-2, .about-hero .hero-bolt-2 { width: 70px; }
.hero .hero-bolt-3, .about-hero .hero-bolt-3 { width: 50px; }
.page-title .hero-bolt-1 { width: 38px; }
.page-title .hero-bolt-2 { width: 44px; }
.page-title .hero-bolt-3 { width: 34px; }

/* Update footer bolts to use branched stroked SVGs */
footer::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 200' preserveAspectRatio='none'><path d='M16,0 L13,16 L18,32 L12,52 L17,72 L11,94 L16,116 L10,138 L15,160 L9,182 L14,200 M18,32 L24,38 L28,42 M11,94 L6,100 L2,106 M16,116 L22,122 L26,128' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
  width: 36px !important;
  left: 6px !important;
}
footer::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 200' preserveAspectRatio='none'><path d='M14,0 L18,18 L12,40 L17,62 L11,86 L16,110 L10,134 L15,158 L9,182 L14,200 M12,40 L6,46 L2,52 M17,62 L23,68 L28,72 M10,134 L4,140 L2,148' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
  width: 36px !important;
  right: 6px !important;
}

/* ============ MIXED ORIENTATION BOLTS — bolt 2 diagonal, bolt 3 horizontal ============ */
/* HOMEPAGE + ABOUT-HERO (tall heroes) */
.hero .hero-bolt-1, .about-hero .hero-bolt-1 {
  top: 0; left: 8%; width: 65px; height: 95%;
}
.hero .hero-bolt-2, .about-hero .hero-bolt-2 {
  /* DIAGONAL bolt — wider+shorter, top-mid */
  top: 6%; left: 26%; width: 320px; height: 70%;
}
.hero .hero-bolt-3, .about-hero .hero-bolt-3 {
  /* HORIZONTAL bolt — very wide, sits across mid-hero */
  top: 42%; right: 5%; left: auto; width: 60%; height: 130px;
}

/* PAGE-TITLE (shorter heroes) */
.page-title .hero-bolt-1 {
  top: 0; left: 6%; width: 38px; height: 92%;
}
.page-title .hero-bolt-2 {
  top: 5%; left: 26%; width: 200px; height: 80%;
}
.page-title .hero-bolt-3 {
  top: 30%; right: 4%; left: auto; width: 45%; height: 70px;
}

/* ============ FLASH 2X LONGER + ADD BOLTS TO STATS + CTA ============ */
/* Stretch the flash window from ~5.5% to ~11% of cycle (lasts twice as long) */
@keyframes bolt-flash {
  0%, 82%, 100% { opacity: 0; }
  83%   { opacity: 0.95; }
  84%   { opacity: 0.1; }
  85%   { opacity: 1; }
  86%   { opacity: 0.35; }
  87%   { opacity: 1; }
  88.5% { opacity: 0.55; }
  90%   { opacity: 0.95; }
  92%   { opacity: 0.2; }
  93.5% { opacity: 0; }
}

@keyframes bolt-flash-section {
  0%, 65%, 100% { opacity: 0; }
  68%   { opacity: 0.85; }
  70%   { opacity: 0.12; }
  72%   { opacity: 1; }
  74%   { opacity: 0.35; }
  76%   { opacity: 0.95; }
  78.5% { opacity: 0.5; }
  81%   { opacity: 0.9; }
  84%   { opacity: 0.18; }
  87%   { opacity: 0; }
}
@keyframes hero-flash-light {
  0%, 82%, 100% { opacity: 0; }
  83% { opacity: 0.6; }
  85% { opacity: 0; }
  87% { opacity: 0.8; }
  89% { opacity: 0.2; }
  91% { opacity: 0.5; }
  93% { opacity: 0; }
}

/* Stats strip — bolts on left and right edges (outside the column content) */
body.page-home .stats-strip { position: relative; overflow: hidden; }
body.page-home .stats-strip::before,
body.page-home .stats-strip::after {
  content: "";
  position: absolute;
  top: 4%; bottom: 4%;
  width: 28px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 1))
    drop-shadow(0 0 7px rgba(220, 240, 255, 0.9))
    drop-shadow(0 0 16px rgba(150, 200, 255, 0.8))
    drop-shadow(0 0 28px rgba(100, 170, 255, 0.4));
  opacity: 0;
  z-index: 5;
}
body.page-home .stats-strip::before {
  left: 6px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 200' preserveAspectRatio='none'><path d='M16,0 L13,16 L18,32 L12,52 L17,72 L11,94 L16,116 L10,138 L15,160 L9,182 L14,200 M18,32 L24,38 L28,42 M11,94 L6,100 L2,106 M16,116 L22,122 L26,128' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  animation: bolt-flash-section 5.5s infinite;
  animation-delay: 0.6s;
}
body.page-home .stats-strip::after {
  right: 6px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 200' preserveAspectRatio='none'><path d='M14,0 L18,18 L12,40 L17,62 L11,86 L16,110 L10,134 L15,158 L9,182 L14,200 M12,40 L6,46 L2,52 M17,62 L23,68 L28,72 M10,134 L4,140 L2,148' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  animation: bolt-flash-section 7s infinite;
  animation-delay: 3s;
}

/* Home CTA band — bolts on left and right, plus a wide horizontal one across the top */
body.page-home .home-cta::before,
body.page-home .home-cta::after {
  content: "";
  position: absolute;
  top: 8%; bottom: 8%;
  width: 28px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 1))
    drop-shadow(0 0 7px rgba(220, 240, 255, 0.9))
    drop-shadow(0 0 16px rgba(150, 200, 255, 0.8))
    drop-shadow(0 0 28px rgba(100, 170, 255, 0.4));
  opacity: 0;
  z-index: 2;
}
body.page-home .home-cta::before {
  left: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 200' preserveAspectRatio='none'><path d='M14,0 L18,18 L12,40 L17,62 L11,86 L16,110 L10,134 L15,158 L9,182 L14,200 M12,40 L6,46 L2,52 M17,62 L23,68 L28,72 M10,134 L4,140 L2,148' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  animation: bolt-flash-section 6s infinite;
  animation-delay: 1.5s;
}
body.page-home .home-cta::after {
  right: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 200' preserveAspectRatio='none'><path d='M16,0 L13,16 L18,32 L12,52 L17,72 L11,94 L16,116 L10,138 L15,160 L9,182 L14,200 M18,32 L24,38 L28,42 M11,94 L6,100 L2,106 M16,116 L22,122 L26,128' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  animation: bolt-flash-section 8s infinite;
  animation-delay: 4s;
}

/* Homepage footer — same scroll-visible flash as stats / CTA */
body.page-home footer::before {
  animation: bolt-flash-section 6s infinite;
  animation-delay: 1.2s;
}
body.page-home footer::after {
  animation: bolt-flash-section 8s infinite;
  animation-delay: 4.2s;
}

/* ============ LIGHTNING REMOVED — bolts + flash off on all pages ============ */
/* Hero SVG bolts (HTML div) — div removed from index.html; kept here for any leftover markup */
.hero-bolts,
.hero-bolt {
  display: none !important;
}
/* Pseudo-element bolts (footer / stats / CTA) + radial "lit by lightning" flash overlays */
.hero::after,
.about-hero::after,
.page-title::after,
footer::before,
footer::after,
.stats-strip::before,
.stats-strip::after,
.home-cta::before,
.home-cta::after {
  display: none !important;
  content: none !important;
  animation: none !important;
  opacity: 0 !important;
}


/* ============ HOMEPAGE HERO BOLTS — mobile visibility ============ */
@media (max-width: 768px) {
  body.page-home .hero-bolts {
    z-index: 3;
  }
  body.page-home .hero-inner {
    position: relative;
    z-index: 4;
  }
  body.page-home .hero .hero-bolt {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* iOS: heavy stacked drop-shadows can fail to paint; keep two strong glows */
    filter:
      drop-shadow(0 0 3px rgba(255, 255, 255, 1))
      drop-shadow(0 0 16px rgba(180, 220, 255, 0.9)) !important;
  }
  /* Shorter cycles so flashes are easier to catch on a small screen */
  body.page-home .hero .hero-bolt-1 {
    animation-duration: 3s !important;
  }
  body.page-home .hero .hero-bolt-2 {
    animation-duration: 3.5s !important;
  }
  body.page-home .hero .hero-bolt-3 {
    animation-duration: 4.25s !important;
  }
  body.page-about-us .about-hero .hero-bolt,
  body.page-services .about-hero .hero-bolt {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    filter:
      drop-shadow(0 0 3px rgba(255, 255, 255, 1))
      drop-shadow(0 0 16px rgba(180, 220, 255, 0.9)) !important;
  }
  body.page-about-us .about-hero .hero-bolt-1,
  body.page-services .about-hero .hero-bolt-1 {
    animation-duration: 3s !important;
  }
  body.page-about-us .about-hero .hero-bolt-2,
  body.page-services .about-hero .hero-bolt-2 {
    animation-duration: 3.5s !important;
  }
  body.page-about-us .about-hero .hero-bolt-3,
  body.page-services .about-hero .hero-bolt-3 {
    animation-duration: 4.25s !important;
  }
}

/* ============ SCROLL REVEALS (slide in from sides) ============ */
.reveal,
.reveal-card {
  opacity: 0;
  transition: opacity 0.78s cubic-bezier(0.16, 0.82, 0.32, 1),
    transform 0.78s cubic-bezier(0.16, 0.82, 0.32, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  will-change: opacity, transform;
}
.reveal.reveal--from-left,
.reveal-card.reveal--from-left {
  transform: translate3d(clamp(-72px, -6vw, -40px), 0, 0);
}
.reveal.reveal--from-right,
.reveal-card.reveal--from-right {
  transform: translate3d(clamp(40px, 6vw, 72px), 0, 0);
}
.reveal.is-visible,
.reveal-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) !important;
  will-change: auto;
}
/* Scroll reveals run regardless of Reduce Motion (intentional, per request) */

/* ============ SUBTLE CIRCUIT PATTERN BACKGROUND ============ */
html { background-color: var(--bg); }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><g stroke='%23ccff00' stroke-width='0.6' fill='none' opacity='0.5'><path d='M0,32 H160 M0,96 H160 M32,0 V160 M96,0 V160'/><path d='M32,32 L48,32 L48,48 L80,48 L80,32 L96,32'/><path d='M32,96 L64,96 L64,112 L96,112'/><path d='M64,48 L64,80 L80,80 L80,96'/><path d='M48,128 L64,128 L64,144 L96,144'/></g><g fill='%23ccff00' opacity='0.55'><circle cx='32' cy='32' r='1.6'/><circle cx='96' cy='32' r='1.6'/><circle cx='32' cy='96' r='1.6'/><circle cx='96' cy='96' r='1.6'/><circle cx='48' cy='32' r='1'/><circle cx='80' cy='32' r='1'/><circle cx='64' cy='48' r='1'/><circle cx='80' cy='48' r='1'/><circle cx='64' cy='80' r='1'/><circle cx='80' cy='96' r='1'/><circle cx='64' cy='112' r='1'/><circle cx='96' cy='112' r='1'/><circle cx='64' cy='128' r='1'/><circle cx='96' cy='144' r='1'/></g></svg>");
  background-repeat: repeat;
  opacity: 0.04;
}

/* ============ SERVICES LISTS — card grid styling ============ */
.services-lists .list-block ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 1rem 0 0 !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
@media (max-width: 600px) {
  .services-lists .list-block ul { grid-template-columns: 1fr; }
}
.services-lists .list-block li {
  position: relative;
  padding: 0.85rem 1.1rem 0.85rem 2.5rem !important;
  background: rgba(204, 255, 0, 0.04);
  border: 1px solid rgba(204, 255, 0, 0.18);
  border-left-width: 3px;
  font-size: 0.93rem !important;
  line-height: 1.4;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  color: var(--text);
}
.services-lists .list-block li::before {
  content: "" !important;
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ccff00'><path d='M13 2 L4 14 L11 14 L9 22 L20 8 L13 8 Z'/></svg>") no-repeat center;
  background-size: contain;
  margin: 0;
  border: none !important;
  padding: 0 !important;
}
.services-lists .list-block li:hover {
  background: rgba(204, 255, 0, 0.1);
  border-color: rgba(204, 255, 0, 0.55);
  transform: translateX(3px);
  box-shadow: 0 6px 18px -10px rgba(204, 255, 0, 0.3);
}
.services-lists .list-block h3 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid rgba(204, 255, 0, 0.5);
}
body.page-services .services-lists .list-block h3 { color: #ccff00 !important; border-bottom-color: rgba(204, 255, 0, 0.5) !important; }

/* ============ VALUE CARDS UPGRADE ============ */
.value-card {
  position: relative;
  padding: 2.4rem 1.75rem 2rem !important;
  background: linear-gradient(180deg, rgba(204, 255, 0, 0.04) 0%, var(--card) 60%) !important;
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #ccff00 50%, transparent 100%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.value-card:hover::before { opacity: 1; }
.value-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: rgba(204, 255, 0, 0.08);
  border: 1px solid rgba(204, 255, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccff00;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease;
}
.value-card .icon svg {
  width: 30px;
  height: 30px;
}
.value-card:hover .icon {
  transform: scale(1.08) rotate(-3deg);
  background: rgba(204, 255, 0, 0.18);
  box-shadow: 0 0 24px rgba(204, 255, 0, 0.45);
}
.value-card h3 {
  font-size: 1.25rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 1rem !important;
  text-align: center;
}
.value-card p { text-align: center; line-height: 1.65; }

/* ============ VISUAL PASS 2: a11y, nav, typography, lightbox, mobile CTA ============ */

/* Skip link */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  padding: 0.65rem 1.1rem;
  background: #ccff00;
  color: #0a0f1c !important;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  outline: 3px solid #fff;
  outline-offset: 2px;
  transform: translateY(0);
}

/* Mobile drawer backdrop */
.nav-drawer-backdrop {
  display: none;
}
body.nav-drawer-open .nav-drawer-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(4, 8, 18, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* Sticky header on scroll */
header.header--fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
header.header--fixed .nav-wrap {
  background: rgba(10, 15, 28, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(204, 255, 0, 0.14);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Desktop nav link underline */
@media (min-width: 901px) {
  .nav-links > li > a:not(.nav-cta) {
    position: relative;
  }
  .nav-links > li > a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.2rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ccff00, transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
  }
  .nav-links > li > a:not(.nav-cta):hover::after,
  .nav-links > li > a:not(.nav-cta).active::after,
  .nav-links > li > a:not(.nav-cta):focus-visible::after {
    transform: scaleX(1);
  }
}

/* Hamburger → X */
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-links.open {
    z-index: 101;
    border-left: 3px solid rgba(204, 255, 0, 0.65);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
  }
  header.header--fixed .nav-links {
    top: 72px;
    height: calc(100vh - 72px);
  }
}

/* Focus-visible (sitewide) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.portfolio-card:focus-visible {
  outline: 2px solid #ccff00;
  outline-offset: 3px;
}
.btn-send:active,
.btn-pill:active,
.btn-outline:active,
.btn-gold:active,
.btn-cta-primary:active,
.btn-cta-secondary:active,
.mobile-cta-bar__btn:active {
  transform: scale(0.98);
}

/* Forms: align focus ring with brand */
.form-row input:focus-visible,
.form-row textarea:focus-visible,
.form-row select:focus-visible,
.request-service-form input:focus-visible,
.request-service-form textarea:focus-visible {
  outline: 2px solid #ccff00;
  outline-offset: 2px;
}

/* Typography rhythm */
.split-text p,
.split-text .mission-quote,
.split-text .checkbox-list li {
  max-width: 58ch;
}
.portfolio-intro p,
.section-desc {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.split-text h2,
.section-heading {
  letter-spacing: 0.04em;
}
.section {
  padding: clamp(3.25rem, 6vw, 5rem) clamp(1rem, 4vw, 1.5rem);
}
.split-text p {
  line-height: 1.75;
}

/* Mobile quick CTA bar */
.mobile-cta-bar {
  display: none;
}
@media (max-width: 768px) {
  html:not(.mobile-cta-dismissed) body {
    padding-bottom: 4.5rem;
  }
  html:not(.mobile-cta-dismissed) .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 95;
    align-items: stretch;
    gap: 0;
    padding: 0.55rem 0.65rem;
    padding-bottom: max(0.55rem, env(safe-area-inset-bottom));
    background: rgba(10, 15, 28, 0.96);
    border-top: 1px solid rgba(204, 255, 0, 0.22);
    box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}
.mobile-cta-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 0.5rem;
  border: 1px solid rgba(204, 255, 0, 0.35);
  margin: 0 0.25rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.mobile-cta-bar__btn--call {
  background: transparent;
  color: #f4f6fa;
}
.mobile-cta-bar__btn--call:hover {
  border-color: #ccff00;
  color: #ccff00;
}
.mobile-cta-bar__btn--req {
  background: #ccff00;
  color: #0a0f1c;
  border-color: #ccff00;
}
.mobile-cta-bar__btn--req:hover {
  filter: brightness(1.06);
}
.mobile-cta-bar__close {
  flex: 0 0 auto;
  width: 2.5rem;
  margin-left: 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.mobile-cta-bar__close:hover {
  color: #fff;
  border-color: rgba(204, 255, 0, 0.4);
}

/* Portfolio lightbox */
.portfolio-lightbox {
  border: none;
  padding: 0;
  max-width: min(920px, 96vw);
  width: 100%;
  background: transparent;
  color: var(--text);
}
.portfolio-lightbox::backdrop {
  background: rgba(4, 8, 18, 0.88);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.portfolio-lightbox__panel {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(204, 255, 0, 0.28);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}
.portfolio-lightbox__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 15, 28, 0.85);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.portfolio-lightbox__close:hover {
  border-color: #ccff00;
  color: #ccff00;
}
.portfolio-lightbox__media img {
  width: 100%;
  display: block;
  max-height: min(52vh, 520px);
  object-fit: cover;
  background: #060a18;
}
.portfolio-lightbox__meta {
  padding: 1.35rem 1.5rem 1.6rem;
}
.portfolio-lightbox__tag {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ccff00;
  margin-bottom: 0.5rem;
}
.portfolio-lightbox__meta h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: #f4f6fa;
  margin-bottom: 0.65rem;
}
.portfolio-lightbox__meta p {
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--text);
}

.portfolio-card[role="button"] {
  cursor: pointer;
}
.portfolio-card[role="button"]:hover {
  cursor: pointer;
}

/* Reduce decorative motion (bolts, etc.) */
@media (prefers-reduced-motion: reduce) {
  .nav-logo img {
    animation: none !important;
  }
}

/* About Us: "View Our Work" pill — neon yellow (not navy/blue on dark) */
body.page-about-us .split-text .btn-pill {
  border-color: #ccff00 !important;
  color: #ccff00 !important;
  background: transparent !important;
}
body.page-about-us .split-text .btn-pill:hover {
  background: #ccff00 !important;
  border-color: #ccff00 !important;
  color: #0a0f1c !important;
}

/* CTA recipe: hero + portfolio outline buttons on dark */
.hero .btn-outline {
  border-color: #ccff00 !important;
  color: #f6ffcc !important;
  box-shadow: 0 0 36px rgba(204, 255, 0, 0.28), 0 8px 28px rgba(0, 0, 0, 0.25);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.28s ease, transform 0.2s ease !important;
}
.hero .btn-outline:hover {
  background: #ccff00 !important;
  color: #0a0f1c !important;
  border-color: #eeff99 !important;
  box-shadow: 0 0 52px rgba(204, 255, 0, 0.5), 0 12px 36px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

body.page-portfolio .portfolio-cta .btn-outline {
  border-color: rgba(204, 255, 0, 0.85) !important;
  color: #ccff00 !important;
  background: rgba(6, 10, 20, 0.55) !important;
  box-shadow: 0 0 28px rgba(204, 255, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease !important;
}
body.page-portfolio .portfolio-cta .btn-outline:hover {
  background: #ccff00 !important;
  color: #0a0f1c !important;
  border-color: #dfff66 !important;
  box-shadow: 0 0 44px rgba(204, 255, 0, 0.42), 0 12px 32px rgba(0, 0, 0, 0.32);
  transform: translateY(-2px);
}

/* Slightly bolder compact / auxiliary copy (small sizes) */
.services-lists .list-block li,
.portfolio-card p,
.value-card p,
.blog-post p,
.footer-about p,
.footer-copy,
.site-footer-simple,
.form-row label,
.team-list .person .role,
.request-service-form ::placeholder,
.portfolio-lightbox__meta p,
.hero-tagline {
  font-weight: 500;
}

/* Home CTA: circular Facebook blue (footer style), larger */
.home-cta .home-cta-facebook.social-link {
  width: 7rem;
  height: 7rem;
  min-width: 7rem;
  min-height: 7rem;
  flex-shrink: 0;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.38);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.home-cta-actions-wrap .home-cta-facebook.social-link:hover {
  opacity: 0.95;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
@media (max-width: 768px) {
  .home-cta-actions-wrap .home-cta-facebook.social-link:hover {
    transform: scale(1.06);
  }
}
.home-cta .home-cta-facebook.social-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

/* ============ FORM STATUS MESSAGES (AJAX submit feedback) ============ */
.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0.75rem 1rem;
  border-left: 3px solid transparent;
}
.form-status:empty {
  display: none;
}
.form-status--ok {
  color: #176a3a;
  background: rgba(23, 106, 58, 0.08);
  border-left-color: #176a3a;
}
.form-status--err {
  color: #9a2020;
  background: rgba(154, 32, 32, 0.08);
  border-left-color: #9a2020;
}

/* ============ BLOG ARTICLE (single post) ============ */
.blog-article { max-width: 800px; margin: 0 auto; }
.blog-article .post-meta {
  text-align: center; color: var(--text-muted); font-size: 0.85rem;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 2rem;
}
.blog-article p {
  font-size: 1.05rem; line-height: 1.8; color: var(--text);
  font-weight: 300; margin-bottom: 1.5rem;
}
.blog-article a { color: #2a6f97; text-decoration: underline; }
.blog-article a:hover { color: var(--gold); }
.blog-article figure { margin: 2rem 0; }
.blog-article figure img { width: 100%; height: auto; display: block; border-radius: 8px; }
.blog-article figcaption {
  text-align: center; font-size: 0.85rem; color: var(--text-muted);
  font-style: italic; margin-top: 0.6rem;
}
.blog-article ol { margin: 1rem 0 1.5rem; padding-left: 1.5rem; }
.blog-article ol > li {
  font-size: 1.05rem; line-height: 1.7; color: var(--text);
  font-weight: 400; margin-bottom: 0.85rem;
}
.blog-article ol ul { margin: 0.6rem 0; padding-left: 1.25rem; list-style: disc; }
.blog-article ol ul li { font-weight: 300; margin-bottom: 0.5rem; }
.blog-article .back-blog { text-align: center; margin-top: 2.5rem; }

/* Share row at the bottom-left of a post — gray icons, light-blue separators */
.post-share { display: flex; align-items: center; margin: 2rem 0 0; }
.post-share a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; color: #9aa7b4;
  border-left: 2px solid #cfe0f0;
  transition: color 0.2s ease;
}
.post-share a:last-child { border-right: 2px solid #cfe0f0; }
.post-share a:hover { color: var(--navy); }
.post-share svg { width: 18px; height: 18px; fill: currentColor; }

/* Photo gallery inside a blog post — masonry (CSS columns) so each photo
   displays at its natural aspect ratio, no cropping. Hover scales the image
   inside its clipped frame (no layout shift). */
.blog-gallery {
  column-count: 4;
  column-gap: 10px;
  margin: 2rem 0;
}
.blog-gallery .gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  margin: 0 0 10px;
  break-inside: avoid;
}
.blog-gallery .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.blog-gallery .gallery-item:hover img { transform: scale(1.05); }

/* employee-forms list links — clear button-like hover affordance */
.emp-forms-list a {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  margin: -0.35rem -0.6rem;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.emp-forms-list a:hover {
  background: rgba(31, 45, 74, 0.08);
  color: var(--gold);
  text-decoration: none;
  transform: translateX(3px);
}

/* Simple footer NAP (name/address/phone) — SEO + always-visible contact */
.footer-info { display: flex; flex-direction: column; gap: 3px; }
.footer-nap {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  font-style: normal; /* override <address> italic default */
}
.footer-nap a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.footer-nap a:hover { color: var(--gold); }
@media (max-width: 600px) {
  .footer-nap { font-size: 0.75rem; text-align: center; }
}
@media (max-width: 900px) {
  .blog-gallery { column-count: 3; }
}
@media (max-width: 600px) {
  .blog-gallery { column-count: 2; column-gap: 8px; }
  .blog-gallery .gallery-item { margin-bottom: 8px; }
}
