:root {
  --ink: #071126;
  --ink-2: #0b1d3a;
  --blue: #1287ff;
  --cyan: #19f4ff;
  --line: #dbe6f5;
  --paper: #f6f9fc;
  --white: #ffffff;
  --muted: #5a6b81;
  --green: #0fa36b;
  --shadow: 0 22px 70px rgba(7, 17, 38, 0.18);
}

* {
  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.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(219, 230, 245, 0.9);
  background: rgba(246, 249, 252, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 156px;
  height: 54px;
  object-fit: cover;
  object-position: center 72%;
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(7, 17, 38, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--blue);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  min-height: calc(100vh - 83px);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 84px) clamp(36px, 6vw, 72px);
  background:
    radial-gradient(circle at 78% 26%, rgba(25, 244, 255, 0.18), transparent 28%),
    linear-gradient(120deg, #f8fbff 0%, #eef5fc 52%, #e9f2fb 100%);
}

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

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 16px 0 0;
  max-width: 800px;
  font-size: clamp(2.8rem, 6vw, 5.85rem);
  line-height: 0.95;
  letter-spacing: 0;
}

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

h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.17rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 16px 36px rgba(7, 17, 38, 0.24);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.hero-logo-panel {
  position: relative;
  padding: clamp(10px, 1.6vw, 18px);
  border: 1px solid rgba(18, 135, 255, 0.28);
  border-radius: 8px;
  background: #071126;
  box-shadow: var(--shadow);
}

.hero-logo-panel img {
  width: 100%;
  aspect-ratio: 1.31;
  object-fit: cover;
  border-radius: 6px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 84px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  transform: translateY(-24px);
}

.trust-strip div {
  min-height: 112px;
  padding: 24px;
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 1rem;
}

.trust-strip span {
  margin-top: 8px;
  color: var(--muted);
}

.section {
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 84px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 64px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2 {
  grid-column: 1 / -1;
  max-width: 900px;
}

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

.service-grid article {
  min-height: 242px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(7, 17, 38, 0.06);
}

.service-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 32px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.service-grid p,
.solution-list p,
.timeline p,
.contact-section p,
.site-footer span {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 76px);
  background: var(--ink);
  color: var(--white);
}

.split .eyebrow {
  color: var(--cyan);
}

.split h2 {
  color: var(--white);
}

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

.solution-list div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.solution-list p {
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.timeline div {
  min-height: 190px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.timeline div:last-child {
  border-right: 0;
}

.timeline span {
  display: block;
  margin-bottom: 24px;
  color: var(--green);
  font-weight: 950;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 84px);
  background: #eaf2f9;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(7, 17, 38, 0.1);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
.button:focus,
.menu-button:focus {
  outline: 3px solid rgba(25, 244, 255, 0.36);
  outline-offset: 2px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px clamp(20px, 5vw, 84px);
  color: var(--white);
  background: #050b18;
}

.site-footer img {
  width: 82px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

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

.quote-agent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.agent-toggle {
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(25, 244, 255, 0.38);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #0e3572);
  box-shadow: 0 18px 44px rgba(7, 17, 38, 0.28);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.agent-panel {
  display: none;
  width: min(390px, calc(100vw - 40px));
  overflow: hidden;
  border: 1px solid rgba(25, 244, 255, 0.32);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 70px rgba(7, 17, 38, 0.28);
}

.agent-panel.is-open {
  display: block;
}

.agent-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  color: var(--white);
  background: var(--ink);
}

.agent-header strong,
.agent-header span {
  display: block;
}

.agent-header span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.agent-header button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}

.agent-messages {
  display: grid;
  max-height: 330px;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
  background: #f3f7fb;
}

.agent-message {
  width: fit-content;
  max-width: 90%;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 0.94rem;
}

.agent-message.user {
  justify-self: end;
  color: var(--white);
  background: var(--blue);
}

.agent-message.assistant {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.agent-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.agent-form textarea {
  min-height: 52px;
  max-height: 120px;
}

.agent-form .button {
  min-height: 52px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

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

  .hero {
    min-height: auto;
  }

  .trust-strip,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: center;
  }

  .brand img {
    width: 132px;
    height: 48px;
  }

  .menu-button {
    display: inline-grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .hero-logo-panel {
    padding: 8px;
  }

  .trust-strip {
    margin-inline: 20px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .quote-agent {
    right: 14px;
    bottom: 14px;
  }

  .agent-form {
    grid-template-columns: 1fr;
  }
}
