/* DW Energy maritime landing page template */
:root {
  --navy: #071338;
  --navy-soft: #10204f;
  --green: #8cc63f;
  --green-dark: #6fa927;
  --blue-grey: #f4f7fb;
  --mid: #526070;
  --ink: #111827;
  --white: #ffffff;
  --border: #dfe7ef;
  --shadow: 0 22px 60px rgba(7, 19, 56, 0.14);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

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

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.1;
}

h1 {
  max-width: 860px;
  color: var(--white);
  font-size: clamp(2.45rem, 7vw, 5.7rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.section {
  padding: 88px 0;
}

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

.section.alt {
  background: var(--blue-grey);
}

.lead {
  color: var(--mid);
  font-size: 1.14rem;
  max-width: 760px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(140, 198, 63, 0.28);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.btn-secondary.dark {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
}

.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 19, 56, 0.92) 0%, rgba(7, 19, 56, 0.72) 42%, rgba(7, 19, 56, 0.2) 100%), linear-gradient(0deg, rgba(7, 19, 56, 0.68), rgba(7, 19, 56, 0.1));
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 30px;
  padding: 110px 0 70px;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
  font-size: 1.23rem;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.proof-pill {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.header-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 38px;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 22px;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 18px 50px rgba(7, 19, 56, 0.06);
}

.card.dark {
  background: var(--navy);
  color: var(--white);
  border: 0;
}

.card.dark h3,
.card.dark h2 {
  color: var(--white);
}

.card p,
.card li {
  color: var(--mid);
}

.card.dark p,
.card.dark li {
  color: rgba(255, 255, 255, 0.82);
}

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

.card li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stat {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(140, 198, 63, 0.12);
  color: var(--navy);
  font-weight: 800;
}

.case-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 0;
}

.case-media {
  min-height: 260px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.case-media-hgv {
  background-image: linear-gradient(135deg, rgba(7, 19, 56, 0.12), rgba(7, 19, 56, 0.02)), url("assets/hgv-charging-case-study.webp");
}

.case-media-berth {
  background-image: linear-gradient(135deg, rgba(7, 19, 56, 0.12), rgba(7, 19, 56, 0.02)), url("assets/berth-zero-case-study.webp");
}

.case-body {
  padding: 30px;
}

.case-body h3 {
  margin-bottom: 16px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.meta span {
  border-radius: 999px;
  background: var(--blue-grey);
  color: var(--navy);
  padding: 7px 11px;
  font-size: 0.82rem;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.testimonial {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 6vw, 64px);
  box-shadow: var(--shadow);
}

.testimonial blockquote {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.32;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.testimonial cite {
  display: block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-style: normal;
  font-weight: 800;
}


.notice {
  border-left: 6px solid var(--green);
  padding: 24px;
  background: var(--white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.funding-layout {
  display: grid;
  gap: 28px;
}

.funding-header {
  max-width: 900px;
}

.funding-header .lead {
  margin-top: 18px;
  max-width: 860px;
}

.funding-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.funding-card ul {
  margin-top: 0;
}

.funding-button-row {
  grid-column: 1 / -1;
  margin-top: 0;
}

.funding-note {
  grid-column: 1 / -1;
  margin: -12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.process {
  counter-reset: steps;
}

.step {
  position: relative;
  padding-left: 64px;
}

.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.final-cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 70px);
  display: grid;
  gap: 24px;
  align-items: center;
}

.final-cta h2,
.final-cta p {
  color: var(--white);
}

.footer-note {
  padding: 28px 0;
  color: var(--mid);
  font-size: 0.92rem;
  text-align: center;
}

@media (max-width: 900px) {
  .hero {
    min-height: 700px;
  }

  .header-card,
  .grid-2,
  .grid-3,
  .stat-row,
  .funding-card {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding-top: 86px;
  }

  .btn {
    width: 100%;
  }

  .card,
  .case-body {
    padding: 24px;
  }
}
