/* ============================================================
 * /gas-suppression/ — scoped landing-page styles
 *
 * Loaded only when is_page('gas-suppression').
 * Inherits :root variables from style.css.
 * ============================================================ */

:root {
  --gas-red: var(--c4-red, #E82429);
  --gas-yellow: var(--c4-yellow, #FFC200);
  --gas-green: #14C77B;
  --gas-cyan: #2BB6E5;
  --gas-amber: #FF8E1A;
  --gas-elev: #16161A;
  --gas-elev-2: #1F1F24;
  --gas-line: #2A2A30;
  --gas-line-soft: rgba(255,255,255,0.07);
}

.gas-page {
  background: var(--c4-black);
  color: var(--c4-white);
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}

/* Reveal animations are namespaced (.gas-reveal) so the theme's GSAP
   scroll-animations.js leaves them alone — no double-tween jank, hover
   transforms work correctly. Single lightweight CSS transition driven
   by IntersectionObserver in page-gas-suppression.js. */
.gas-reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.55s var(--ease-out) var(--reveal-delay, 0s),
    transform 0.55s var(--ease-out) var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.gas-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* No-JS / reduced-motion fallback */
@media (prefers-reduced-motion: reduce) {
  .gas-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.no-js .gas-reveal {
  opacity: 1;
  transform: none;
}

/* Skip render work for sections way below the fold until they near the viewport.
   Cuts paint and main-thread work on first scroll. */
.gas-page > .gas-process,
.gas-page > .gas-sectors,
.gas-page > .gas-coverage,
.gas-page > .gas-why,
.gas-page > .gas-faq,
.gas-page > .gas-quote {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

/* Make sure cards composite on their own GPU layer so hover transforms don't repaint siblings. */
.gas-stat,
.gas-agent,
.gas-pillar,
.gas-sector,
.gas-why__card {
  contain: layout paint;
}

.gas-page .container--narrow {
  max-width: 880px;
}

/* ============================================================
 * HERO
 * ============================================================ */
.gas-hero {
  position: relative;
  min-height: clamp(620px, 90vh, 880px);
  display: flex;
  align-items: center;
  padding-block: clamp(6rem, 12vh, 9rem) clamp(3rem, 6vh, 5rem);
  isolation: isolate;
}

.gas-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.gas-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.42) saturate(1.1) contrast(1.05);
  transform: scale(1.05);
}

.gas-hero__bg-grad {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(232, 36, 41, 0.28), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(255, 194, 0, 0.10), transparent 50%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.85) 75%, var(--c4-black) 100%);
}

.gas-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.gas-hero__copy {
  max-width: 720px;
  min-width: 0;
}

.gas-hero__eyebrow {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gas-yellow);
  background: rgba(255, 194, 0, 0.10);
  border: 1px solid rgba(255, 194, 0, 0.30);
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.gas-hero__headline {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.gas-hero__line {
  display: block;
}

.gas-hero__line--accent {
  color: var(--gas-red);
  text-shadow: 0 0 60px rgba(232, 36, 41, 0.45);
}

.gas-hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 2.25rem;
}

.gas-hero__sub strong {
  color: var(--c4-white);
  font-weight: 600;
}

.gas-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.gas-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: center;
}

.gas-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.gas-hero__trust li svg {
  width: 14px;
  height: 14px;
  color: var(--gas-yellow);
  flex-shrink: 0;
}

/* Right-side discharge timeline panel */
.gas-hero__panel {
  position: relative;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(20,20,24,0.92) 0%, rgba(10,10,12,0.96) 100%);
  border: 1px solid var(--gas-line);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.6rem;
  /* Lighter blur — still gives the glass effect, much cheaper on weak GPUs. */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,0.7);
}

.gas-hero__panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(232,36,41,0.45), rgba(255,194,0,0.20) 50%, transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.gas-hero__panel-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gas-red);
  margin-bottom: 1rem;
}

.gas-hero__timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0;
}

.gas-hero__timeline li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.92rem;
  padding: 0.45rem 0.6rem;
  border-radius: 4px;
  border-left: 2px solid var(--gas-line);
  color: rgba(255,255,255,0.7);
  transition: all 0.3s var(--ease-out);
}

.gas-hero__timeline li.gas-hero__t-active {
  background: rgba(232,36,41,0.10);
  border-left-color: var(--gas-red);
  color: var(--c4-white);
}

.gas-hero__t-time {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gas-yellow);
  font-variant-numeric: tabular-nums;
}

