:root {
  --home-bg: #03100e;
  --home-bg-soft: #071815;
  --home-panel: #0b201d;
  --home-panel-2: #0e2925;
  --home-text: #f6f8f7;
  --home-muted: #b7c4c0;
  --home-teal: #24c8bd;
  --home-line: rgba(255, 255, 255, 0.13);
}

body {
  color: var(--home-text);
  background: var(--home-bg);
}

.site-header {
  position: fixed;
  min-height: 88px;
  padding: 16px clamp(24px, 3vw, 52px);
  gap: 30px;
  background: rgba(2, 13, 11, 0.94);
  border-bottom-color: var(--home-line);
}

.brand {
  flex-shrink: 0;
  font-size: 19px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: linear-gradient(145deg, #1d7f7e, #174f9a);
}

.nav {
  margin-left: auto;
  gap: clamp(13px, 1.35vw, 24px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.nav-dropdown summary {
  background: transparent !important;
  border-color: transparent !important;
  padding-inline: 3px;
}

.nav-dropdown:first-of-type .nav-submenu {
  border-top-color: var(--home-teal);
}

.nav-dropdown:last-of-type .nav-submenu {
  border-top-color: #67a5ff;
}

.nav .nav-hub-button {
  padding: 11px 15px;
  background: rgba(12, 112, 105, 0.7);
  border-color: rgba(84, 230, 219, 0.3);
}

.header-cta {
  padding: 12px 16px;
  white-space: nowrap;
  border-color: rgba(255, 255, 255, 0.42);
}

.hero {
  min-height: 780px;
  padding-top: 88px;
  background: var(--home-bg);
}

.hero-image {
  object-position: center right;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 15, 13, 0.99) 0%, rgba(2, 15, 13, 0.93) 35%, rgba(2, 15, 13, 0.55) 61%, rgba(2, 15, 13, 0.14) 100%),
    linear-gradient(180deg, rgba(2, 15, 13, 0.05), rgba(2, 15, 13, 0.7));
}

.hero-content {
  width: min(820px, calc(100% - 64px));
  max-width: none;
  margin-left: max(5.5vw, 42px);
  padding: 92px 0 108px;
}

.hero .eyebrow,
.section .eyebrow,
.cta-section .eyebrow {
  margin-bottom: 24px;
  color: var(--home-teal);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.hero .eyebrow::before {
  content: "— ";
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;
}

.hero h1 em {
  color: var(--home-teal);
  font-style: normal;
  font-weight: 800;
}

.hero-subtitle {
  max-width: 720px;
  margin-top: 30px;
  color: #dce5e2;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.65;
}

.hero-actions {
  gap: 16px;
  margin-top: 38px;
}

.button {
  min-height: 56px;
  padding: 14px 23px;
  border-radius: 9px;
  font-weight: 800;
}

.button-primary {
  background: linear-gradient(135deg, #0d8f88, var(--home-teal));
  box-shadow: 0 14px 40px rgba(36, 200, 189, 0.17);
}

.button-secondary {
  color: #fff;
  background: rgba(4, 20, 18, 0.56);
  border-color: rgba(255, 255, 255, 0.45);
}

.capability-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  width: min(1460px, 100%);
  margin: -1px auto 0;
  padding: 26px clamp(28px, 5vw, 76px);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  background: rgba(3, 16, 14, 0.98);
}

.capability-bar article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.capability-icon {
  color: var(--home-teal);
  font-size: 27px;
}

.capability-bar h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.capability-bar p {
  margin: 0;
  color: var(--home-muted);
  font-size: 13px;
}

.section {
  padding: 98px clamp(28px, 6vw, 96px);
  color: var(--home-text);
  background: var(--home-bg);
}

.section-inner {
  width: min(1320px, 100%);
}

.intro-band {
  padding-block: 65px;
  background: var(--home-bg-soft);
  border-bottom: 1px solid var(--home-line);
}

.intro-grid p:last-child,
.about-copy p,
.section-heading p,
.sticky-heading p,
.service-card p,
.case-list p {
  color: var(--home-muted);
}

h2 {
  font-size: clamp(36px, 4.2vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

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

.service-card,
.case-list article {
  min-height: 245px;
  padding: 30px;
  border-color: var(--home-line);
  border-radius: 16px;
  color: var(--home-text);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: none;
}

.card-index {
  color: var(--home-teal);
}

.muted-section,
.about-section,
.schedule-section {
  background: var(--home-bg-soft);
}

.pill-grid span,
.tech-grid span {
  min-height: 62px;
  color: var(--home-text);
  border-color: var(--home-line);
  background: var(--home-panel);
}

.case-list {
  grid-template-columns: repeat(5, minmax(230px, 1fr));
}

.tech-section {
  background: var(--home-bg);
}

.schedule-grid {
  grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
}

.schedule-copy > p:not(.eyebrow),
.schedule-fallback {
  color: var(--home-muted);
}

.calendly-inline-widget {
  border: 1px solid var(--home-line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.cta-section {
  background: linear-gradient(135deg, #08231f, #0b3530 60%, #123f39);
}

.site-footer {
  width: 100%;
  padding: 56px clamp(24px, 5vw, 72px);
  border-top: 1px solid var(--home-line);
  background: #020908;
}

.footer-map iframe {
  border-color: var(--home-line);
}

.footer-visuals {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-top: 22px;
}

.footer-visuals .footer-map {
  margin-top: 0;
}

.footer-logo-card {
  flex: 0 0 180px;
  width: 180px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(107, 236, 226, 0.22);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.footer-logo-card img {
  display: block;
  width: 100%;
  height: auto;
}

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

  .hero {
    padding-top: 76px;
  }
}

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

  .hero-content {
    width: calc(100% - 40px);
    margin-left: 20px;
  }

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

  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

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

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .capability-bar {
    grid-template-columns: 1fr;
    padding-block: 30px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

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

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 0;
  z-index: 200;
  font-family: Inter, Arial, sans-serif;
}

.chat-launcher {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 16px;
  cursor: pointer;
  color: #fff;
  border: 1px solid rgba(107, 236, 226, 0.46);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(135deg, #0b6f69, #139e95);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.38);
  font-weight: 800;
}

.chat-launcher-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  display: none;
  flex-direction: column;
  width: min(380px, calc(100vw - 28px));
  height: min(600px, calc(100vh - 110px));
  overflow: hidden;
  color: #eef8f5;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: #061713;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.chat-widget.is-open .chat-panel {
  display: flex;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b2924;
}

.chat-header div {
  display: grid;
  gap: 2px;
}

.chat-header span {
  color: #a9c3bd;
  font-size: 11px;
}

.chat-close {
  width: 34px;
  height: 34px;
  cursor: pointer;
  color: #dce9e5;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 24px;
}

.chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 17px;
}

.chat-message {
  max-width: 86%;
}

.chat-message p {
  margin: 0;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.chat-message-assistant {
  align-self: flex-start;
}

.chat-message-assistant p {
  color: #dce9e5;
  background: #10342e;
  border-bottom-left-radius: 4px;
}

.chat-message-user {
  align-self: flex-end;
}

.chat-message-user p {
  color: #fff;
  background: #0f766e;
  border-bottom-right-radius: 4px;
}

.chat-schedule-link {
  display: inline-flex;
  margin-top: 7px;
  padding: 8px 11px;
  color: #03100e;
  border-radius: 7px;
  background: #67e0d6;
  font-size: 12px;
  font-weight: 900;
}

.chat-quick-actions {
  display: flex;
  gap: 6px;
  padding: 0 14px 10px;
  overflow-x: auto;
}

.chat-quick {
  flex: 0 0 auto;
  padding: 7px 9px;
  cursor: pointer;
  color: #bfe5df;
  border: 1px solid rgba(103, 224, 214, 0.25);
  border-radius: 999px;
  background: transparent;
  font-size: 11px;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.chat-input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  outline: none;
  background: #0b211d;
  font-size: 13px;
}

.chat-input:focus {
  border-color: #33cfc3;
}

.chat-send {
  cursor: pointer;
  color: #fff;
  border: 0;
  border-radius: 9px;
  background: #0f766e;
  font-size: 19px;
}

.chat-send:disabled,
.chat-input:disabled {
  cursor: wait;
  opacity: 0.65;
}

.chat-note {
  margin: 0;
  padding: 0 14px 11px;
  color: #78918b;
  font-size: 9px;
  text-align: center;
}

@media (max-width: 640px) {
  .footer-visuals {
    flex-wrap: wrap;
  }

  .footer-logo-card {
    flex-basis: 150px;
    width: 150px;
  }

  .chat-widget {
    right: 12px;
    bottom: 0;
  }

  .chat-panel {
    bottom: 56px;
    height: min(570px, calc(100vh - 90px));
  }

  .chat-launcher span:last-child {
    display: none;
  }

  .chat-launcher {
    padding: 10px;
  }
}
