@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #0b1020;
  --graphite: #1e293b;
  --primary: #4f46e5;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --muted: #64748b;
  --border: #e5e7eb;
  --footer: #0b1020;
  --container: 1140px;
  --nav-h: 76px;
  --font-display: "Newsreader", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(11, 16, 32, 0.04);
  --shadow-md: 0 12px 40px rgba(11, 16, 32, 0.08);
  --shadow-float: 0 20px 50px rgba(79, 70, 229, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

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

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(247, 248, 251, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--graphite);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--text);
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--graphite);
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.22);
}

.btn-primary:hover {
  background: #4338ca;
}

.btn-outline {
  border-color: var(--border);
  color: var(--graphite);
  background: var(--surface);
}

.hero {
  padding: 48px 0 56px;
  overflow: hidden;
  background: var(--bg);
}

@media (min-width: 981px) {
  .hero {
    box-sizing: border-box;
    height: calc(100vh - var(--nav-h));
    height: calc(100svh - var(--nav-h));
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100svh - var(--nav-h));
    display: flex;
    align-items: center;
    padding: 24px 0;
  }

  .hero-visual,
  .service-orbit {
    min-height: min(320px, calc(100svh - var(--nav-h) - 180px));
  }
}

#services.section--surface {
  border-top: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  max-width: 34rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.8vw, 3.65rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: var(--text);
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--graphite);
  margin: 0 0 24px;
  max-width: 32rem;
}

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

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

.service-orbit {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--graphite);
  animation: float 3.5s ease-in-out infinite;
}

.float-card::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

.float-card--apps {
  top: 8%;
  left: 12%;
  animation-delay: 0s;
}

.float-card--apps::before {
  background: var(--primary);
}

.float-card--web {
  top: 4%;
  right: 8%;
  animation-delay: -0.6s;
}

.float-card--web::before {
  background: var(--blue);
}

.float-card--backend {
  top: 38%;
  left: 0;
  animation-delay: -1.2s;
}

.float-card--backend::before {
  background: var(--cyan);
}

.float-card--automation {
  top: 32%;
  right: 0;
  animation-delay: -1.8s;
}

.float-card--automation::before {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
}

.float-card--branding {
  bottom: 18%;
  left: 18%;
  animation-delay: -2.4s;
}

.float-card--branding::before {
  background: #818cf8;
}

.float-card--stores {
  bottom: 10%;
  right: 12%;
  animation-delay: -3s;
}

.float-card--stores::before {
  background: var(--blue);
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(280px, 70%);
  aspect-ratio: 1;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(6, 182, 212, 0.08)),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-float);
}

.orbit-core::after {
  content: "Digital product studio";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--graphite);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.section {
  padding: 88px 0;
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section--offset {
  padding-left: max(24px, calc((100vw - var(--container)) / 2));
  padding-right: 24px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head--wide {
  max-width: 760px;
}

.section-label {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.section-head p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--muted);
}

.services-grid--static {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.services-grid--static .service-card {
  flex: initial;
  scroll-snap-align: unset;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(79, 70, 229, 0.07), rgba(6, 182, 212, 0.08)),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

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

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.service-index {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.btn-service {
  width: 100%;
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(79, 70, 229, 0.18);
  background: rgba(79, 70, 229, 0.06);
  color: var(--primary);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-service:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.consult-modal[hidden] {
  display: none;
}

.consult-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 16, 32, 0.55);
  backdrop-filter: blur(4px);
}

.consult-modal-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 32px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.consult-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: var(--bg);
  color: var(--graphite);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.consult-modal-dialog h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0 0 8px;
}

.consult-modal-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.consult-form {
  display: grid;
  gap: 16px;
}

.consult-form label {
  display: grid;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--graphite);
}

.label-optional {
  font-weight: 500;
  color: var(--muted);
}

.consult-form input,
.consult-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  font: inherit;
  color: var(--text);
}

.consult-form input:focus,
.consult-form textarea:focus {
  outline: 2px solid rgba(79, 70, 229, 0.25);
  border-color: var(--primary);
}

.consult-form input[readonly] {
  background: var(--surface);
  color: var(--muted);
}

.consult-submit {
  width: 100%;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

.process-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.process-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.process-step:first-child {
  padding-top: 0;
}

.process-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.process-step strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary);
}

.process-step h3 {
  margin: 0 0 6px;
  font-size: 1.0625rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.process-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.process-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--graphite);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chip-grid li {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--graphite);
  box-shadow: var(--shadow-sm);
}

.chip-grid--tech li {
  background: var(--bg);
}

.section-hint {
  margin: 18px 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.section-hint-icon {
  display: none;
}

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

.audience-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.audience-item:hover {
  border-color: rgba(6, 182, 212, 0.4);
}

.audience-item.is-open {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: var(--shadow-md);
}

.audience-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.audience-trigger-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.audience-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.audience-meta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

.audience-chevron {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.audience-chevron::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--graphite);
  border-bottom: 2px solid var(--graphite);
  transform: translate(-50%, -65%) rotate(45deg);
  transition: border-color 0.25s ease;
}

.audience-item.is-open .audience-chevron {
  transform: rotate(180deg);
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.35);
}

.audience-item.is-open .audience-chevron::before {
  border-color: var(--cyan);
}

.audience-item.is-open .audience-meta {
  color: var(--cyan);
}

.audience-trigger:focus-visible {
  outline: 2px solid rgba(6, 182, 212, 0.35);
  outline-offset: -2px;
}

