:root {
  --bg: #f3f8fc;
  --bg-soft: #e8f2f9;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #0f172a;
  --muted: #42566f;
  --line: rgba(15, 23, 42, 0.12);
  --line-soft: rgba(15, 23, 42, 0.08);

  --brand-cyan: #21d2f4;
  --brand-blue: #2e9cdd;
  --brand-indigo: #3851ae;
  --brand-ink: #0a1430;
  --button-gradient: linear-gradient(90deg, #31dcf7 0%, #27c7ee 28%, #2e9cdd 66%, #3851ae 100%);

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --shadow-soft: 0 12px 34px rgba(12, 22, 44, 0.08);
  --shadow-strong: 0 24px 62px rgba(10, 20, 44, 0.14);

  --container: 1180px;
  --section-space: clamp(3rem, 5vw, 5.2rem);
  --scroll-progress: 0%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 550px at 110% -20%, rgba(56, 81, 174, 0.11), transparent 65%),
    radial-gradient(1100px 540px at -10% 4%, rgba(33, 210, 244, 0.16), transparent 68%),
    linear-gradient(180deg, var(--bg) 0%, #f7fbff 60%, var(--bg-soft) 100%);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 32rem;
  height: 32rem;
  z-index: -1;
  border-radius: 50%;
  filter: blur(68px);
  opacity: 0.38;
  pointer-events: none;
  animation: drift 20s ease-in-out infinite alternate;
}

body::before {
  left: -12rem;
  top: 12rem;
  background: rgba(33, 210, 244, 0.34);
}

body::after {
  right: -10rem;
  top: -8rem;
  background: rgba(56, 81, 174, 0.26);
  animation-delay: 3s;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, 40px, 0) scale(1.08);
  }
}

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

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

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 2.2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.skip-link:focus {
  clip-path: none;
  width: auto;
  height: auto;
  left: 1rem;
  top: 1rem;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-xs);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  z-index: 2000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  backdrop-filter: blur(12px);
  background: rgba(243, 248, 252, 0.72);
  border-bottom: 1px solid var(--line-soft);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: var(--scroll-progress);
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-indigo));
  transition: width 0.12s linear;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

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

.brand-logo-stack,
.hero-logo-stack {
  display: block;
}

.brand-logo {
  width: clamp(166px, 18vw, 236px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(19, 42, 93, 0.12));
}

