/* =================================================================
   Voltline — Electrician Demo
   Inspired-by Electria. Standalone (no Tailwind, no shared deps).
   ================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Backgrounds (dark) */
  --bg: #0c0d10;
  --bg-2: #131418;
  --bg-3: #1a1c22;
  --bg-4: #22252d;

  /* Surfaces (light) */
  --paper: #f5f4f0;
  --paper-2: #e9e7df;

  /* Text */
  --text: #f5f4f0;
  --text-2: #d4d3cd;
  --text-3: #b6b5b0;
  --text-4: #7d7d78;
  --text-5: #535350;

  /* Lines */
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.04);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Brand — electric yellow */
  --volt: #FFC633;
  --volt-2: #FFD466;
  --volt-3: #DEA102;
  --volt-glow: rgba(255, 198, 51, 0.45);

  /* Type */
  --ff-display: "Space Grotesk", system-ui, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ff-body: "Inter", system-ui, sans-serif;

  /* Spacing */
  --max: 1280px;
  --pad-x: clamp(20px, 4vw, 64px);
  --section-y: clamp(80px, 9vw, 128px);

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--volt); color: var(--bg);
  padding: 10px 16px; border-radius: 0 0 12px 0;
  font-weight: 600;
  z-index: 100;
}
.skip:focus { left: 0; }

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

/* ---------- 3. Type system ---------- */
.display {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
.display em {
  font-style: normal;
  color: var(--volt);
  font-weight: 500;
  position: relative;
  display: inline-block;
}
.display em::before {
  content: "";
  position: absolute;
  inset: -2px -6px;
  background: var(--volt);
  opacity: 0.08;
  border-radius: 6px;
  z-index: -1;
}
.display--md {
  font-size: clamp(30px, 4.6vw, 60px);
  letter-spacing: -0.03em;
}
.lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--text-3);
  max-width: 56ch;
  margin: 24px 0 0;
}
.mono {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-4);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.02);
}
.eyebrow__dot {
  width: 6px; height: 6px;
  background: var(--volt);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--volt-glow);
}
.eyebrow--volt {
  color: var(--volt-2);
  border-color: rgba(255, 198, 51, 0.32);
  background: rgba(255, 198, 51, 0.06);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn--lg { height: 56px; padding: 0 28px; font-size: 15.5px; }
.btn--volt {
  background: var(--volt);
  color: var(--bg);
  box-shadow: 0 0 0 0 rgba(255, 198, 51, 0);
}
.btn--volt:hover {
  background: var(--volt-2);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -10px rgba(255, 198, 51, 0.55);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--volt); color: var(--volt-2); }

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--volt);
}
.dot--pulse {
  box-shadow: 0 0 0 0 rgba(255, 198, 51, 0.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 198, 51, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(255, 198, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 198, 51, 0); }
}

/* ---------- 5. Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 13, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled {
  border-color: var(--line);
  background: rgba(12, 13, 16, 0.92);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand__mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--volt);
  color: var(--bg);
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 0 24px -6px var(--volt-glow);
}
.brand--lg { font-size: 30px; gap: 12px; }
.brand--lg .brand__mark { width: 48px; height: 48px; }

.nav__links {
  justify-self: center;
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: var(--r-pill);
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__links a:hover { color: var(--text); background: var(--bg-3); }

.nav__cta { display: flex; gap: 14px; align-items: center; }
.nav__phone {
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: color 0.3s var(--ease);
}
.nav__phone:hover { color: var(--volt-2); }

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; gap: 12px; }
  .nav__cta .btn { padding: 0 14px; height: 42px; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 88px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__bg::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(255,198,51,0.10) 0%, rgba(255,198,51,0) 60%);
  filter: blur(40px);
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.4) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.4) 100%);
}
.hero__grid {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
}
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__copy .display { margin-top: 24px; }
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 56px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 12px;
  color: var(--text-4);
}
.hero__trust strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 36px;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.hero__media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
}
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  left: 18px; bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(12, 13, 16, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--text);
  font-size: 13px;
}
.hero__badge .mono {
  display: block;
  font-size: 10px;
  color: var(--text-4);
  margin-bottom: 2px;
}
.hero__badge strong {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 500;
}
.hero__badge-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 14px var(--volt-glow);
  animation: pulse 2s ease-out infinite;
}
.hero__pulse-tag {
  position: absolute;
  right: 18px; top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(12, 13, 16, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--text-2);
  font-size: 10.5px;
}

/* ---------- 7. Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  padding: 22px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: scroll-left 38s linear infinite;
}
.marquee__set {
  display: flex; align-items: center;
  padding-right: 32px;
}
.marquee__item {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  color: var(--text);
  padding: 0 32px;
}
.marquee__sep {
  color: var(--volt);
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.6vw, 30px);
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 8. Section heads ---------- */
.section-head {
  max-width: 60ch;
  padding-bottom: clamp(28px, 4vw, 56px);
}
.section-head .display { margin-top: 16px; }
.section-head__lede {
  margin-top: 18px;
  color: var(--text-3);
  font-size: 16px;
  max-width: 52ch;
}
.section-head--center {
  margin: 0 auto;
  text-align: center;
  max-width: 56ch;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.section-head--center .eyebrow { display: inline-flex; }
.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(32px, 4vw, 56px);
}
.section-head--narrow { max-width: 36ch; padding-bottom: 0; }
@media (max-width: 780px) {
  .section-head--row { flex-direction: column; align-items: flex-start; }
}

