:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d9e1ea;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --deep: #10253b;
  --teal: #0f8a8a;
  --teal-dark: #096c72;
  --amber: #f6a623;
  --red: #b3261e;
  --shadow: 0 22px 55px rgba(17, 24, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  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;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 225, 234, 0.8);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--deep), var(--teal));
  border-radius: 8px;
  color: white;
  font-weight: 800;
  letter-spacing: 0;
}

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

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

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

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: #253244;
  font-weight: 700;
  font-size: 0.93rem;
}

.site-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--deep);
  font-weight: 800;
}

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

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(650px, 78svh, 820px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=82");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 37, 59, 0.92) 0%, rgba(16, 37, 59, 0.75) 48%, rgba(16, 37, 59, 0.24) 100%),
    linear-gradient(0deg, rgba(16, 37, 59, 0.58), rgba(16, 37, 59, 0.08));
}

.hero-content {
  align-self: center;
  width: min(780px, 100%);
  padding: clamp(64px, 10vw, 128px) clamp(20px, 6vw, 84px) 150px;
  color: white;
}

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

.hero .eyebrow {
  color: #8df5ed;
}

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

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

h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 5vw, 4.45rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.55rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions,
.hero-panel,
.intro-grid,
.service-grid,
.proof-section,
.contact-section,
.coverage-section {
  display: grid;
}

.hero-actions {
  grid-template-columns: repeat(2, max-content);
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--amber);
  color: #201200;
  box-shadow: 0 14px 30px rgba(246, 166, 35, 0.25);
}

.button.primary:hover {
  background: #ffb83a;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
  color: white;
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 6vw, 84px);
  bottom: 26px;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  width: min(760px, calc(100% - 40px));
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 20px;
  border-right: 1px solid var(--line);
}

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

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

.hero-panel strong {
  color: var(--deep);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1;
}

.hero-panel span {
  margin-top: 7px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.intro-section,
.services-section,
.process-section,
.coverage-section,
.contact-section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 6vw, 84px);
}

.intro-section {
  background: var(--soft);
}

.intro-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto 42px;
}

.intro-copy .eyebrow {
  padding-top: 11px;
}

.intro-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}

.intro-grid > div,
.proof-card,
.coverage-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.intro-grid > div {
  padding: 26px;
}

.mini-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #e5f5f3;
  color: var(--teal-dark);
  font-weight: 900;
}

.intro-grid p,
.service-card p,
.proof-card p,
.process-list p,
.coverage-section p,
.contact-copy p {
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  max-width: 1240px;
  margin: 0 auto 36px;
}

.section-heading h2 {
  max-width: 840px;
}

.section-heading.compact {
  display: block;
  max-width: 860px;
  margin-left: 0;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}

.service-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card div {
  padding: 24px;
}

.service-card p {
  margin-bottom: 0;
}

.proof-section {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 clamp(20px, 6vw, 84px) clamp(64px, 9vw, 116px);
  background: var(--paper);
}

.proof-card {
  padding: 28px;
}

.proof-card span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-card strong {
  display: block;
  margin-top: 10px;
  color: var(--deep);
  font-size: 1.45rem;
  line-height: 1.1;
}

.process-section {
  background: #10253b;
  color: white;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1240px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.process-list span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: var(--amber);
  color: #201200;
  font-weight: 900;
}

.process-list p {
  color: rgba(255, 255, 255, 0.75);
}

.coverage-section {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  background: var(--soft);
}

.coverage-section > div:first-child {
  max-width: 760px;
}

.coverage-panel {
  padding: 30px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}

.coverage-panel ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.coverage-panel li {
  position: relative;
  padding-left: 30px;
  font-weight: 750;
}

.coverage-panel li::before {
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--teal);
  content: "";
}

.contact-section {
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.phone-link,
.email-link {
  display: block;
  width: fit-content;
  margin-top: 18px;
  font-weight: 900;
}

.phone-link {
  color: var(--red);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
}

.email-link {
  color: var(--teal-dark);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #253244;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form .full {
  grid-column: 1 / -1;
}

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

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 138, 138, 0.14);
  outline: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 84px);
  background: #0c1724;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: white;
  font-weight: 800;
}

.chat-agent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 12px;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.chat-agent-toggle,
.chat-agent-panel {
  pointer-events: auto;
}

.chat-agent-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: var(--deep);
  color: white;
  box-shadow: var(--shadow);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.chat-agent-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--amber);
  color: #201200;
  font-weight: 900;
}

.chat-agent-panel {
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(217, 225, 234, 0.9);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

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

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

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

.chat-agent-close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.chat-agent-log {
  display: grid;
  gap: 10px;
  max-height: 290px;
  overflow-y: auto;
  padding: 16px;
  background: #f7fafc;
}

.chat-message {
  max-width: 88%;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 0.93rem;
  line-height: 1.45;
}

.chat-message.bot {
  justify-self: start;
  background: white;
  border: 1px solid var(--line);
  color: #253244;
}

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

.chat-agent-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
  background: #f7fafc;
}

.chat-agent-prompts button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--deep);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

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

.chat-agent-form input {
  min-height: 44px;
}

.chat-agent-form button {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--amber);
  color: #201200;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-call {
    display: none;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-call {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.nav-open .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 12px;
  }

  .site-header.nav-open .site-nav a {
    padding: 10px 0;
  }

  .site-header.nav-open .header-call {
    width: fit-content;
  }

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

  .intro-copy,
  .intro-grid,
  .proof-section,
  .process-list,
  .coverage-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
    padding: 12px 18px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(16, 37, 59, 0.94), rgba(16, 37, 59, 0.68)),
      linear-gradient(90deg, rgba(16, 37, 59, 0.78), rgba(16, 37, 59, 0.44));
  }

  .hero-content {
    padding: 68px 20px 28px;
  }

  .hero-actions,
  .service-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    width: auto;
    margin: 0 20px 22px;
  }

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

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

  .intro-section,
  .services-section,
  .process-section,
  .coverage-section,
  .contact-section {
    padding: 54px 20px;
  }

  .proof-section {
    padding: 0 20px 54px;
  }

  .section-heading {
    display: block;
  }

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

  .contact-form .full {
    grid-column: auto;
  }

  .site-footer {
    display: grid;
  }

  .chat-agent {
    right: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
  }

  .chat-agent-panel {
    max-height: calc(100svh - 40px);
  }

  .chat-agent-log {
    max-height: 240px;
  }

  .chat-agent-toggle {
    max-width: 100%;
  }
}