.brand-logo-dark,
.hero-logo-dark {
  display: none;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-main a {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1c2d44;
  padding: 0.6rem 0.82rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-main a:hover,
.nav-main a.active {
  background: rgba(56, 81, 174, 0.14);
  color: var(--brand-ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-toggle,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem;
  box-shadow: var(--shadow-soft);
}

.lang-toggle button,
.theme-toggle button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.lang-toggle button[aria-pressed="true"] {
  background-color: #27c7ee;
  background-image: var(--button-gradient);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #fff;
  box-shadow: 0 8px 18px rgba(18, 67, 130, 0.16);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.lang-toggle button[aria-pressed="false"]:hover {
  background: rgba(56, 81, 174, 0.1);
  color: var(--brand-ink);
}

.theme-toggle button {
  width: 2.24rem;
  height: 2.24rem;
  padding: 0;
  justify-content: center;
}

.theme-toggle button:hover {
  background: rgba(56, 81, 174, 0.1);
  color: var(--brand-ink);
}

.theme-toggle button[aria-pressed="true"] {
  background: rgba(56, 81, 174, 0.14);
  color: var(--brand-ink);
}

.theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-icon svg {
  width: 1rem;
  height: 1rem;
}

.theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-icon-sun {
  display: inline-flex;
}

html[data-theme="dark"] .brand-logo-light,
html[data-theme="dark"] .hero-logo-light {
  display: none;
}

html[data-theme="dark"] .brand-logo-dark,
html[data-theme="dark"] .hero-logo-dark {
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  padding: 0.72rem 1.1rem;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  background-color: #27c7ee;
  background-image: var(--button-gradient);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: 0 10px 24px rgba(18, 67, 130, 0.16);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(18, 67, 130, 0.18);
  filter: saturate(1.04);
}

.button.primary {
  background: var(--button-gradient);
}

.button.primary:hover {
  box-shadow: 0 16px 32px rgba(38, 126, 204, 0.32);
}

.button.secondary {
  background: var(--button-gradient);
}

.button.secondary:hover {
  background: var(--button-gradient);
}

.button.full {
  width: 100%;
}

.burger {
  display: none;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.burger-line,
.burger-line::before,
.burger-line::after {
  width: 1.12rem;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-ink);
  display: block;
  position: relative;
  transition: transform 0.2s ease;
}

.burger-line::before,
.burger-line::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger-line::before {
  top: -0.34rem;
}

.burger-line::after {
  top: 0.34rem;
}

.hero {
  padding: clamp(1.7rem, 3.9vw, 3.2rem) 0 2.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(43, 101, 170, 0.28);
  background: rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: #1b406c;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand-cyan), var(--brand-blue));
  box-shadow: 0 0 0 5px rgba(33, 210, 244, 0.18);
}

.hero h1 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 1rem 0 1rem;
  max-width: 18ch;
}

.hero-lead {
  margin: 0;
  font-size: clamp(1rem, 1.9vw, 1.18rem);
  color: #24415f;
  max-width: 58ch;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.66rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(4px);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 1.15rem;
  display: grid;
  gap: 0.91rem;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(460px 280px at 20% -10%, rgba(33, 210, 244, 0.22), transparent 65%);
  pointer-events: none;
}

.hero-logo {
  width: 100%;
  max-width: 330px;
  margin: 0 auto -1.15rem;
  border-radius: 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-card h2 {
  margin: 0;
}

.highlight-list {
  margin: 0.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
  position: relative;
}

.highlight-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: #1f3e62;
  font-weight: 600;
  font-size: 0.93rem;
}

.check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(33, 210, 244, 0.25), rgba(56, 81, 174, 0.22));
  border: 1px solid rgba(36, 82, 143, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex: 0 0 auto;
}

.section {
  padding: var(--section-space) 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.section-heading > div {
  display: grid;
  gap: 0.7rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.42rem 0.75rem;
  border: 1px solid rgba(9, 19, 42, 0.16);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
}

.section-kicker::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--button-gradient);
  box-shadow: 0 0 0 5px rgba(33, 210, 244, 0.16);
}

.section-heading h2 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.01em;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 68ch;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.subsection-block {
  margin-top: 1.5rem;
}

.services-projects-block {
  margin-top: 2.55rem;
}

.tile {
  padding: 1.1rem;
}

.tile-icon {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  margin-bottom: 0.9rem;
  color: #274f80;
  border: 1px solid rgba(33, 93, 166, 0.18);
  background: linear-gradient(180deg, rgba(33, 210, 244, 0.16), rgba(56, 81, 174, 0.1));
  box-shadow: 0 8px 18px rgba(18, 67, 130, 0.08);
}

.tile-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.tile-title-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}

.tile-title-row h3 {
  margin: 0;
}

.tile-icon-inline {
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0;
  flex: 0 0 auto;
}

.tile h3 {
  margin: 0;
  font-size: 1.08rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  line-height: 1.25;
}

.tile p {
  margin: 0.65rem 0 0;
  color: #264464;
}

.tag-row {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.tag {
  border-radius: 999px;
  border: 1px solid rgba(24, 47, 81, 0.16);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  color: #2f5077;
  font-weight: 700;
  padding: 0.32rem 0.62rem;
}

.pain-grid .tile {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(241, 249, 255, 0.8));
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.step {
  position: relative;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 36, 64, 0.12);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-soft);
}

