:root {
  --ink: #20245d;
  --muted: #59656d;
  --surface: #ffffff;
  --soft: #f5f7f6;
  --line: #dce3df;
  --teal: #0a6f73;
  --teal-dark: #074b4f;
  --coral: #c11f67;
  --gold: #d99b26;
  --green: #4f8c64;
  --shadow: 0 20px 60px rgba(23, 32, 38, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

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

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.84);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #ffffff;
}

.site-nav a[aria-current="page"] {
  border-bottom: 2px solid var(--coral);
  padding-bottom: 4px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(18px, 5vw, 64px) 76px;
  color: #ffffff;
}

.page-main {
  padding-top: 80px;
}

.page-hero {
  padding: clamp(70px, 9vw, 118px) 0;
  background:
    linear-gradient(135deg, rgba(32, 36, 93, 0.94), rgba(193, 31, 103, 0.82)),
    var(--ink);
  color: #ffffff;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.page-hero p:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 18, 22, 0.88) 0%, rgba(9, 18, 22, 0.7) 35%, rgba(9, 18, 22, 0.1) 78%),
    linear-gradient(0deg, rgba(9, 18, 22, 0.34), rgba(9, 18, 22, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(4rem, 13vw, 9.4rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-lede {
  width: min(620px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}

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

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

.button-primary {
  background: var(--coral);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(233, 104, 81, 0.28);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.contact .button-secondary,
.commitment .button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-dark {
  margin-top: 26px;
  background: var(--ink);
  color: #ffffff;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal-dark);
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--coral);
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.hero-stats span {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  color: #ffffff;
}

.section-shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.quick-links {
  background: var(--ink);
  color: #ffffff;
}

.quick-link-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.quick-link-row a {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  text-align: center;
}

.quick-link-row a:hover,
.quick-link-row a:focus-visible {
  background: #2c3178;
  color: #ffffff;
}

section {
  scroll-margin-top: 90px;
}

.band {
  background: var(--soft);
}

.intro,
.services,
.values,
.process,
.future {
  padding: clamp(72px, 10vw, 116px) 0;
}

.vision-mission,
.products,
.why,
.clients,
.commitment,
.contact {
  padding: clamp(64px, 9vw, 104px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

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

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

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

p {
  margin: 0;
}

.intro-copy,
.section-text {
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-copy p + p {
  margin-top: 18px;
}

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

.vm-grid article,
.service-card,
.value-row article,
.timeline article,
.contact-panel,
.commitment-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.vm-grid article {
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow);
}

.mini-icon,
.service-icon,
.timeline span {
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
}

.mini-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  background: var(--teal);
}

.vm-grid h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.vm-grid p,
.service-card p,
.value-row p,
.timeline p,
.contact-panel p,
.commitment-panel p {
  color: var(--muted);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: clamp(30px, 5vw, 48px);
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
}

.slider-controls button:hover,
.slider-controls button:focus-visible {
  background: var(--coral);
  color: #ffffff;
}

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

.service-grid-large .service-card {
  padding: clamp(26px, 4vw, 38px);
}

.service-grid-large .service-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.service-detail {
  padding: clamp(72px, 10vw, 116px) 0;
}

.service-showcase,
.software-projects,
.software-showcase {
  padding: clamp(72px, 10vw, 116px) 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.service-detail-panel,
.detail-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: clamp(24px, 4vw, 38px);
}

.service-detail-panel h2,
.detail-list h2 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.service-detail-panel p {
  color: var(--muted);
}

.service-intro-copy {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.service-detail-image {
  width: 100%;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

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

.detail-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.service-media,
.service-deliverables {
  padding: clamp(72px, 10vw, 116px) 0;
}

.service-media .section-heading .section-text {
  margin-top: 18px;
}

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

.service-media-card,
.service-breakdown-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.service-media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.service-media-card div,
.service-breakdown-card {
  padding: clamp(20px, 3vw, 28px);
}

.service-media-card h3,
.service-breakdown-card h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.service-media-card p,
.service-breakdown-card p {
  color: var(--muted);
}

.service-breakdown {
  padding: clamp(72px, 10vw, 116px) 0;
}

.service-process {
  padding-top: clamp(72px, 10vw, 116px);
}

.software-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.software-project-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: clamp(18px, 2.4vw, 24px);
}

.software-project-card > span {
  margin: 2px 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-shot {
  display: block;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  overflow: hidden;
}

.project-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  transition: transform 180ms ease;
}

.project-shot:hover img,
.project-shot:focus-visible img {
  transform: scale(1.02);
}

.software-project-card h3 {
  font-size: 1.35rem;
}

.software-project-card p {
  margin-top: 12px;
  color: var(--muted);
}

.project-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.project-features small {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(10, 111, 115, 0.18);
  border-radius: 8px;
  padding: 6px 9px;
  background: rgba(10, 111, 115, 0.06);
  color: var(--teal-dark);
  font-weight: 800;
}

.software-project-card .text-link {
  margin-top: auto;
  padding-top: 18px;
}

.ai-solutions,
.chat-system,
.quote-section {
  padding: clamp(72px, 10vw, 116px) 0;
}

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

.ai-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 26px;
}

.ai-card h3 {
  margin-bottom: 10px;
}

.ai-card p {
  color: var(--muted);
}

.chat-system-grid,
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

.chat-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chat-prompts button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}

.chat-prompts button:hover,
.chat-prompts button:focus-visible {
  border-color: var(--coral);
  color: var(--coral);
}

.chat-demo,
.quote-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.chat-demo {
  overflow: hidden;
}

.chat-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: var(--ink);
  color: #ffffff;
}

.chat-demo-header span {
  border-radius: 999px;
  background: var(--green);
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.chat-messages {
  display: flex;
  min-height: 260px;
  max-height: 320px;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 20px;
  background: var(--soft);
}

.chat-message {
  max-width: 82%;
  border-radius: 8px;
  padding: 12px 14px;
}

.chat-message p {
  color: inherit;
}

.bot-message {
  align-self: flex-start;
  background: #ffffff;
  color: var(--ink);
}

.user-message {
  align-self: flex-end;
  background: var(--coral);
  color: #ffffff;
}

.chat-input-row {
  display: flex;
  gap: 10px;
  padding: 16px;
}

.chat-input-row input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
}

.chat-input-row button {
  width: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.chat-feature-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.chat-feature-row article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 18px;
}

.chat-feature-row p {
  color: var(--muted);
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.ai-chatbot-lab {
  padding: clamp(72px, 10vw, 116px) 0;
  background: var(--soft);
}

.ai-chat-shell {
  display: grid;
  min-height: 720px;
  grid-template-rows: auto 1fr auto auto auto auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px 22px;
  background: #ffffff;
}

.chat-kicker {
  display: inline-flex;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ai-chat-header h2 {
  margin-top: 4px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.tool-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 13px;
  font-weight: 800;
  cursor: pointer;
}

.tool-button.strong {
  border-color: var(--coral);
  background: var(--coral);
  color: #ffffff;
}

.tool-button:hover,
.tool-button:focus-visible {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.ai-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  overflow-y: auto;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(245, 247, 246, 0.94)),
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(89, 101, 109, 0.12) 32px);
}

.ai-message {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.ai-message.user {
  grid-template-columns: minmax(0, 1fr) 42px;
}

.ai-message.user .ai-avatar {
  order: 2;
  background: var(--ink);
  color: #ffffff;
}

.ai-message.user .ai-bubble {
  justify-self: end;
  background: var(--coral);
  color: #ffffff;
}

.ai-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 111, 115, 0.12);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.ai-bubble {
  max-width: 780px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 13px 15px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.generated-design {
  display: block;
  width: min(100%, 520px);
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.upload-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(150px, auto) 120px;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 16px 22px;
  background: #ffffff;
}

.upload-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.upload-field label {
  color: var(--ink);
  font-weight: 800;
}

.upload-field input[type="file"] {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 9px;
  color: var(--ink);
}

.upload-field span {
  color: var(--muted);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.upload-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.generation-options {
  display: grid;
  grid-template-columns: auto minmax(74px, 1fr);
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.generation-options select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 8px;
  font-weight: 800;
}

.image-preview {
  display: none;
  width: 112px;
  height: 84px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 14px 22px;
  background: #ffffff;
}

.quick-prompts button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 13px;
  font-weight: 800;
  cursor: pointer;
}

.quick-prompts button:hover,
.quick-prompts button:focus-visible {
  border-color: var(--coral);
  color: var(--coral);
}

.ai-chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 16px 22px 10px;
  background: #ffffff;
}

.ai-chat-composer textarea {
  display: block;
  width: 100%;
  min-height: 56px;
  max-height: 180px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 14px;
  font: inherit;
}

.send-button {
  min-width: 108px;
  height: 56px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.ai-chat-status {
  min-height: 24px;
  margin: 0;
  padding: 0 22px 14px;
  color: var(--muted);
  font-weight: 700;
}

.software-showcase,
.service-showcase {
  background:
    linear-gradient(135deg, rgba(32, 36, 93, 0.97), rgba(32, 36, 93, 0.88)),
    var(--ink);
  color: #ffffff;
  overflow: hidden;
}

.software-showcase .section-kicker,
.service-showcase .section-kicker {
  color: #ff4f9a;
}

.showcase-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.showcase-heading > div:first-child {
  width: min(820px, 100%);
}

.showcase-heading h2 {
  color: #ffffff;
}

.software-showcase .slider-controls button,
.service-showcase .slider-controls button {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.project-showcase,
.service-showcase-slider {
  position: relative;
  min-height: 560px;
}

.project-showcase-slide,
.service-showcase-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(280px, 0.9fr) minmax(360px, 1.15fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  min-height: 560px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.project-showcase-slide.is-active,
.service-showcase-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.project-note {
  align-self: start;
  padding-top: 28px;
}

.project-note span {
  display: inline-grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
}

.project-note p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-transform: uppercase;
}

.project-showcase-copy h3,
.service-showcase-copy h3 {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
}

.project-showcase-copy > p:not(.section-kicker),
.service-showcase-copy > p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.project-showcase-copy .project-features small,
.service-showcase-copy .project-features small {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.project-showcase-image {
  position: relative;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.project-showcase-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.showcase-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.showcase-dots button {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.showcase-dots button.is-active {
  background: #ffffff;
}

.service-card {
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  background: var(--ink);
  font-size: 0.9rem;
}

.service-card:nth-child(2) .service-icon,
.service-card:nth-child(5) .service-icon {
  background: var(--teal);
}

.service-card:nth-child(3) .service-icon {
  background: var(--gold);
}

.service-card:nth-child(4) .service-icon {
  background: var(--coral);
}

.service-card:nth-child(6) .service-icon {
  background: var(--green);
}

.service-card h3,
.value-row h3,
.timeline h3 {
  margin-bottom: 10px;
}

.feature-list,
.client-tags,
.portfolio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-list span,
.client-tags span,
.portfolio-list span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
}

.product-tags span {
  border-color: rgba(193, 31, 103, 0.22);
  background: rgba(193, 31, 103, 0.06);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.portfolio-list {
  align-content: start;
}

.portfolio-list span {
  min-height: 54px;
  background: #ffffff;
}

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

.portfolio-card {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.portfolio-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portfolio-card h3 {
  font-size: 1.2rem;
}

.app-screen-grid {
  align-items: stretch;
}

.app-screen-card {
  display: flex;
  flex-direction: column;
}

.app-screen-card .project-shot {
  margin-bottom: 16px;
}

.app-screen-card p {
  margin-top: 10px;
  color: var(--muted);
}

.app-screen-card .text-link {
  margin-top: auto;
  padding-top: 18px;
}

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

.value-row article {
  padding: 22px;
  border-top: 5px solid var(--teal);
}

.value-row article:nth-child(2) {
  border-top-color: var(--coral);
}

.value-row article:nth-child(3) {
  border-top-color: var(--gold);
}

.value-row article:nth-child(4) {
  border-top-color: var(--green);
}

.value-row article:nth-child(5) {
  border-top-color: var(--ink);
}

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

.timeline article {
  position: relative;
  padding: 22px;
}

.timeline span {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  background: var(--coral);
}

.commitment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 32px;
  align-items: center;
  padding: clamp(26px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(10, 111, 115, 0.09), rgba(233, 104, 81, 0.08)),
    #ffffff;
}

.contact {
  background: var(--ink);
  color: #ffffff;
}

.contact .section-kicker {
  color: #f2b25e;
}

.contact .section-text {
  color: rgba(255, 255, 255, 0.72);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

.contact-panel {
  padding: clamp(22px, 4vw, 34px);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
}

.contact-panel article + article {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-panel a {
  color: var(--teal-dark);
  font-weight: 800;
}

.branch-map {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
}

.branch-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.map-link {
  display: inline-flex;
  margin-top: 10px;
}

.site-footer {
  padding: 24px 0;
  background: #10171c;
  color: rgba(255, 255, 255, 0.75);
}

.floating-assistant {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
}

.assistant-fab {
  display: inline-flex;
  min-height: 48px;
  max-width: min(260px, calc(100vw - 40px));
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #25d366;
  color: #ffffff;
  padding: 12px 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  border: 0;
  cursor: pointer;
}

.assistant-fab:hover,
.assistant-fab:focus-visible {
  background: #1da851;
}

.floating-chat {
  position: absolute;
  right: 0;
  bottom: 66px;
  display: none;
  width: min(380px, calc(100vw - 40px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.floating-assistant.is-open .floating-chat {
  display: block;
}

.floating-chat header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: var(--ink);
  color: #ffffff;
}

.floating-chat header span {
  color: #8ff0b2;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.floating-chat h2 {
  margin: 3px 0 0;
  font-size: 1.1rem;
  line-height: 1.15;
}

.floating-chat header button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.35rem;
  cursor: pointer;
}

.floating-chat-messages {
  display: flex;
  max-height: 320px;
  min-height: 210px;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 14px;
  background: var(--soft);
}

.floating-message {
  max-width: 86%;
  border-radius: 8px;
  padding: 10px 12px;
}

.floating-message.assistant {
  align-self: flex-start;
  background: #ffffff;
  color: var(--ink);
}

.floating-message.user {
  align-self: flex-end;
  background: var(--coral);
  color: #ffffff;
}

.floating-message p {
  color: inherit;
  font-size: 0.9rem;
  line-height: 1.45;
}

.floating-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 12px;
  background: #ffffff;
}

.floating-prompts button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 7px 9px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.floating-prompts button:hover,
.floating-prompts button:focus-visible {
  border-color: var(--coral);
  color: var(--coral);
}

.floating-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 12px;
  background: #ffffff;
}

.floating-chat-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  color: var(--ink);
  font: inherit;
}

.floating-chat-form button {
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  padding: 0 13px;
  font-weight: 800;
  cursor: pointer;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-inner strong {
  color: #ffffff;
}

@media (max-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .value-row,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-grid,
  .service-media-grid,
  .service-breakdown-grid,
  .chat-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(23, 32, 38, 0.98);
    overflow: hidden;
  }

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

  .site-nav a {
    padding: 15px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav a[aria-current="page"] {
    border-bottom: 0;
    padding-bottom: 15px;
    background: rgba(255, 255, 255, 0.08);
  }

  .site-nav a:first-child {
    border-top: 0;
  }

  .hero {
    min-height: 88vh;
    padding: 112px 18px 54px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 18, 22, 0.9), rgba(9, 18, 22, 0.66)),
      linear-gradient(0deg, rgba(9, 18, 22, 0.36), rgba(9, 18, 22, 0.14));
  }

  .hero h1 {
    font-size: clamp(3.8rem, 19vw, 5.8rem);
  }

  .hero-stats span {
    width: 100%;
  }

  .showcase-heading {
    align-items: start;
    flex-direction: column;
  }

  .slider-controls {
    width: 100%;
  }

  .slider-controls button {
    flex: 1;
  }

  .project-showcase,
  .project-showcase-slide,
  .service-showcase-slider,
  .service-showcase-slide {
    min-height: auto;
  }

  .project-showcase-slide,
  .project-showcase-slide.is-active,
  .service-showcase-slide,
  .service-showcase-slide.is-active {
    grid-template-columns: 1fr;
  }

  .project-showcase-slide,
  .service-showcase-slide {
    transform: translateY(16px);
  }

  .project-note {
    display: none;
  }

  .project-showcase-copy h3,
  .service-showcase-copy h3 {
    font-size: clamp(2.4rem, 13vw, 4.2rem);
  }

  .ai-chat-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ai-message,
  .ai-message.user {
    grid-template-columns: 1fr;
  }

  .ai-avatar {
    display: none;
  }

  .ai-bubble {
    max-width: 100%;
  }

  .upload-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .upload-actions {
    justify-content: stretch;
  }

  .tool-button {
    flex: 1 1 150px;
  }

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

  .image-preview {
    width: 100%;
    height: 150px;
  }

  .ai-chat-composer {
    grid-template-columns: 1fr;
  }

  .send-button {
    width: 100%;
  }

  .split,
  .vm-grid,
  .commitment-panel,
  .contact-grid,
  .chat-system-grid,
  .quote-grid,
  .portfolio-grid,
  .page-hero-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .quick-link-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .value-row,
  .timeline,
  .portfolio-card-grid,
  .software-project-grid,
  .ai-grid,
  .service-media-grid,
  .service-breakdown-grid,
  .chat-feature-row {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