/* ---------- 9. Services ---------- */
.services {
  padding: var(--section-y) 0;
}
.services__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services__grid { grid-template-columns: 1fr; } }

.service {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 14px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.service:hover { border-color: rgba(255, 198, 51, 0.35); transform: translateY(-3px); background: var(--bg-3); }
.service__img {
  aspect-ratio: 16/10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-3);
  position: relative;
}
.service__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.service:hover .service__img img { transform: scale(1.05); }
.service__body { padding: 4px 14px 18px; display: grid; gap: 12px; }
.service__num { color: var(--volt); font-size: 11px; }
.service h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
.service p {
  color: var(--text-3);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}
.service__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--volt-2);
  margin-top: 8px;
  transition: gap 0.3s var(--ease);
}
.service:hover .service__cta { gap: 12px; }

.service--featured { background: var(--volt); border-color: var(--volt); }
.service--featured:hover { background: var(--volt-2); border-color: var(--volt-2); }
.service--featured .service__num,
.service--featured h3,
.service--featured p,
.service--featured .service__cta { color: var(--bg); }
.service--featured .service__num { opacity: 0.65; }
.service--featured p { opacity: 0.78; }
.service--featured .service__img { background: rgba(0,0,0,0.2); }

/* ---------- 10. About ---------- */
.about {
  padding: var(--section-y) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 980px) { .about__inner { grid-template-columns: 1fr; } }

.about__media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-3);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__stat {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  padding: 22px 24px;
  background: rgba(12, 13, 16, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  display: flex; align-items: baseline; gap: 16px;
}
.about__stat-num {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 44px;
  color: var(--volt);
  line-height: 1;
  letter-spacing: -0.03em;
}

.rules {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
}
.rules li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.rules__num {
  color: var(--volt);
  font-size: 13px;
  letter-spacing: 0.1em;
  padding-top: 4px;
}
.rules h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--text);
}
.rules p { color: var(--text-3); margin: 0; font-size: 15px; }

/* ---------- 11. Work ---------- */
.work {
  padding: var(--section-y) 0;
}
.work__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 24px;
}
@media (max-width: 980px) { .work__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .work__grid { grid-template-columns: 1fr; } }

.work__card { display: grid; gap: 18px; }
.work__card--lg { grid-row: span 2; }
.work__img {
  aspect-ratio: 4/3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-3);
}
.work__card--lg .work__img { aspect-ratio: 4/5; }
@media (max-width: 980px) {
  .work__card--lg { grid-row: auto; }
  .work__card--lg .work__img { aspect-ratio: 4/3; }
}
.work__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.work__card:hover .work__img img { transform: scale(1.05); }
.work__meta { display: grid; gap: 10px; }
.work__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.work__meta h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
  line-height: 1.15;
}
.work__meta p { margin: 0; }

.tag {
  display: inline-block;
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  color: var(--volt-2);
  font-size: 10px;
  letter-spacing: 0.1em;
  width: max-content;
}