.gas-hero__t-active .gas-hero__t-time {
  color: var(--gas-red);
}

.gas-hero__t-event {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
}

.gas-hero__panel-foot {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  border-top: 1px solid var(--gas-line);
  padding-top: 0.85rem;
}

/* ============================================================
 * THE 10 SECOND WINDOW (stats)
 * ============================================================ */
.gas-pain {
  background: var(--c4-black);
  position: relative;
}

.gas-pain__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-xl);
}

.gas-pain__head h2 {
  margin-block: 0.5rem 1rem;
}

.gas-pain__head p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.gas-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gas-stat {
  position: relative;
  padding: 2.25rem 2rem 2rem;
  background: linear-gradient(180deg, var(--gas-elev) 0%, #0E0E11 100%);
  border: 1px solid var(--gas-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease;
}

.gas-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gas-red), transparent 90%);
}

.gas-stat--yellow::before {
  background: linear-gradient(90deg, var(--gas-yellow), transparent 90%);
}

.gas-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(232,36,41,0.35);
}

.gas-stat__value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--c4-white);
  margin-bottom: 0.5rem;
}

.gas-stat--yellow .gas-stat__value {
  color: var(--gas-yellow);
}

.gas-stat__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c4-red);
  margin-bottom: 1rem;
}

.gas-stat--yellow .gas-stat__label {
  color: var(--gas-yellow);
}

.gas-stat__copy {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
 * AGENTS GRID
 * ============================================================ */
.gas-agents__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.gas-agent {
  --agent-color: var(--gas-red);
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  background: linear-gradient(180deg, var(--gas-elev) 0%, var(--gas-elev-2) 100%);
  border: 1px solid var(--gas-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease;
}

.gas-agent--red    { --agent-color: #E82429; }
.gas-agent--green  { --agent-color: #14C77B; }
.gas-agent--cyan   { --agent-color: #2BB6E5; }
.gas-agent--amber  { --agent-color: #FF8E1A; }

.gas-agent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--agent-color), transparent);
}

.gas-agent:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--agent-color) 40%, transparent);
  box-shadow: 0 24px 60px -30px color-mix(in srgb, var(--agent-color) 50%, transparent);
}

.gas-agent__pulse {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--agent-color) 22%, transparent) 0%, transparent 70%);
  pointer-events: none;
  transition: transform 0.6s var(--ease-out);
}

.gas-agent:hover .gas-agent__pulse {
  transform: scale(1.4);
}

.gas-agent__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gas-line-soft);
  margin-bottom: 1.25rem;
}

.gas-agent__num {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.gas-agent__name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c4-white);
  margin: 0;
}

.gas-agent__sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--agent-color);
  margin-top: 0.15rem;
}

.gas-agent__body {
  margin: 0;
}

.gas-agent__body dt {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.gas-agent__body dt:not(:first-child) {
  margin-top: 1rem;
}

.gas-agent__body dd {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

.gas-agents__note {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-muted);
  padding: 1.5rem 1.5rem;
  background: rgba(255,255,255,0.02);
  border-left: 3px solid var(--gas-red);
  border-radius: 4px;
}

.gas-agents__note strong {
  color: var(--c4-white);
}

/* ============================================================
 * PILLARS
 * ============================================================ */
.gas-pillars__head {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.gas-pillars__head h2 {
  margin-top: 0.5rem;
}

.gas-pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gas-pillar {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  background: var(--gas-elev);
  border: 1px solid var(--gas-line);
  border-radius: var(--radius-md);
  text-align: center;
}

.gas-pillar__num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--gas-yellow);
  background: rgba(255, 194, 0, 0.10);
  border: 1px solid rgba(255, 194, 0, 0.30);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  line-height: 46px;
  margin-bottom: 1.25rem;
}

.gas-pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--c4-white);
}

.gas-pillar p {
  font-size: 0.97rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* ============================================================
 * PROCESS
 * ============================================================ */
.gas-process__list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 880px;
  margin-inline: auto;
}

.gas-process__list::before {
  content: "";
  position: absolute;
  left: 30px;
  /* Start at vertical centre of first number circle (padding-block 1.5rem + half of 60px circle = 54px),
     end at vertical centre of last circle (same offset from bottom). */
  top: calc(1.5rem + 30px);
  bottom: calc(1.5rem + 30px);
  width: 2px;
  background: linear-gradient(180deg, var(--gas-red) 0%, var(--gas-yellow) 100%);
  opacity: 0.4;
}

.gas-process__step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding-block: 1.5rem;
  position: relative;
}