.step-index {
  display: inline-flex;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: #fff;
  background-color: #27c7ee;
  background-image: var(--button-gradient);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border: 0;
  box-shadow: 0 10px 24px rgba(18, 67, 130, 0.16);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.step h3 {
  margin: 0.72rem 0 0;
  font-size: 1rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.step p {
  margin: 0.45rem 0 0;
  color: #2d4c72;
  font-size: 0.92rem;
}

.case-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-redirect-grid {
  align-items: stretch;
}

.redirect-card {
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(21, 43, 76, 0.14);
  background:
    radial-gradient(560px 260px at 0% 0%, rgba(33, 210, 244, 0.18), transparent 66%),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.redirect-card-alt {
  background:
    radial-gradient(560px 260px at 100% 0%, rgba(56, 81, 174, 0.16), transparent 66%),
    rgba(255, 255, 255, 0.82);
}

.redirect-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #355980;
}

.redirect-card h3 {
  margin: 0;
  font-size: 1.18rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.redirect-card h4 {
  margin: 0;
  font-size: 1rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  color: #183150;
}

.redirect-card p {
  margin: 0;
  color: #274567;
  max-width: 44ch;
}

.redirect-card .button {
  margin-top: auto;
  min-width: 12.5rem;
  justify-content: center;
}

.case-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 35, 65, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

.case-card-trigger {
  width: 100%;
  appearance: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.case-card-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(18, 67, 130, 0.14);
  border-color: rgba(33, 93, 166, 0.18);
}

.case-card-trigger:focus-visible {
  outline: 2px solid rgba(44, 122, 206, 0.36);
  outline-offset: 3px;
}

.case-card-title {
  display: block;
  margin: 0;
  font-size: 1.08rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  color: #112743;
  padding-right: 2.7rem;
}

.case-meta {
  color: #34608e;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.case-card-summary,
.case-impact-line {
  display: block;
}

.case-card-summary {
  margin: 0;
  color: #234060;
}

.case-impact-line {
  color: #1f3f63;
  font-weight: 600;
}

.case-impact-line strong {
  color: #183150;
}

.case-card-info {
  position: absolute;
  top: 0.92rem;
  right: 0.92rem;
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #355980;
  border: 1px solid rgba(33, 93, 166, 0.16);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(18, 67, 130, 0.08);
}

.case-card-info svg {
  width: 1.05rem;
  height: 1.05rem;
}

.case-block {
  display: grid;
  gap: 0.28rem;
}

.case-block h4 {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #183150;
}

.site-header,
main,
.footer {
  transition: filter 0.22s ease;
}

body.modal-open {
  overflow: hidden;
}

body.modal-open .site-header,
body.modal-open main,
body.modal-open .footer {
  filter: blur(7px);
}

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

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

.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 24, 40, 0.48);
}

.case-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(86vh, 880px);
  overflow: auto;
  padding: 1.35rem;
  border-radius: 24px;
  border: 1px solid rgba(16, 35, 65, 0.12);
  background:
    radial-gradient(640px 320px at 0% 0%, rgba(33, 210, 244, 0.16), transparent 64%),
    rgba(248, 251, 255, 0.96);
  box-shadow: 0 28px 70px rgba(10, 26, 49, 0.28);
}

.case-modal-content {
  display: grid;
  gap: 1rem;
}

.case-modal-title {
  margin: 0;
  padding-right: 2.6rem;
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  color: #112743;
}

.case-modal-meta {
  margin-top: -0.15rem;
}

.case-modal-close {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(16, 35, 65, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #173859;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.case-modal-close:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(18, 67, 130, 0.12);
}

.case-modal-close:focus-visible {
  outline: 2px solid rgba(44, 122, 206, 0.38);
  outline-offset: 2px;
}

.case-modal-close svg {
  width: 1rem;
  height: 1rem;
}

.blog-feature-wrap {
  display: flex;
  justify-content: center;
}

.blog-feature-card {
  width: min(100%, 46rem);
  padding: 1.45rem 1.45rem 2rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background:
    radial-gradient(560px 260px at 0% 0%, rgba(33, 210, 244, 0.14), transparent 64%),
    rgba(255, 255, 255, 0.86);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.blog-feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 83, 148, 0.22);
  box-shadow: 0 22px 44px rgba(18, 67, 130, 0.12);
  text-decoration: none;
}

.blog-feature-card:focus-visible {
  outline: 2px solid rgba(44, 122, 206, 0.38);
  outline-offset: 3px;
  text-decoration: none;
}

.blog-feature-label {
  margin: 0;
}

.blog-feature-meta {
  margin: 0.32rem 0 0;
  color: #4a668b;
  font-size: 0.9rem;
  font-weight: 700;
}

.blog-feature-title {
  margin: 1.15rem 0 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.blog-feature-description {
  margin: 1rem 0 0;
  max-width: 42rem;
  color: #274567;
  font-size: 1rem;
  line-height: 1.72;
}

.blog-feature-button {
  margin-top: 1.4rem;
}

.note-box {
  border-radius: var(--radius-md);
  border: 1px solid rgba(14, 33, 61, 0.12);
  background: rgba(255, 255, 255, 0.84);
  padding: 1.05rem;
}

.contact-card {
  border-color: rgba(33, 93, 166, 0.16);
  background:
    radial-gradient(460px 240px at 0% 0%, rgba(33, 210, 244, 0.14), transparent 68%),
    linear-gradient(150deg, rgba(33, 210, 244, 0.08), rgba(56, 81, 174, 0.08));
}

.contact-form-wrap {
  display: flex;
  justify-content: center;
}

.contact-stack {
  width: min(100%, 68rem);
  display: grid;
  gap: 0.85rem;
}

.contact-form-card {
  padding: 1.35rem;
}

.contact-form-card h2 {
  margin: 0 0 1rem;
}

.note-box h3 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.02rem;
}

.note-box p,
.note-box li {
  color: #274567;
}

.note-box ul {
  margin: 0.68rem 0 0;
  padding-left: 1.05rem;
}

.callout {
  margin-top: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(21, 43, 76, 0.14);
  background:
    radial-gradient(580px 280px at 0% 0%, rgba(33, 210, 244, 0.2), transparent 65%),
    rgba(255, 255, 255, 0.8);
}

.callout h3 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.08rem;
}