/* ---------- 12. Process ---------- */
.process {
  padding: var(--section-y) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.process__list {
  max-width: var(--max);
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 0 var(--pad-x);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .process__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process__list { grid-template-columns: 1fr; } }

.process__list li {
  padding: 28px 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  gap: 18px;
  align-content: start;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.process__list li:hover { border-color: var(--volt); transform: translateY(-3px); }
.process__num {
  font-family: var(--ff-display);
  font-size: 56px;
  font-weight: 500;
  color: var(--volt);
  line-height: 1;
  letter-spacing: -0.04em;
}
.process__list h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
.process__list p {
  color: var(--text-3);
  font-size: 14px;
  margin: 0;
  line-height: 1.55;
}

/* ---------- 13. Testimonials ---------- */
.quotes {
  padding: var(--section-y) 0;
}
.quotes .section-head,
.quotes__grid {
  max-width: var(--max);
  margin-left: auto; margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .quotes__grid { grid-template-columns: 1fr; } }

.quote {
  margin: 0;
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  display: grid;
  gap: 24px;
}
.quote__stars {
  color: var(--volt);
  font-size: 16px;
  letter-spacing: 0.2em;
}
.quote blockquote {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text);
}
.quote--volt { background: var(--volt); border-color: var(--volt); color: var(--bg); }
.quote--volt blockquote { color: var(--bg); }
.quote--volt .quote__stars { color: var(--bg); }
.quote--volt .mono { color: rgba(0,0,0,0.55); }
.quote--volt figcaption strong { color: var(--bg); }
.quote figcaption {
  display: flex; align-items: center; gap: 14px;
  margin-top: auto;
}
.quote figcaption img {
  width: 44px; height: 44px;
  border-radius: 50%; object-fit: cover;
}
.quote figcaption strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
}

/* ---------- 14. Stats band ---------- */
.stats {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 780px) { .stats__inner { grid-template-columns: repeat(2, 1fr); } }
.stats__item {
  display: grid;
  gap: 12px;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.stats__item:last-child { border-right: 0; }
@media (max-width: 780px) {
  .stats__item:nth-child(2) { border-right: 0; }
}
.stats__item strong {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(42px, 4.6vw, 64px);
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* ---------- 15. Blog ---------- */
.blog {
  padding: var(--section-y) 0;
}
.blog__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .blog__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog__grid { grid-template-columns: 1fr; } }

.post {
  display: grid;
  gap: 16px;
  cursor: pointer;
}
.post__img {
  aspect-ratio: 4/3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-3);
}
.post__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.post:hover .post__img img { transform: scale(1.05); }
.post__meta { margin-top: 4px; }
.post h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
  line-height: 1.25;
  transition: color 0.3s var(--ease);
}
.post:hover h3 { color: var(--volt-2); }
.post__link {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-4);
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.post:hover .post__link { color: var(--volt-2); gap: 12px; }

/* ---------- 16. FAQ ---------- */
.faq {
  padding: var(--section-y) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 980px) { .faq__grid { grid-template-columns: 1fr; } }

.faq__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.faq__list details {
  border-bottom: 1px solid var(--line);
  padding: 20px 4px;
  transition: padding 0.3s var(--ease);
}
.faq__list summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 20px);
  letter-spacing: -0.01em;
  color: var(--text);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--volt);
  border-radius: 1px;
  top: 50%; left: 50%;
  transition: transform 0.3s var(--ease);
}
.faq__icon::before {
  width: 14px; height: 2px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 2px; height: 14px;
  transform: translate(-50%, -50%);
}
.faq__list details[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq__list p {
  margin: 14px 0 6px;
  color: var(--text-3);
  font-size: 15px;
  line-height: 1.6;
  max-width: 56ch;
}

/* ---------- 17. CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(80px, 10vw, 140px) 0;
}
.cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.cta__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,13,16,0.55) 0%, rgba(12,13,16,0.92) 100%);
  z-index: -1;
}
.cta__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
}
.cta .display { margin-top: 16px; }
.cta p {
  margin: 22px auto 0;
  color: var(--text-2);
  max-width: 52ch;
  font-size: 17px;
}
.cta__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0 32px;
}
.cta__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta__list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-3);
  font-size: 11px;
}
.cta__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--volt);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--volt-glow);
}

/* ---------- 18. Footer ---------- */
.footer {
  background: var(--bg);
  padding: clamp(64px, 7vw, 96px) 0 24px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(40px, 5vw, 80px);
}
@media (max-width: 780px) { .footer__inner { grid-template-columns: 1fr; } }

.footer__brand p {
  color: var(--text-3);
  margin: 16px 0 24px;
  max-width: 38ch;
  font-size: 15px;
  line-height: 1.55;
}
.footer__certs {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.footer__cert {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 10px;
  color: var(--text-3);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 600px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__cols h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-4);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer__cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer__cols a {
  color: var(--text-2);
  font-size: 14.5px;
  transition: color 0.3s var(--ease);
}
.footer__cols a:hover { color: var(--volt-2); }

.footer__bar {
  max-width: var(--max);
  margin: 64px auto 0;
  padding: 24px var(--pad-x) 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-4);
}