.gas-process__num {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--c4-white);
  background: var(--c4-red);
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  /* Single shadow + solid ring is cheaper to paint than a stacked shadow chain. */
  box-shadow: 0 0 0 4px var(--c4-black);
}

.gas-process__body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--c4-white);
}

.gas-process__body p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* ============================================================
 * SECTORS
 * ============================================================ */
.gas-sectors__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin-inline: auto;
}

.gas-sector {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 2rem 1rem;
  background: var(--gas-elev);
  border: 1px solid var(--gas-line);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  width: 100%;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, background 0.3s ease;
}

.gas-sector:hover,
.gas-sector:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(232,36,41,0.5);
  background: linear-gradient(180deg, var(--gas-elev) 0%, #1B1B22 100%);
  outline: none;
}

.gas-sector:focus-visible {
  box-shadow: 0 0 0 2px rgba(232,36,41,0.4);
}

.gas-sector__more {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(232, 36, 41, 0.10);
  color: var(--gas-red);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
}

.gas-sector:hover .gas-sector__more,
.gas-sector:focus-visible .gas-sector__more {
  opacity: 1;
  transform: scale(1);
}

.gas-sector__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(232, 36, 41, 0.08);
  border: 1px solid rgba(232, 36, 41, 0.25);
  color: var(--gas-red);
}

.gas-sector__icon svg {
  width: 26px;
  height: 26px;
}

.gas-sector__label {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c4-white);
}

/* ============================================================
 * COVERAGE MAP
 * ============================================================ */
.gas-coverage__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.gas-coverage__copy h2 {
  margin-block: 0.5rem 1rem;
}

.gas-coverage__copy > p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.gas-coverage__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.25rem;
  padding: 0;
  margin: 0 0 2rem;
}

.gas-coverage__list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.94rem;
  color: rgba(255,255,255,0.78);
}

.gas-coverage__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--gas-red);
  border-radius: 50%;
}

.gas-coverage__map {
  background: var(--gas-elev);
  border: 1px solid var(--gas-line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.gas-coverage__map svg {
  width: 100%;
  height: auto;
}

/* ============================================================
 * WHY C4
 * ============================================================ */
.gas-why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.gas-why__card {
  padding: 2rem 1.75rem 1.75rem;
  background: linear-gradient(180deg, var(--gas-elev) 0%, #0E0E11 100%);
  border: 1px solid var(--gas-line);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
}

.gas-why__card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,194,0,0.30);
}

.gas-why__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--gas-yellow);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.gas-why__card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c4-white);
  margin-bottom: 0.6rem;
}

.gas-why__card p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin: 0;
}

/* ============================================================
 * FAQ
 * ============================================================ */
.gas-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gas-faq__item {
  background: var(--gas-elev);
  border: 1px solid var(--gas-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.gas-faq__item[open] {
  border-color: rgba(232,36,41,0.35);
}

.gas-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c4-white);
  list-style: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gas-faq__item summary::-webkit-details-marker {
  display: none;
}

.gas-faq__item summary:hover {
  background: rgba(232,36,41,0.05);
}

.gas-faq__chev {
  flex-shrink: 0;
  color: var(--gas-red);
  transition: transform 0.3s var(--ease-out);
}

.gas-faq__item[open] .gas-faq__chev {
  transform: rotate(180deg);
}

.gas-faq__answer {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--gas-line-soft);
}

.gas-faq__answer p {
  margin: 1.25rem 0 0;
  font-size: 0.97rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}

/* ============================================================
 * QUOTE / CTA
 * ============================================================ */
.gas-quote {
  position: relative;
  background: var(--c4-black);
}

.gas-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(232,36,41,0.18), transparent 50%),
    radial-gradient(ellipse at 90% 90%, rgba(255,194,0,0.10), transparent 50%);
  pointer-events: none;
}

.gas-quote__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.gas-quote__copy h2 {
  margin-block: 0.5rem 1rem;
}

.gas-quote__copy > p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.gas-quote__points {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 0 0 2rem;
}

.gas-quote__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.97rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}

.gas-quote__points li svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gas-yellow);
  margin-top: 1px;
}

.gas-quote__direct {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--gas-elev);
  border: 1px solid var(--gas-line);
  border-radius: var(--radius-md);
}

.gas-quote__direct a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.5rem 0.25rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.gas-quote__direct a:hover {
  background: rgba(232,36,41,0.06);
}

.gas-quote__direct span {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gas-red);
}