.audience-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.audience-item.is-open .audience-panel {
  grid-template-rows: 1fr;
}

.audience-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.audience-panel-inner p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--graphite);
  font-size: 0.9375rem;
  line-height: 1.65;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.audience-item:not(.is-open) .audience-panel-inner p {
  border-top-color: transparent;
  padding-top: 0;
  padding-bottom: 0;
}

.chat-auto-trigger {
  height: 1px;
  width: 100%;
  pointer-events: none;
  visibility: hidden;
}

.contact-band {
  margin: 0 24px 88px;
  padding: 56px;
  border-radius: 28px;
  background: var(--footer);
  color: #fff;
}

.contact-band-label {
  color: var(--cyan) !important;
}

.contact-band-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.contact-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 16px;
}

.contact-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34rem;
}

.contact-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-on-dark {
  background: #fff;
  color: var(--text);
  box-shadow: none;
}

.btn-on-dark:hover {
  background: var(--cyan);
  color: var(--text);
}

.btn-on-dark-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
}

.btn-on-dark-outline:hover {
  border-color: #fff;
  color: #fff;
}

.contact-details dl {
  margin: 0;
  display: grid;
  gap: 18px;
}

.contact-details dt {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.contact-details dd {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

.contact-details a {
  color: #fff;
  font-weight: 600;
}

.contact-details a:hover {
  color: var(--cyan);
}

.studio-note {
  max-width: 720px;
  padding: 32px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
}

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

.studio-note a {
  color: var(--primary);
  font-weight: 600;
}

.page-hero {
  padding: 64px 0 40px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.0625rem;
}

.prose {
  max-width: 720px;
  padding-bottom: 80px;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
  color: var(--text);
}

.prose p,
.prose li {
  color: var(--graphite);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose a {
  color: var(--primary);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-bottom: 80px;
}

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

.contact-box--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.06), rgba(6, 182, 212, 0.04));
}

.contact-box h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.contact-box p,
.contact-box a {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.contact-box a {
  color: var(--primary);
  font-weight: 600;
}

.contact-box .contact-primary {
  font-size: 1.25rem;
}

.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 32px;
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand span {
  color: var(--cyan);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-tagline {
  max-width: 320px;
  margin: 12px 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.footer-links--legal {
  gap: 28px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}

.legal-doc {
  padding: 48px 0 80px;
}

.legal-doc h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  margin: 0 0 8px;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0 0 32px;
}

.legal-doc h2 {
  font-size: 1.125rem;
  margin: 28px 0 10px;
}

.legal-doc p,
.legal-doc li {
  color: var(--graphite);
}

.legal-doc a {
  color: var(--primary);
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal--left {
  transform: translate3d(-48px, 0, 0);
}

.reveal--right {
  transform: translate3d(48px, 0, 0);
}

.reveal--up {
  transform: translate3d(0, 36px, 0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

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

  .service-orbit {
    min-height: 360px;
  }

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

  .contact-band {
    margin-inline: 24px;
    padding: 40px 28px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    background: rgba(247, 248, 251, 0.98);
    border-bottom: 1px solid var(--border);
  }

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

  .nav-links li a {
    display: block;
    padding: 12px 0;
  }

  .nav-cta {
    text-align: center;
  }

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

  .contact-box--featured {
    grid-column: span 1;
  }

  .float-card {
    padding: 10px 14px;
    font-size: 0.8125rem;
  }

  .orbit-core::after {
    font-size: 1.1rem;
  }

  .services-grid--static {
    grid-template-columns: 1fr;
  }

  .audience-accordion {
    grid-template-columns: 1fr;
  }

  .site-chat-panel {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 80px;
    max-height: min(70vh, 520px);
  }
}

.site-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
}

.site-chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 14px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--footer);
  color: #fff;
  box-shadow: 0 16px 40px rgba(11, 16, 32, 0.22);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-chat-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(11, 16, 32, 0.28);
}

.site-chat-launcher-icon {
  font-size: 1.125rem;
  line-height: 1;
}

.site-chat.is-open .site-chat-launcher {
  display: none;
}

.site-chat-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(380px, calc(100vw - 48px));
  max-height: min(560px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(11, 16, 32, 0.18);
  overflow: hidden;
  transform-origin: bottom right;
  animation: chat-panel-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-chat-panel[hidden] {
  display: none !important;
}

@keyframes chat-panel-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.site-chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(6, 182, 212, 0.1));
  border-bottom: 1px solid var(--border);
}

.site-chat-label {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.site-chat-header h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.site-chat-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--graphite);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.site-chat-body {
  flex: 1;
  overflow: auto;
  padding: 16px;
  display: grid;
  gap: 12px;
  background: var(--bg);
}

.site-chat-message {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--graphite);
}

.site-chat-message--bot {
  justify-self: start;
}

.site-chat-message--user {
  justify-self: end;
  border-radius: 14px 14px 4px 14px;
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.14);
}

.site-chat-message--muted {
  color: var(--muted);
  font-size: 0.8125rem;
}

.site-chat-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.site-chat-compose input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  font: inherit;
  font-size: 0.875rem;
}

.site-chat-compose input:focus {
  outline: 2px solid rgba(6, 182, 212, 0.25);
  border-color: var(--cyan);
}

.site-chat-send {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--cyan);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
}

.site-chat-send:hover {
  background: #0891b2;
}
