:root {
  --ink: #121820;
  --paper: #f8fafb;
  --white: #ffffff;
  --muted: #60717e;
  --line: #d9e2e8;
  --blue: #0f4f73;
  --blue-deep: #093047;
  --cyan: #5ab6d6;
  --green: #4f7d5a;
  --gold: #bf8f3d;
  --charcoal: #20272e;
  --shadow: 0 18px 50px rgba(11, 29, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(248, 250, 251, 0.93);
  border-bottom: 1px solid rgba(217, 226, 232, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #2d3a43;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: #e3f4f9;
  color: var(--blue-deep);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(86svh - 76px);
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(9, 48, 71, 0.95), rgba(18, 24, 32, 0.9)),
    var(--charcoal);
  color: var(--white);
}

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

.hero-media {
  justify-self: center;
}

.hero-media img {
  width: min(30vw, 360px);
  min-width: 220px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.36));
}

.page-hero {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(9, 48, 71, 0.96), rgba(18, 24, 32, 0.91)),
    var(--charcoal);
  color: var(--white);
}

.page-hero h1,
.page-hero .lead {
  max-width: 900px;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 3.35rem);
}

h3 {
  font-size: 1.16rem;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #d8e7ef;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

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

.button.primary,
.button.compact {
  background: var(--cyan);
  color: #062434;
}

.button.primary:hover,
.button.compact:hover {
  background: #86d5ed;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.button.secondary:hover {
  border-color: var(--white);
}

.button.compact {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.92rem;
}

.section,
.band-inner,
.site-footer {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

.section {
  padding: clamp(54px, 8vw, 96px) 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 28px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.action-card,
.detail-card,
.package,
.stack-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(11, 29, 42, 0.04);
}

.action-card {
  display: grid;
  align-content: start;
  min-height: 240px;
  padding: 22px;
}

.action-card:hover,
.stack-list a:hover {
  border-color: #a3cfe0;
  box-shadow: var(--shadow);
}

.action-card span,
.step span {
  color: var(--gold);
  font-weight: 900;
}

.action-card h3 {
  margin-top: 34px;
}

.action-card p,
.detail-card p,
.package p,
.package li,
.step p,
.contact-copy p,
.stack-list span {
  color: var(--muted);
}

.band {
  background: #e9eef0;
  border-block: 1px solid var(--line);
}

.band-inner {
  padding: clamp(54px, 8vw, 96px) 0;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
}

.stack-list {
  display: grid;
  gap: 12px;
}

.stack-list a {
  display: grid;
  gap: 6px;
  padding: 20px;
}

.stack-list strong {
  font-size: 1.05rem;
}

.service-list {
  display: grid;
  gap: 14px;
}

.detail-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: #e3f4f9;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 900;
}

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

.step {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  min-height: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.package {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 24px;
}

.package.featured {
  border-color: #a3cfe0;
  box-shadow: var(--shadow);
}

.package h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.4rem);
}

.package-for {
  min-height: 54px;
  margin: 16px 0 18px;
}

.package ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding-left: 18px;
}

.package .button {
  margin-top: auto;
  align-self: flex-start;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.cta-row h2 {
  max-width: 760px;
}

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-list a {
  color: var(--blue);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #263641;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #c9d6dd;
  border-radius: 6px;
  background: #fbfdfe;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(90, 182, 214, 0.26);
  border-color: var(--blue);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    order: -1;
    justify-self: start;
  }

  .hero-media img {
    width: 260px;
    min-width: 0;
  }

  .action-grid,
  .package-grid {
    grid-template-columns: 1fr 1fr;
  }

  .step {
    grid-template-columns: 52px 1fr;
  }

  .step p {
    grid-column: 2;
  }

  .cta-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 68px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 3.9rem);
  }

  .hero,
  .page-hero {
    padding-top: 30px;
  }

  .action-grid,
  .package-grid,
  .detail-card,
  .step {
    grid-template-columns: 1fr;
  }

  .action-card,
  .package {
    min-height: 0;
  }

  .action-card h3 {
    margin-top: 22px;
  }

  .detail-card .button,
  .step p {
    grid-column: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