.gas-quote__direct strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c4-white);
  letter-spacing: -0.01em;
  word-break: break-word;
}

.gas-quote__form {
  position: sticky;
  top: 110px;
  padding: 2rem;
  background: linear-gradient(180deg, var(--gas-elev) 0%, var(--gas-elev-2) 100%);
  border: 1px solid var(--gas-line);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}

.gas-quote__form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c4-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.gas-quote__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.gas-quote__field {
  display: block;
  margin-bottom: 0.85rem;
}

.gas-quote__field span {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.gas-quote__field input,
.gas-quote__field select,
.gas-quote__field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--gas-line);
  border-radius: var(--radius-sm);
  color: var(--c4-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.gas-quote__field input::placeholder,
.gas-quote__field textarea::placeholder {
  color: rgba(255,255,255,0.30);
}

.gas-quote__field input:focus,
.gas-quote__field select:focus,
.gas-quote__field textarea:focus {
  outline: none;
  border-color: var(--gas-red);
  background: rgba(0,0,0,0.55);
}

.gas-quote__field textarea {
  resize: vertical;
  min-height: 80px;
}

.gas-quote__submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.gas-quote__form-foot {
  margin: 1rem 0 0;
  font-size: 0.83rem;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}

.gas-quote__form-msg {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  text-align: center;
  min-height: 1.4em;
}

.gas-quote__form-msg.is-success {
  color: var(--gas-yellow);
  font-weight: 600;
}

.gas-quote__form-msg.is-error {
  color: var(--gas-red);
  font-weight: 600;
}

.gas-sectors__hint {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================================
 * SECTOR MODAL
 * ============================================================ */
.gas-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), visibility 0s linear 0.3s;
}

.gas-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s var(--ease-out), visibility 0s linear 0s;
}

.gas-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(232,36,41,0.18), transparent 55%),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.gas-modal__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  padding: 2rem 2rem 1.75rem;
  background: linear-gradient(180deg, #16161A 0%, #1F1F24 100%);
  border: 1px solid var(--gas-line);
  border-radius: var(--radius-lg);
  box-shadow:
    0 60px 120px -40px rgba(0,0,0,0.8),
    0 0 0 1px rgba(232,36,41,0.06);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s var(--ease-out);
}

.gas-modal.is-open .gas-modal__panel {
  transform: translateY(0) scale(1);
}

.gas-modal__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gas-red), var(--gas-yellow) 70%, transparent);
  border-radius: 2px;
}

.gas-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--gas-line);
  border-radius: 50%;
  color: var(--c4-white);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out);
}

.gas-modal__close:hover {
  background: rgba(232,36,41,0.15);
  border-color: var(--gas-red);
  transform: rotate(90deg);
}

.gas-modal__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--gas-line-soft);
}

.gas-modal__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(232, 36, 41, 0.10);
  border: 1px solid rgba(232, 36, 41, 0.30);
  color: var(--gas-red);
}

.gas-modal__icon svg {
  width: 28px;
  height: 28px;
}

.gas-modal__eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gas-yellow);
  margin-bottom: 0.3rem;
}

.gas-modal__title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c4-white);
  margin: 0 0 0.35rem;
}

.gas-modal__tagline {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.45;
}

.gas-modal__intro {
  margin: 0 0 1.5rem;
  font-size: 0.97rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
}

.gas-modal__section {
  margin-bottom: 1.25rem;
}

.gas-modal__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gas-red);
  margin-bottom: 0.6rem;
}

.gas-modal__agents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gas-modal__agents li {
  padding: 0.35rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c4-white);
  background: rgba(255, 194, 0, 0.10);
  border: 1px solid rgba(255, 194, 0, 0.30);
  border-radius: 999px;
}

.gas-modal__considerations {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.gas-modal__considerations li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.80);
}

.gas-modal__considerations li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gas-red);
  box-shadow: 0 0 0 3px rgba(232,36,41,0.15);
}

.gas-modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 1.25rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--gas-line-soft);
}

.gas-modal__foot .btn {
  flex: 1 1 auto;
  justify-content: center;
}

body.gas-modal-open {
  overflow: hidden;
}

@media (max-width: 540px) {
  .gas-modal__panel {
    padding: 1.5rem 1.25rem 1.25rem;
  }
  .gas-modal__title {
    font-size: 1.3rem;
  }
  .gas-modal__icon {
    width: 48px;
    height: 48px;
  }
}

/* ============================================================
 * AGENT BUTTON STATES (cards turn into clickable buttons)
 * ============================================================ */
