/* =========================================================
   ABC Hydrogen / abchydrogen.com
   No-image clean future-energy website
   ABC Solar Incorporated
   ========================================================= */

:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --panel-soft: #eef4f8;
  --ink: #102033;
  --muted: #5d6d7e;
  --line: #d9e3ec;
  --blue: #1769aa;
  --blue-dark: #0d416f;
  --green: #1f9d73;
  --green-dark: #126349;
  --gold: #d9a441;
  --shadow: 0 18px 45px rgba(16, 32, 51, 0.08);
  --radius: 22px;
  --max: 1180px;
}

/* ---------- Base ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(31, 157, 115, 0.12), transparent 34rem),
    radial-gradient(circle at top right, rgba(23, 105, 170, 0.14), transparent 36rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

p {
  margin: 0 0 1.1rem;
}

strong,
b {
  color: var(--ink);
  font-weight: 800;
}

small {
  color: var(--muted);
}

/* ---------- Layout ---------- */

.wrap,
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section.tight {
  padding: 42px 0;
}

.grid {
  display: grid;
  gap: 24px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 251, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 227, 236, 0.85);
}

.navbar {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo,
.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.45rem;
  color: var(--ink);
}

.logo span,
.brand span {
  color: var(--green);
}

.logo small,
.brand small {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
  padding: 9px 12px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--panel-soft);
  color: var(--blue-dark);
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
  padding: 90px 0 70px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(238,244,248,0.94)),
    radial-gradient(circle at 88% 18%, rgba(31, 157, 115, 0.18), transparent 20rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  box-shadow: var(--shadow);
  padding: clamp(34px, 5vw, 70px);
}

.hero-card::after {
  content: "H₂";
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: -42px;
  font-size: clamp(6rem, 16vw, 15rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  color: rgba(23, 105, 170, 0.07);
  line-height: 1;
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--green-dark);
  background: rgba(31, 157, 115, 0.1);
  border: 1px solid rgba(31, 157, 115, 0.2);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(31, 157, 115, 0.12);
}

h1,
.h1 {
  margin: 0 0 18px;
  max-width: 920px;
  font-size: clamp(2.55rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
  font-weight: 950;
}

h2,
.h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  font-weight: 930;
}

h3,
.h3 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.lead {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Buttons ---------- */

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--blue);
  color: #fff;
  font-weight: 850;
  line-height: 1.1;
  box-shadow: 0 12px 30px rgba(23, 105, 170, 0.18);
}

.btn:hover,
.button:hover {
  background: var(--blue-dark);
  color: #fff;
  text-decoration: none;
}

.btn.secondary,
.button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.btn.secondary:hover,
.button.secondary:hover {
  background: var(--panel-soft);
  color: var(--blue-dark);
}

/* ---------- Cards ---------- */

.card {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(16, 32, 51, 0.06);
  padding: 26px;
}

.card:hover {
  transform: translateY(-2px);
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: var(--shadow);
}

.card .kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card p:last-child {
  margin-bottom: 0;
}

.feature-card {
  min-height: 100%;
}

.number-card {
  counter-increment: step;
}

.number-card::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(23, 105, 170, 0.11);
  color: var(--blue-dark);
  font-weight: 950;
}

/* ---------- Special Blocks ---------- */

.statement {
  background: var(--ink);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(30px, 5vw, 58px);
  box-shadow: var(--shadow);
}

.statement h2,
.statement h3,
.statement strong {
  color: #fff;
}

.statement p {
  color: rgba(255,255,255,0.78);
}

.statement .eyebrow {
  color: #c8ffe9;
  background: rgba(31, 157, 115, 0.18);
  border-color: rgba(31, 157, 115, 0.32);
}

.split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
}

.soft-panel {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(26px, 4vw, 44px);
}

.callout {
  border-left: 5px solid var(--green);
  background: rgba(31, 157, 115, 0.08);
  padding: 20px 22px;
  border-radius: 16px;
  color: var(--ink);
}

.callout.blue {
  border-left-color: var(--blue);
  background: rgba(23, 105, 170, 0.08);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 7px 11px;
  font-size: 0.86rem;
  font-weight: 750;
}

/* ---------- Hydrogen Flow Diagram, Text Only ---------- */

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px;
  min-height: 150px;
}

.flow-step::before {
  counter-increment: flow;
  content: "0" counter(flow);
  display: block;
  color: var(--green);
  font-weight: 950;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.flow-step::after {
  content: "→";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-weight: 900;
  font-size: 1.4rem;
}

.flow-step:last-child::after {
  content: "";
}

.flow-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.flow-step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Lists ---------- */

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 31px;
  margin-bottom: 12px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(31, 157, 115, 0.12);
  color: var(--green-dark);
  font-weight: 900;
  font-size: 0.86rem;
}

.plain-list {
  padding-left: 1.2rem;
}

.plain-list li {
  margin-bottom: 0.6rem;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
}

.faq-item h3 {
  font-size: 1.18rem;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--panel-soft);
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

tr:last-child td {
  border-bottom: 0;
}

/* ---------- Contact / Footer ---------- */

.contact-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.company-info {
  color: var(--muted);
  font-size: 0.98rem;
}

.company-info strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
  margin-bottom: 5px;
}

.site-footer {
  margin-top: 60px;
  padding: 42px 0;
  background: #071725;
  color: rgba(255,255,255,0.76);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.site-footer a {
  color: #d7fff0;
}

.site-footer strong {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}

.footer-links a {
  font-weight: 750;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}

/* ---------- Utility ---------- */

.center {
  text-align: center;
}

.center .lead,
.center p {
  margin-left: auto;
  margin-right: auto;
}

.muted {
  color: var(--muted);
}

.max-720 {
  max-width: 720px;
}

.max-860 {
  max-width: 860px;
}

.no-margin {
  margin: 0;
}

.spacer {
  height: 24px;
}

/* ---------- Mobile ---------- */

@media (max-width: 980px) {
  .grid.three,
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow-step::after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -19px;
    transform: translateX(50%);
  }

  .flow-step:last-child::after {
    content: "";
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .wrap,
  .container,
  .navbar,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 28px, var(--max));
  }

  .navbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .hero {
    padding: 50px 0 44px;
  }

  .hero-card {
    padding: 30px 24px;
  }

  .hero-card::after {
    right: 18px;
    bottom: -22px;
    font-size: 7rem;
  }

  .section {
    padding: 48px 0;
  }

  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .hero-actions,
  .actions {
    flex-direction: column;
  }

  .btn,
  .button {
    width: 100%;
  }
}

@media print {
  .site-header,
  .nav-links,
  .hero-actions,
  .actions,
  .site-footer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card,
  .panel,
  .soft-panel,
  .hero-card,
  .statement {
    box-shadow: none;
    border-color: #bbb;
  }

  .statement {
    background: #fff;
    color: #000;
  }

  .statement h2,
  .statement h3,
  .statement strong {
    color: #000;
  }

  .statement p {
    color: #333;
  }
}

.abc-footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 210px;
  margin-bottom: 18px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
}

.abc-footer-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

@media (max-width: 760px) {
  .abc-footer-logo-link {
    max-width: 190px;
  }

  .abc-footer-logo {
    width: 160px;
  }
}