.callout p {
  margin: 0.4rem 0 0;
  color: #2d4d73;
}

.form-grid {
  display: grid;
  gap: 0.75rem;
}

.contact-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 0.85rem;
}

.field {
  display: grid;
  gap: 0.36rem;
}

.field-span-2 {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  font-size: 0.84rem;
  color: #173859;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(16, 39, 71, 0.2);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font: inherit;
  padding: 0.7rem 0.82rem;
}

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

input:focus,
textarea:focus,
select:focus,
.lang-toggle button:focus-visible,
.theme-toggle button:focus-visible,
.button:focus-visible,
.burger:focus-visible,
.nav-main a:focus-visible {
  outline: 2px solid rgba(44, 122, 206, 0.42);
  outline-offset: 2px;
}

.small {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.form-helper {
  margin-top: 0.08rem;
}

.contact-trust {
  margin-top: -0.1rem;
}

.contact-inline-card {
  padding: 1rem 1.1rem;
}

.contact-inline-card h3 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.98rem;
}

.contact-inline-card p {
  margin: 0.35rem 0 0;
  color: #274567;
}

.contact-inline-card a {
  font-weight: 700;
}

.case-note {
  margin-top: 1rem;
}

.footer {
  margin-top: 2rem;
  padding: 2.3rem 0 1.2rem;
  border-top: 1px solid var(--line-soft);
  background: rgba(248, 251, 255, 0.64);
}