button.gas-agent {
  font-family: inherit;
  text-align: left;
  background: var(--surface-elevated, #16161A);
  cursor: pointer;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

button.gas-agent:focus-visible {
  outline: 2px solid var(--agent-color);
  outline-offset: 4px;
}

.gas-agent__badge {
  margin-left: auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gas-line);
  color: var(--agent-color);
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.gas-agent:hover .gas-agent__badge {
  background: color-mix(in srgb, var(--agent-color) 20%, transparent);
  transform: rotate(45deg);
}

.gas-agent__cta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--gas-line-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--agent-color);
  opacity: 0.85;
  transition: opacity 0.25s var(--ease-out), gap 0.25s var(--ease-out);
}

.gas-agent:hover .gas-agent__cta {
  opacity: 1;
  gap: 0.7rem;
}

/* ============================================================
 * AGENT MODAL (gas-amodal — extends .gas-modal)
 * ============================================================ */
.gas-amodal__panel {
  width: min(820px, 100%);
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  /* Critical: row 1 takes remaining space (visual + body), row 2 is the sticky foot.
     minmax(0,1fr) lets the body shrink below content height so it can scroll. */
  grid-template-rows: minmax(0, 1fr) auto;
  max-height: calc(100vh - 2.5rem);
  --amodal-accent: var(--gas-red);
}

.gas-amodal__panel.is-red    { --amodal-accent: #E82429; }
.gas-amodal__panel.is-green  { --amodal-accent: #14C77B; }
.gas-amodal__panel.is-cyan   { --amodal-accent: #2BB6E5; }
.gas-amodal__panel.is-amber  { --amodal-accent: #FF8E1A; }

.gas-amodal__panel::before {
  background: linear-gradient(90deg, var(--amodal-accent), var(--gas-yellow) 70%, transparent);
  left: 0;
  right: 0;
}

.gas-amodal__visual {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 35%, color-mix(in srgb, var(--amodal-accent) 28%, transparent), transparent 65%),
    linear-gradient(180deg, #0E0E12, #16161A);
  border-right: 1px solid var(--gas-line);
  padding: 1.5rem 1.25rem;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.gas-amodal__visual svg {
  width: 100%;
  height: auto;
  max-height: 100%;
  max-width: 240px;
  border-radius: 12px;
}

.gas-amodal__body {
  grid-column: 2;
  grid-row: 1;
  padding: 1.75rem 1.5rem 1.25rem;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
}

.gas-amodal__head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gas-line-soft);
}

.gas-amodal__head .gas-modal__eyebrow {
  color: var(--amodal-accent);
}

.gas-amodal__head .gas-modal__title {
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.gas-amodal__chemical {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted, #9C9DA0);
  font-family: var(--font-mono, ui-monospace, "SFMono-Regular", Menlo, monospace);
  letter-spacing: 0.01em;
}

.gas-amodal__specs {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--gas-line);
  border-radius: 10px;
}

.gas-amodal__specs li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.gas-amodal__spec-label {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amodal-accent);
}

.gas-amodal__spec-value {
  font-size: 0.83rem;
  line-height: 1.35;
  color: var(--c4-white);
  font-weight: 500;
}

.gas-amodal__section {
  margin-bottom: 1.4rem;
}

.gas-amodal__section .gas-modal__label {
  color: var(--amodal-accent);
}

.gas-amodal__how {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.gas-amodal__safety[hidden] {
  display: none !important;
}

.gas-amodal__safety {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  margin-bottom: 1.4rem;
  background: rgba(255, 142, 26, 0.10);
  border: 1px solid rgba(255, 142, 26, 0.35);
  border-left: 3px solid #FF8E1A;
  border-radius: 8px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #FFD9B5;
}

.gas-amodal__safety::before {
  content: "⚠";
  font-size: 1.2rem;
  line-height: 1;
  color: #FFC200;
  flex-shrink: 0;
  padding-top: 1px;
}

.gas-amodal__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.gas-amodal__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.gas-amodal__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.gas-amodal__list--check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #14C77B 30%, transparent 30%),
    rgba(20, 199, 123, 0.18);
  box-shadow: 0 0 0 1px rgba(20, 199, 123, 0.45);
}

.gas-amodal__list--cross li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 2px;
  background: #E82429;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(232, 36, 41, 0.35);
}

.gas-amodal__list--dot li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amodal-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--amodal-accent) 18%, transparent);
}

.gas-modal__label.gas-amodal__label--warn {
  color: #FF6B6B;
}

