/* ============ Bull Power Solutions ============ */

:root {
  --bg: #0f1013;
  --surface: #16181d;
  --surface-2: #1c1f25;
  --line: #262a31;
  --line-soft: #1f2228;
  --text: #f4f4f1;
  --muted: #9ba1ab;
  --volt: #38bdf8;
  --volt-dim: #1e6f9e;
  --volt-glow: rgba(56, 189, 248, 0.14);
  --ink: #131418;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "Archivo", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--volt); color: var(--ink); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.05; letter-spacing: -0.01em; }
h1, h2 { font-family: "Archivo Black", "Archivo", sans-serif; font-weight: 400; }

svg { display: block; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 2px;
}

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: 600 1rem "Archivo", sans-serif;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:active { transform: translateY(1px) scale(0.98); }
.btn svg { width: 18px; height: 18px; }

.btn-volt { background: var(--volt); color: var(--ink); }
.btn-volt:hover {
  background: #5ecdfc;
  box-shadow: 0 6px 24px var(--volt-glow);
  transform: translateY(-1px);
}

.btn-ghost { border-color: #3a3f47; color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--volt); color: var(--volt); }

.btn-block { width: 100%; justify-content: center; }

/* ============ Nav ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 16, 19, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--volt);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px var(--volt-glow);
}
.brand-mark svg { width: 21px; height: 21px; }

.brand-name {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-sub {
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { padding: 11px 20px; font-size: 0.95rem; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease;
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--line-soft);
  background: rgba(15, 16, 19, 0.97);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 10px 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.nav-mobile .btn { justify-content: center; margin-top: 8px; }

/* ============ Hero ============ */

.hero {
  position: relative;
  padding: 80px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, var(--volt-glow), transparent 62%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -300px;
  left: -240px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.05), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--volt);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--volt);
}

.hero h1 {
  font-size: clamp(2.8rem, 5.8vw, 4.6rem);
  margin-bottom: 22px;
}
.hero h1 .hl { color: var(--volt); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ Photos ============ */

.hero-photo {
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: block;
}

/* ============ Work ============ */

.work { padding: 0 0 112px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.work-card:hover { transform: translateY(-4px); border-color: #3d4350; }

.work-card > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  display: block;
}

.work-pair { grid-column: span 2; }

.pair-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pair-half img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  display: block;
}
.pair-label {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--volt);
}

.work-wide { grid-column: span 2; }
.work-wide > img { aspect-ratio: 2 / 1; }

.work-caption {
  margin-top: 12px;
  padding: 0 4px 4px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ============ Marquee ============ */

.marquee {
  border-block: 1px solid var(--line-soft);
  padding: 20px 0;
  overflow: hidden;
  background: var(--surface);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
}

.marquee-track > span {
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px #4a505a;
  white-space: nowrap;
}

.marquee-track > svg {
  width: 15px;
  height: 15px;
  color: var(--volt);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 30s linear infinite; }
  @keyframes marquee {
    to { transform: translateX(-50%); }
  }
}

/* ============ Sections shared ============ */

.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ============ Services ============ */

.services { padding: 96px 0 104px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: #3d4350;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.service-card svg {
  width: 26px;
  height: 26px;
  margin-bottom: 18px;
  color: var(--volt);
}
.service-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 0.95rem; }