html[data-theme="dark"] body {
  color: #e6eef9;
  background:
    radial-gradient(1200px 550px at 110% -20%, rgba(84, 102, 201, 0.18), transparent 65%),
    radial-gradient(1100px 540px at -10% 4%, rgba(33, 210, 244, 0.12), transparent 68%),
    linear-gradient(180deg, #08111f 0%, #0b1526 56%, #0d1a2d 100%);
}

html[data-theme="dark"] body::before {
  background: rgba(33, 210, 244, 0.18);
}

html[data-theme="dark"] body::after {
  background: rgba(56, 81, 174, 0.18);
}

html[data-theme="dark"] .skip-link:focus {
  background: #0f192b;
  border-color: rgba(138, 157, 191, 0.28);
  color: #f5f9ff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .site-header {
  background: rgba(8, 15, 28, 0.76);
  border-bottom-color: rgba(147, 166, 193, 0.12);
}

html[data-theme="dark"] .brand-logo {
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.34));
}

html[data-theme="dark"] .nav-main a {
  color: #d0dcef;
}

html[data-theme="dark"] .nav-main a:hover,
html[data-theme="dark"] .nav-main a.active {
  background: rgba(66, 126, 207, 0.2);
  color: #f7fbff;
}

html[data-theme="dark"] .lang-toggle,
html[data-theme="dark"] .theme-toggle {
  background: rgba(12, 21, 37, 0.82);
  border-color: rgba(144, 162, 189, 0.18);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .lang-toggle button,
html[data-theme="dark"] .theme-toggle button {
  color: #c6d3e8;
}

html[data-theme="dark"] .lang-toggle button[aria-pressed="false"]:hover,
html[data-theme="dark"] .theme-toggle button:hover {
  background: rgba(74, 132, 212, 0.16);
  color: #f7fbff;
}

html[data-theme="dark"] .theme-toggle button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.08);
  color: #f7fbff;
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .step,
html[data-theme="dark"] .redirect-card,
html[data-theme="dark"] .redirect-card-alt,
html[data-theme="dark"] .case-card,
html[data-theme="dark"] .note-box,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .callout,
html[data-theme="dark"] .about-photo-frame,
html[data-theme="dark"] .case-modal-dialog,
html[data-theme="dark"] .blog-feature-card {
  border-color: rgba(147, 166, 193, 0.16);
  background:
    radial-gradient(560px 260px at 0% 0%, rgba(33, 210, 244, 0.09), transparent 64%),
    rgba(11, 19, 34, 0.88);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .redirect-card-alt,
html[data-theme="dark"] .case-modal-dialog,
html[data-theme="dark"] .blog-feature-card {
  background:
    radial-gradient(560px 260px at 100% 0%, rgba(84, 102, 201, 0.14), transparent 64%),
    rgba(11, 19, 34, 0.9);
}

html[data-theme="dark"] .hero-card::before {
  background: radial-gradient(460px 280px at 20% -10%, rgba(33, 210, 244, 0.12), transparent 65%);
}

html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .section-kicker {
  border-color: rgba(110, 140, 188, 0.22);
  background: rgba(12, 21, 37, 0.8);
  color: #a9c9ef;
}

html[data-theme="dark"] .eyebrow-dot,
html[data-theme="dark"] .section-kicker::before {
  box-shadow: 0 0 0 5px rgba(33, 210, 244, 0.12);
}

html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .hero-card h2,
html[data-theme="dark"] .tile h3,
html[data-theme="dark"] .step h3,
html[data-theme="dark"] .redirect-card h3,
html[data-theme="dark"] .redirect-card h4,
html[data-theme="dark"] .case-card-title,
html[data-theme="dark"] .case-modal-title,
html[data-theme="dark"] .callout h3,
html[data-theme="dark"] .page-hero h1,
html[data-theme="dark"] .about-hero-copy h1,
html[data-theme="dark"] .about-section-card h2,
html[data-theme="dark"] .note-box h3,
html[data-theme="dark"] .footer-company strong,
html[data-theme="dark"] .footer-column h3 {
  color: #f4f8ff;
}

html[data-theme="dark"] .hero-lead,
html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .tile p,
html[data-theme="dark"] .step p,
html[data-theme="dark"] .redirect-card p,
html[data-theme="dark"] .case-card-summary,
html[data-theme="dark"] .case-impact-line,
html[data-theme="dark"] .case-block p,
html[data-theme="dark"] .note-box p,
html[data-theme="dark"] .note-box li,
html[data-theme="dark"] .callout p,
html[data-theme="dark"] .page-hero p,
html[data-theme="dark"] .about-hero-lead,
html[data-theme="dark"] .about-hero-support,
html[data-theme="dark"] .about-section-card p,
html[data-theme="dark"] .about-section-card li,
html[data-theme="dark"] .footer-company p,
html[data-theme="dark"] .footer-column p,
html[data-theme="dark"] .footer-nav a,
html[data-theme="dark"] .small,
html[data-theme="dark"] .contact-inline-card p {
  color: #aec0d8;
}

html[data-theme="dark"] .highlight-list li,
html[data-theme="dark"] .case-impact-line strong,
html[data-theme="dark"] .case-block h4,
html[data-theme="dark"] label,
html[data-theme="dark"] .redirect-label,
html[data-theme="dark"] .page-hero .breadcrumb,
html[data-theme="dark"] .case-meta,
html[data-theme="dark"] .blog-feature-meta {
  color: #9fc4ef;
}

html[data-theme="dark"] .check {
  background: linear-gradient(180deg, rgba(33, 210, 244, 0.22), rgba(84, 102, 201, 0.18));
  border-color: rgba(98, 130, 189, 0.36);
}

html[data-theme="dark"] .tile-icon,
html[data-theme="dark"] .case-card-info,
html[data-theme="dark"] .case-modal-close {
  color: #b8d7fb;
  border-color: rgba(110, 140, 188, 0.18);
  background: linear-gradient(180deg, rgba(33, 210, 244, 0.12), rgba(56, 81, 174, 0.12));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .case-card-trigger:hover,
html[data-theme="dark"] .blog-feature-card:hover {
  border-color: rgba(93, 151, 227, 0.24);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .case-modal-backdrop {
  background: rgba(3, 8, 17, 0.68);
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  border-color: rgba(138, 157, 191, 0.18);
  background: rgba(8, 15, 28, 0.9);
  color: #eef4ff;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #7f96b6;
}

html[data-theme="dark"] .footer {
  border-top-color: rgba(147, 166, 193, 0.1);
  background: rgba(8, 15, 28, 0.68);
}

html[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(147, 166, 193, 0.1);
}

html[data-theme="dark"] .footer-legal,
html[data-theme="dark"] .footer-copy {
  color: #8197b4;
}

html[data-theme="dark"] .contact-inline-card a,
html[data-theme="dark"] .footer a {
  color: #eff6ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 1.3rem;
}

.footer-company strong {
  display: block;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.06rem;
}

.footer-company p {
  margin: 0.48rem 0 0;
  max-width: 26ch;
  color: #274567;
}

.footer-column h3 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.94rem;
}

.footer-column p {
  margin: 0.42rem 0 0;
}

.footer-column p,
.footer-nav a {
  color: var(--muted);
}

.footer-nav {
  display: grid;
  gap: 0.44rem;
  align-content: start;
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 1.35rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.footer-legal {
  display: grid;
  gap: 0.12rem;
  font-size: 0.8rem;
  color: #70829a;
}

.footer-copy {
  margin: 0;
  font-size: 0.84rem;
  color: #70829a;
}

.page-hero {
  padding: clamp(2.4rem, 5vw, 3.4rem) 0 0.8rem;
}

.page-hero .breadcrumb {
  font-size: 0.8rem;
  color: #355980;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-hero h1 {
  margin: 0.8rem 0 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1.05;
}

.page-hero p {
  margin: 0.85rem 0 0;
  color: #264567;
  max-width: 66ch;
}

.about-hero {
  padding-bottom: 1.3rem;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 2.4rem;
  align-items: start;
}

.about-hero-copy {
  display: grid;
  gap: 0.95rem;
}

.about-hero-copy h1 {
  margin: 0.4rem 0 0;
  max-width: 11ch;
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  line-height: 0.98;
}

html[lang="en"] .about-hero-copy h1 {
  max-width: 15ch;
}

.about-hero-lead {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(1.04rem, 1.9vw, 1.16rem);
  color: #183150;
}

.about-hero-support {
  margin: 0;
  max-width: 46ch;
  color: #274567;
}

.about-hero-actions {
  padding-top: 0.2rem;
}

.about-hero-photo {
  display: flex;
  justify-content: center;
}

.about-photo-frame {
  width: min(420px, 100%);
  padding: 0.65rem;
  border-radius: 32px;
  border: 1px solid rgba(16, 35, 65, 0.12);
  background:
    radial-gradient(560px 280px at 20% 0%, rgba(33, 210, 244, 0.2), transparent 64%),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 48px rgba(14, 37, 70, 0.14);
}

.about-profile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: 39% top;
  border-radius: 24px;
  background: #dfe7ef;
}

.about-photo-placeholder {
  display: none;
  width: 100%;
  aspect-ratio: 5 / 6;
  align-items: flex-end;
  padding: 1.2rem;
  border-radius: 24px;
  background:
    radial-gradient(460px 240px at 30% 0%, rgba(33, 210, 244, 0.24), transparent 68%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(223, 233, 243, 0.88));
  color: #173859;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
}

.about-photo-frame.about-photo-fallback .about-photo-placeholder {
  display: flex;
}

.about-page-sections {
  padding-top: clamp(1.45rem, 2.6vw, 2.1rem);
}

.about-section-card {
  padding: 1.4rem;
}

.about-section-card .section-kicker {
  margin-bottom: 0.95rem;
}

.about-section-card h2 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.45rem, 2.7vw, 1.95rem);
  color: #122844;
}

