:root {
  color-scheme: light;
  --bg: #eef3f7;
  --surface: #ffffff;
  --surface-strong: #e2ebf2;
  --text: #102033;
  --muted: #5b6b7f;
  --line: #cfdae5;
  --brand: #12395a;
  --brand-dark: #0b253d;
  --brand-soft: #dce8f1;
  --teal: #0c7f86;
  --accent: #c9952f;
  --header: #0b253d;
  --header-line: #1e4a68;
  --shadow: 0 22px 60px rgba(9, 28, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f7fafc 0%, var(--bg) 42%, #f2f5f8 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(11, 37, 61, 0.96);
  border-bottom: 1px solid var(--header-line);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: #ffffff;
  color: var(--header);
  box-shadow: inset 0 0 0 2px rgba(201, 149, 47, 0.35);
  font-size: 0.86rem;
}

.site-nav {
  gap: clamp(12px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: #ffffff;
}

.hero {
  display: grid;
  min-height: calc(100vh - 73px);
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(42px, 7vw, 94px) clamp(18px, 5vw, 72px) clamp(34px, 6vw, 76px);
  background:
    linear-gradient(135deg, rgba(18, 57, 90, 0.08), rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, #f7fafc 0%, #eef3f7 100%);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.65rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 16px 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(18, 57, 90, 0.26);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  border-color: #b9c8d6;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.hero-metrics div {
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--brand);
  font-size: 1.35rem;
}

.hero-metrics span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-visual img {
  width: 100%;
  min-height: 420px;
  max-height: 620px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  outline: 1px solid rgba(18, 57, 90, 0.18);
}

.floating-panel {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(320px, calc(100% - 44px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(17, 38, 54, 0.18);
  backdrop-filter: blur(12px);
}

.floating-panel strong,
.floating-panel span {
  display: block;
}

.floating-panel span {
  color: var(--muted);
  font-size: 0.9rem;
}

.pulse {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 7px rgba(12, 127, 134, 0.14);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
}

.section-heading.compact {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading p,
.process-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 1.06rem;
}

.services-section {
  background: #ffffff;
}

.services-grid,
.systems-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

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

.service-card,
.system-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(9, 28, 45, 0.07);
}

.service-card {
  min-height: 250px;
  padding: 24px;
}

.service-card .icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
}

.service-card p,
.system-card p {
  color: var(--muted);
}

.systems-section {
  background:
    linear-gradient(180deg, #e5edf4 0%, #f3f6f9 100%);
}

.systems-grid {
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
}

.system-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.system-card.featured {
  background:
    linear-gradient(135deg, #0b253d 0%, #12395a 100%);
  color: #ffffff;
}

.system-card.featured p {
  color: rgba(255, 255, 255, 0.76);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tag.available {
  background: rgba(12, 127, 134, 0.18);
  color: #7bd5d4;
}

.tag.planned {
  background: rgba(18, 57, 90, 0.1);
  color: var(--brand);
}

.text-link {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.system-card:not(.featured) .text-link {
  color: var(--brand);
}

.process-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(26px, 5vw, 62px);
  align-items: start;
  background: #ffffff;
}

.process-copy {
  max-width: 560px;
}

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

.timeline div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.timeline span {
  color: var(--brand);
  font-weight: 800;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin: clamp(32px, 6vw, 72px) clamp(18px, 5vw, 72px);
  padding: clamp(26px, 5vw, 46px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #0b253d 0%, #12395a 72%, #164866 100%);
  color: #ffffff;
}

.contact-section .eyebrow {
  color: #d9b35c;
}

.contact-section h2 {
  max-width: 680px;
}

.contact-section p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 880px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual img {
    min-height: 360px;
    max-height: 460px;
  }

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

  .system-card.featured {
    grid-column: 1 / -1;
  }

  .process-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-actions,
  .hero-metrics,
  .services-grid,
  .systems-grid,
  .timeline div,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 300px;
  }

  .floating-panel {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }

  .section-heading.compact {
    display: block;
  }

  .system-card,
  .service-card {
    min-height: auto;
  }
}

@media (max-width: 420px) {
  .site-nav a {
    max-width: 33%;
    text-align: center;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 250px;
  }

  .floating-panel {
    position: static;
    max-width: none;
    margin-top: 12px;
  }
}
