:root {
  --indigo: #3d1a6e;
  --indigo-deep: #2a1050;
  --indigo-soft: #5c2d91;
  --red: #c1121f;
  --red-dark: #9d0e19;
  --paper: #f7f6f9;
  --mist: #eeecf3;
  --line: #e5e1eb;
  --ink: #1c1528;
  --muted: #5e5770;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(45, 20, 80, 0.08);
  --shadow-sm: 0 8px 24px rgba(45, 20, 80, 0.06);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 76px;
  --max: 1160px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.02rem;
  overflow-x: hidden;
}

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

a {
  color: var(--indigo);
  text-decoration: none;
}

a:hover {
  color: var(--red);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid rgba(193, 18, 31, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--indigo);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 2000;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

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

.section {
  padding: 88px 0;
}

.section--paper {
  background: var(--paper);
}

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

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 2px;
}

h1,
h2,
h3,
.logo-wordmark {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  color: inherit;
}

.btn-primary {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(61, 26, 110, 0.22);
}

.btn-primary:hover {
  background: var(--indigo-deep);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--indigo);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.btn-light {
  background: var(--white);
  color: var(--indigo);
}

.btn-light:hover {
  color: var(--indigo);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(28, 21, 40, 0.04);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  min-width: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand img,
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.logo-wordmark {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.logo-wordmark span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 8px;
}

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

.nav-cta {
  margin-left: 8px;
  min-height: 42px;
  padding: 8px 16px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  display: none;
}

.hero {
  position: relative;
  padding: 56px 0 72px;
  background:
    radial-gradient(900px 420px at 92% -8%, rgba(92, 45, 145, 0.1), transparent 55%),
    radial-gradient(700px 360px at 0% 100%, rgba(193, 18, 31, 0.06), transparent 50%),
    var(--white);
  overflow: hidden;
}

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

.hero-copy p {
  color: var(--muted);
  font-size: 1.12rem;
  margin-top: 18px;
  max-width: 540px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-note strong {
  color: var(--ink);
}

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

.hero-photo {
  width: 86%;
  margin-left: auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.hero-photo-secondary {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: 48%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
}

.hero-photo-secondary img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.hero-chip {
  position: absolute;
  top: 24px;
  left: 4%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  color: var(--indigo);
}

.trust {
  padding: 28px 0 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust .section-head {
  margin-bottom: 28px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.client-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.client-card.placeholder-logo {
  background: linear-gradient(180deg, #fff 0%, #fbfafc 100%);
}

.monogram {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--indigo);
  background: var(--mist);
  flex-shrink: 0;
}

.monogram.alt {
  color: var(--red);
  background: #fdecee;
}

.client-card b {
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
}

.client-card span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

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

.solution-card--media {
  grid-column: span 2;
  padding: 0;
  overflow: hidden;
}

.solution-card--media .solution-media {
  height: 190px;
  overflow: hidden;
}

.solution-card--media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.solution-card--media:hover img {
  transform: scale(1.05);
}

.solution-card--media .solution-body {
  padding: 22px;
}

.icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--indigo);
  margin-bottom: 16px;
}

.icon-wrap svg {
  width: 24px;
  height: 24px;
}

.solution-card h3 {
  margin-bottom: 8px;
}

.solution-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.card-link {
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--indigo);
}

.card-link:hover {
  color: var(--red);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.featured-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-rows: auto 1fr;
}

.featured-visual {
  background: var(--paper);
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.featured-visual img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.featured-card:hover img {
  transform: scale(1.04);
}

.featured-body {
  padding: 26px;
}

.featured-body h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.featured-body p {
  color: var(--muted);
}

.benefit-list {
  margin: 16px 0 22px;
  padding-left: 18px;
  color: var(--ink);
}

.benefit-list li {
  margin: 6px 0;
}

.mock-caption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.mock-stage {
  height: 100%;
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(92, 45, 145, 0.12), transparent 45%),
    linear-gradient(180deg, #f4f1f8, #ebe7f2);
}

.browser,
.phone {
  width: min(100%, 360px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.browser {
  border-radius: 14px;
  overflow: hidden;
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #f3f0f6;
  border-bottom: 1px solid var(--line);
}

.browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9d3e2;
}

.browser-body,
.phone-body {
  padding: 14px;
  font-size: 0.78rem;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--mist);
  color: var(--muted);
}

.mock-kpi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.mock-kpi div {
  background: var(--paper);
  border-radius: 10px;
  padding: 10px;
}

.mock-kpi strong {
  display: block;
  color: var(--indigo);
}

.phone {
  width: 210px;
  border-radius: 28px;
  overflow: hidden;
}

.phone-head {
  background: #075e54;
  color: #fff;
  padding: 12px 14px;
  font-weight: 700;
}

.bubble {
  max-width: 85%;
  padding: 8px 10px;
  border-radius: 12px;
  margin: 8px 0;
}

.bubble.in {
  background: #dcf8c6;
}

.bubble.out {
  background: #f1eef6;
  margin-left: auto;
}

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

.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.why-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--muted);
  margin-top: 8px;
}

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

.about-photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.about-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-copy p + p {
  margin-top: 14px;
  color: var(--muted);
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.about-points div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  font-weight: 600;
  font-size: 0.92rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.industry-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.cta-band {
  background:
    radial-gradient(600px 240px at 90% 0%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(120deg, var(--indigo-deep), var(--indigo-soft));
  color: var(--white);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  opacity: 0.9;
  margin-top: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.contact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}

.contact-panel a {
  font-weight: 700;
}

.contact-meta {
  margin-top: 22px;
  display: grid;
  gap: 16px;
}

.contact-meta div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-meta dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.contact-meta dd {
  margin-top: 4px;
  font-weight: 600;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

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

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
}

.req {
  color: var(--red);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--ink);
  min-height: 48px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(61, 26, 110, 0.08);
  outline: none;
}

.form-status {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}

.form-status.is-success {
  background: #e9f7ef;
  color: #0f5132;
}

.form-status.is-error {
  background: #fdecee;
  color: #9d0e19;
}

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h3 {
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--muted);
  margin: 8px 0;
}

.footer-col a:hover {
  color: var(--indigo);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--indigo);
  color: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 80;
}

.scroll-top:hover {
  background: var(--indigo-deep);
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .cta-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-photo {
    width: 100%;
    margin: 0;
  }

  .hero-photo-secondary {
    width: 42%;
    bottom: 16px;
    left: 16px;
  }

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

  .why-grid,
  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav-overlay:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(28, 21, 40, 0.4);
    z-index: 90;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(320px, 88vw);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 88px 22px 24px;
    gap: 8px;
    box-shadow: var(--shadow);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0.28s ease;
    z-index: 110;
  }

  .site-nav.is-open {
    transform: none;
    visibility: visible;
  }

  .site-nav a {
    padding: 12px 8px;
    font-size: 1.05rem;
  }

  .nav-cta {
    margin: 12px 0 0;
    width: 100%;
  }

  body.nav-open {
    overflow: hidden;
  }

  .solution-card--media {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 28px 0 48px;
  }

  .hero-photo img,
  .about-photo img {
    height: 280px;
  }

  .hero-photo-secondary {
    display: none;
  }

  .hero-chip {
    left: 12px;
    top: 12px;
  }

  .solutions-grid,
  .featured-grid,
  .why-grid,
  .industries-grid,
  .client-grid,
  .about-points,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .solution-card--media {
    grid-column: auto;
  }

  .cta-band {
    padding: 28px 22px;
  }

  .logo-wordmark span {
    display: none;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