.gas-amodal__related {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--gas-line);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.5rem;
}

.gas-amodal__related-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.gas-amodal__related-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out);
  background: rgba(255, 255, 255, 0.02);
}

.gas-amodal__related-list li:hover {
  background: color-mix(in srgb, var(--amodal-accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--amodal-accent) 35%, transparent);
  transform: translateX(2px);
}

.gas-amodal__related-list a {
  color: var(--c4-white);
  font-weight: 500;
  font-size: 0.87rem;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

.gas-amodal__related-list a:hover {
  color: var(--amodal-accent);
}

.gas-amodal__arrow {
  font-size: 1rem;
  color: var(--amodal-accent);
  flex-shrink: 0;
}

.gas-amodal .gas-modal__foot {
  grid-column: 1 / -1;
  grid-row: 2;
  padding: 0.9rem 1.5rem 1.1rem;
  margin-top: 0;
  border-top: 1px solid var(--gas-line);
  background: rgba(0, 0, 0, 0.4);
  /* Foot sits in its own grid row — never gets pushed off-screen by body content. */
}

@media (max-width: 720px) {
  .gas-amodal__panel {
    grid-template-columns: minmax(0, 1fr);
    /* Mobile: visual auto-sized at top, body fills remaining space + scrolls, foot pinned. */
    grid-template-rows: auto minmax(0, 1fr) auto;
    max-height: calc(100vh - 1.5rem);
  }
  .gas-amodal__visual {
    grid-column: 1;
    grid-row: 1;
    border-right: 0;
    border-bottom: 1px solid var(--gas-line);
    padding: 0.85rem 1rem 0.6rem;
  }
  .gas-amodal__visual svg {
    max-height: 130px;
    max-width: 200px;
  }
  .gas-amodal__body {
    grid-column: 1;
    grid-row: 2;
    padding: 1.1rem 1rem 0.85rem;
  }
  .gas-amodal__specs {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .gas-amodal__split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .gas-amodal__head {
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
  }
  .gas-amodal__section {
    margin-bottom: 1.1rem;
  }
  .gas-amodal__how {
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .gas-amodal .gas-modal__foot {
    grid-column: 1;
    grid-row: 3;
    padding: 0.75rem 1rem 0.95rem;
  }
}

/* Even tighter outer modal padding on phones — gives the panel ~30px more height. */
@media (max-width: 540px) {
  .gas-modal {
    padding: 0.75rem;
  }
  .gas-amodal__panel {
    max-height: calc(100vh - 1.5rem);
  }
}

/* ============================================================
 * STICKY MOBILE CTA
 * ============================================================ */
.gas-sticky {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%) translateY(140%);
  z-index: 60;
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  background: var(--gas-red);
  color: var(--c4-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 12px 40px -8px rgba(232,36,41,0.6), 0 0 0 1px rgba(0,0,0,0.2);
  transition: transform 0.5s var(--ease-out);
}

.gas-sticky.is-visible {
  transform: translateX(-50%) translateY(0);
}

.gas-sticky:hover {
  background: var(--c4-red-dark);
}

/* (Reveal animations defined at top of file under .gas-reveal) */

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 1024px) {
  .gas-hero__inner,
  .gas-coverage__inner,
  .gas-quote__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .gas-hero__panel {
    max-width: 460px;
  }

  .gas-quote__form {
    position: static;
  }
}

@media (max-width: 720px) {
  .gas-hero {
    min-height: 0;
    padding-block: 6rem 3.5rem;
  }

  .gas-hero__headline {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .gas-hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

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

  .gas-hero__trust {
    gap: 0.85rem 1.25rem;
  }

  .gas-hero__trust li {
    font-size: 0.7rem;
  }

  .gas-hero__panel {
    padding: 1.4rem 1.25rem;
  }

  .gas-quote__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .gas-coverage__list {
    grid-template-columns: 1fr;
  }

  .gas-sectors__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gas-process__list::before {
    left: 22px;
    top: calc(1.5rem + 22px);
    bottom: calc(1.5rem + 22px);
  }

  .gas-process__step {
    grid-template-columns: 44px 1fr;
    gap: 1rem;
  }

  .gas-process__num {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }

  .gas-quote__form {
    padding: 1.5rem;
  }

  .gas-sticky {
    display: inline-flex;
  }

  /* Hide review button when sticky CTA is showing to avoid overlap */
  body:has(.gas-sticky.is-visible) .review-btn,
  body:has(.gas-sticky.is-visible) .c4-review-btn {
    display: none !important;
  }
}