.about-section-card p {
  margin: 0.85rem 0 0;
  max-width: 62ch;
  color: #274567;
}

.about-section-card ul {
  margin: 0.95rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.52rem;
}

.about-section-card li {
  color: #274567;
}

.about-section-card .small {
  margin-top: 1rem;
}

.page-content-tight {
  padding-top: clamp(1.2rem, 2.2vw, 1.9rem);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .nav-main {
    gap: 0.1rem;
  }

  .nav-main a {
    padding: 0.52rem 0.72rem;
  }

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

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .about-hero-copy h1 {
    max-width: 100%;
  }

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

@media (max-width: 920px) {
  .burger {
    display: inline-flex;
  }

  .nav-main,
  .nav-actions {
    display: none;
  }

  .nav-wrap.open {
    flex-wrap: wrap;
  }

  .nav-wrap.open .nav-main,
  .nav-wrap.open .nav-actions {
    display: flex;
    width: 100%;
  }

  .nav-wrap.open .nav-main {
    padding-top: 0.45rem;
    flex-wrap: wrap;
    gap: 0.32rem;
  }

  .nav-wrap.open .nav-actions {
    padding-bottom: 0.35rem;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .brand-logo {
    width: clamp(132px, 30vw, 180px);
  }

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

  .grid-2,
  .case-layout,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .section {
    padding: 2.45rem 0;
  }

  .hero {
    padding-top: 1.4rem;
  }

  .hero h1 {
    max-width: 100%;
  }

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

  .about-photo-frame {
    padding: 0.45rem;
    border-radius: 24px;
  }

  .about-profile-photo {
    border-radius: 18px;
  }

  .about-section-card {
    padding: 1.12rem;
  }

  .contact-form-card {
    padding: 1.12rem;
  }

  .footer {
    padding-top: 2rem;
  }
}