.service-card.card-volt {
  grid-column: span 2;
  grid-row: span 2;
  padding: 36px 34px;
  background:
    radial-gradient(120% 130% at 85% 0%, rgba(56, 189, 248, 0.22), transparent 55%),
    linear-gradient(160deg, #0f1e28, var(--surface));
  border-color: #14384d;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.card-volt::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--volt-glow), transparent 65%);
  pointer-events: none;
}
.card-volt:hover { border-color: #1e567a; box-shadow: 0 16px 48px rgba(56, 189, 248, 0.08); }
.card-volt svg { width: 36px; height: 36px; }
.card-volt h3 { font-family: "Archivo Black", "Archivo", sans-serif; font-weight: 400; font-size: 1.55rem; }
.card-volt p { max-width: 44ch; }

.service-card.card-coal {
  background: var(--volt);
  border-color: var(--volt);
}
.card-coal svg { color: var(--ink); }
.card-coal h3 { color: var(--ink); }
.card-coal p { color: #0d3a50; }
.card-coal:hover { box-shadow: 0 16px 40px var(--volt-glow); border-color: #5ecdfc; }

/* ============ About ============ */

.about { padding: 0 0 112px; }

.about-inner { max-width: 70ch; }

.about-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 22px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; max-width: 52ch; }
.about-copy .btn { margin-top: 14px; }

/* ============ Coverage ============ */

.coverage { padding: 0 0 112px; }

.coverage-inner {
  position: relative;
  background:
    radial-gradient(90% 120% at 50% -20%, rgba(56, 189, 248, 0.10), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  overflow: hidden;
}

.coverage-pin {
  width: 34px;
  height: 34px;
  margin: 0 auto 20px;
  color: var(--volt);
}

.coverage h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 16px; }
.coverage p { color: var(--muted); max-width: 52ch; margin: 0 auto 30px; }

.area-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.area-list li {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.area-list li:hover { border-color: var(--volt-dim); }
.area-list li:last-child {
  background: rgba(56, 189, 248, 0.09);
  border-color: #14435c;
  color: var(--volt);
  font-weight: 600;
}

/* ============ Contact ============ */

.contact {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  padding: 104px 0 0;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -260px;
  left: -180px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08), transparent 62%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  padding-bottom: 104px;
}

.contact-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 18px; }
.contact-copy > p { color: var(--muted); max-width: 44ch; margin-bottom: 38px; }

.contact-details { display: flex; flex-direction: column; gap: 18px; }

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  width: fit-content;
  transition: color 0.2s ease;
}
.contact-line:hover { color: var(--volt); }
.contact-line svg { width: 20px; height: 20px; color: var(--volt); }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.field-row { display: flex; gap: 16px; }

.field label { font-size: 0.9rem; font-weight: 600; color: var(--text); }

.field input,
.field textarea {
  background: var(--surface);
  border: 1px solid #343943;
  border-radius: calc(var(--radius) - 4px);
  padding: 13px 14px;
  color: var(--text);
  font: 400 1rem "Archivo", sans-serif;
  transition: border-color 0.2s ease;
  resize: vertical;
}
.field input::placeholder { color: #6b717c; }
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--volt);
  outline-offset: 1px;
  border-color: var(--volt);
}

.field.invalid input,
.field.invalid textarea { border-color: #e0704f; }
.field-error { color: #f0937a; font-size: 0.85rem; }

.form-note { font-size: 0.95rem; color: var(--volt); }

/* ============ Footer ============ */

.footer { border-top: 1px solid var(--line-soft); padding: 30px 0; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}
.brand-mini svg { width: 18px; height: 18px; color: var(--volt); }

.footer-meta { color: var(--muted); font-size: 0.9rem; }

/* ============ Legal page ============ */

.legal-inner { max-width: 70ch; padding-top: 64px; padding-bottom: 96px; }

.legal h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 10px; }

.legal-updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 36px; }

.legal h2 { font-size: 1.35rem; margin: 36px 0 12px; }

.legal p { color: var(--muted); margin-bottom: 14px; }

.legal a { color: var(--volt); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: #5ecdfc; }

.footer-meta a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-meta a:hover { color: var(--text); }

/* ============ Reveal animation ============ */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.in { opacity: 1; transform: none; }
  .delay-1 { transition-delay: 0.08s; }
  .delay-2 { transition-delay: 0.16s; }
  .delay-3 { transition-delay: 0.24s; }
}

/* ============ Responsive ============ */

@media (max-width: 900px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card.card-volt { grid-row: auto; grid-column: span 2; }
  .service-card.card-coal { grid-column: span 2; }
  .work-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-inner { height: 64px; }
  html { scroll-padding-top: 76px; }

  .hero { padding: 52px 0 64px; }
  .services { padding: 64px 0 80px; }
  .about, .coverage { padding-bottom: 80px; }
  .contact { padding-top: 72px; }
  .contact-grid { padding-bottom: 72px; }

  .service-grid { grid-template-columns: 1fr; }
  .service-card.card-volt { grid-column: auto; grid-row: auto; }
  .service-card.card-coal { grid-column: auto; }
  .work-grid { grid-template-columns: 1fr; }
  .work-pair, .work-wide { grid-column: auto; }
  .work-wide > img { aspect-ratio: 4 / 3; }
  .work { padding-bottom: 80px; }
  .field-row { flex-direction: column; gap: 20px; }
  .contact-form { padding: 24px 20px; }
}
