@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url("fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url("fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: fallback;
  src: url("fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: fallback;
  src: url("fonts/poppins-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: fallback;
  src: url("fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: fallback;
  src: url("fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #111216;
  --muted: #777d8b;
  --line: #edf0f4;
  --aqua: #12d7c7;
  --blue: #4b86e8;
  --violet: #9c6cf2;
  --soft: #f8fafc;
  --shadow: 0 22px 50px rgba(25, 34, 55, 0.08);
  --figma-card-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  background: #fff;
}

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

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

.container {
  width: min(100% - 48px, 1140px);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

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

.home-main {
  position: relative;
  overflow: hidden;
}

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

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms ease, transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: min(100% - 48px, 1120px);
  height: 72px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  background: transparent;
  transition: filter 220ms ease;
}

.site-header::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  content: "";
  transition: background-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.has-depth::before {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 18px 54px rgba(128, 144, 180, 0.11);
  backdrop-filter: blur(11px) saturate(1.32);
  -webkit-backdrop-filter: blur(11px) saturate(1.32);
}

.home-header {
  background: transparent;
}

.brand img {
  width: 205px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 500;
  color: #343944;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: #111820;
  transform: translateY(-2px) scale(1.04);
}

.phone-pill {
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(20, 29, 45, 0.08);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  min-height: 100vh;
  padding-top: 250px;
}

.hero-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  opacity: 1;
  pointer-events: none;
}

.hero-animation canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-title {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0;
  background: linear-gradient(90deg, #00e5ac 0%, #667ced 46%, #bf8dff 98%);
  background-clip: text;
  color: transparent;
  font-size: clamp(76px, 7.9vw, 152px);
  font-weight: 800;
  line-height: 1.16;
  padding-bottom: 0.14em;
  white-space: nowrap;
}

.type-word {
  display: inline-block;
  min-width: 8.9ch;
  background: linear-gradient(90deg, #00e5ac 0%, #667ced 46%, #bf8dff 98%);
  background-clip: text;
  color: transparent;
}

.type-cursor {
  position: absolute;
  left: 0.03em;
  bottom: 0.02em;
  display: block;
  width: 0.46em;
  height: 0.07em;
  background: #a97cff;
  animation: cursor-blink 0.8s steps(1) infinite;
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

.hero-subtitle {
  margin: 8px 0 72px;
  color: #17191f;
  font-size: clamp(24px, 2.1vw, 35px);
  font-weight: 500;
  line-height: 1.1;
}

.mybtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 20px 0;
  padding: 4px 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 1.35;
  text-transform: uppercase;
  -webkit-appearance: button;
  appearance: button;
}

.mybtn::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  border: 0;
  background: #fff;
  content: "";
  transition: all 0.85s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mybtn .mybtn-text {
  position: relative;
  z-index: 1;
  color: #fff;
  mix-blend-mode: difference;
}

.mybtn:hover::before {
  width: 100%;
}

.mybtn.rounded {
  border-radius: 10px;
}

.mybtn.rounded .text-green {
  color: #000;
  font-weight: 500;
  mix-blend-mode: darken;
}

.mybtn.rounded::before {
  width: 15%;
  border-radius: 10px;
  background: #00ded5;
}

.mybtn.rounded:hover::before {
  width: 100%;
  background: #00ded5;
}

.center {
  margin: 48px auto 0;
  display: flex;
  width: max-content;
}

.scroll-cue {
  position: absolute;
  bottom: 58px;
  left: 50%;
  display: grid;
  gap: 20px;
  transform: translateX(-50%);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
}

.scroll-cue strong {
  font-size: 34px;
  font-weight: 300;
}

h2 {
  margin: 0 0 34px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 34px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 16px 0 12px;
  font-size: 16px;
}

.service-card h2 {
  margin: 22px 0 22px;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.services-preview {
  padding-top: 70px;
  text-align: center;
}

.service-card-grid,
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 350px));
  justify-content: center;
  gap: 30px;
}

.service-card {
  display: block;
  width: 100%;
  min-height: 370px;
  padding: 62px 44px 34px;
  border: 1px solid #f6f6f9;
  border-radius: 15px;
  background: #fff;
  color: inherit;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 0 rgba(28, 38, 58, 0);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.service-card:hover {
  border-color: #fff;
  transform: translateY(-4px);
  box-shadow: var(--figma-card-shadow);
}

.service-card img {
  width: 58px;
  height: 58px;
  margin: 0 auto;
  object-fit: contain;
  transition: transform 260ms ease;
}

.service-card:hover img {
  transform: translateY(-3px) scale(1.03);
}

.service-card .mybtn {
  margin-top: 14px;
}

.service-card p {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.9;
}

.service-list .service-card {
  min-height: 390px;
}

.split-section {
  background: transparent;
  padding: 145px 0 120px;
}

.split {
  display: grid;
  grid-template-columns: minmax(560px, 0.95fr) minmax(460px, 0.8fr);
  gap: 0;
  align-items: center;
  justify-content: center;
}

.text-panel {
  position: relative;
  z-index: 1;
  min-height: 418px;
  padding: 92px 78px 86px;
  border-radius: 8px 0 0 8px;
  background: #fff;
  box-shadow: var(--figma-card-shadow);
}

.text-panel h2 {
  margin-bottom: 28px;
  font-size: clamp(30px, 3.1vw, 42px);
  font-weight: 500;
  line-height: 1.08;
}

.gradient-panel {
  border-radius: 20px;
  background: radial-gradient(circle at 0% 0%, #0bdab3 0%, #6c7dee 46%, #bf8dff 96%);
}

.logo-panel {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 500px);
  min-height: 600px;
  place-items: center;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transform: translateY(-48px);
}

.logo-panel img {
  width: 230px;
}

.line-art {
  position: absolute;
  width: 620px;
  opacity: 0.32;
  filter: invert(1);
  pointer-events: none;
}

.line-left {
  left: -250px;
  bottom: -170px;
}

.line-right {
  right: -260px;
  bottom: -170px;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 78px;
  align-items: center;
}

.about-main {
  overflow: hidden;
}

.about-lottie-lines {
  position: absolute;
  top: 610px;
  right: -28px;
  z-index: 0;
  width: 330px;
  height: 620px;
  opacity: 0.9;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}

.about-lottie-lines svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.gradient-title {
  width: max-content;
  max-width: 100%;
  background: linear-gradient(90deg, var(--aqua), var(--blue), var(--violet));
  background-clip: text;
  color: transparent;
  line-height: 1.16;
  padding-bottom: 0.14em;
}

.about-photo {
  position: relative;
}

.about-photo picture,
.about-photo picture img,
.about-photo > img {
  border-radius: 18px;
}

.about-photo picture {
  display: block;
  box-shadow: var(--figma-card-shadow);
  transform: translateY(-4px);
  overflow: hidden;
}

.about-photo picture img {
  width: 100%;
}

.badge {
  position: absolute;
  right: -34px;
  bottom: -34px;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  box-shadow: var(--figma-card-shadow);
  transform: translateY(-4px);
}

.badge img {
  width: 78px;
}

.philosophy {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1120px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(420px, 520px);
  gap: clamp(72px, 8vw, 130px);
  align-items: center;
  padding-top: 120px;
}

.philosophy-art {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
}

.philosophy-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 8px;
  background: linear-gradient(135deg, #1bd3c5, #9e6df2);
  box-shadow: var(--figma-card-shadow);
  transform: translateY(-4px);
}

.process {
  padding-top: 20px;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px;
}

.steps article {
  min-height: 220px;
  padding: 34px 26px;
  border: 1px solid #fff;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--figma-card-shadow);
  transform: translateY(-4px);
}

.steps img {
  width: 86px;
  height: 86px;
  margin: 0 auto;
  object-fit: contain;
}

.work-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 46px;
  align-items: start;
}

.project-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-stack img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(36, 48, 72, 0.07);
}

.project-link {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
  border-radius: 8px;
  background: #5478eb;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.project-link span {
  margin-top: 28px;
}

.services-page {
  min-height: 740px;
  background: linear-gradient(#fff 0 74%, #fbfcff 74% 100%);
}

.particles-canvas {
  position: absolute;
  top: 58px;
  right: -7vw;
  width: min(980px, 72vw);
  height: 580px;
  opacity: 0.54;
  pointer-events: auto;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}

.services-head {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 90px;
  align-items: center;
  margin-bottom: 70px;
}

.services-head img {
  width: min(430px, 100%);
  margin-left: auto;
  opacity: 0.9;
}

.service-list {
  grid-template-columns: repeat(3, minmax(0, 350px));
}

.cta-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px;
  color: #fff;
}

.cta-card span {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.08;
}

.cta-card small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.clients {
  padding-top: 20px;
  text-align: center;
}

.home-main > section {
  position: relative;
  z-index: 1;
}

.lottie-lines {
  pointer-events: none;
}

.home-lottie-piece {
  position: absolute;
  z-index: 0;
  aspect-ratio: 610 / 770;
  overflow: hidden;
  opacity: 0.95;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}

.home-lottie-about {
  top: 1600px;
  left: -36px;
  width: min(702px, 50vw);
}

.home-lottie-piece svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.client-row span {
  padding: 34px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #c1c6d1;
  font-size: 28px;
  font-weight: 900;
}

.footer {
  position: relative;
  overflow: hidden;
  min-height: 940px;
  padding: 62px 0 34px;
  background: #fff;
}

.is-page-footer {
  min-height: 940px;
}

.simple-footer {
  padding: 70px 0;
  text-align: center;
}

.simple-footer p {
  margin: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.training-hero {
  padding-bottom: 60px;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.training-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 100%);
  gap: 10px;
  align-items: start;
}

.training-hero .gradient-title {
  width: 100%;
  max-width: none;
  white-space: nowrap;
}

.training-hero-grid > p {
  max-width: none;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  white-space: nowrap;
}

.trainings-section {
  padding-top: 50px;
}

.trainings-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 44px;
}

.trainings-head p {
  max-width: 650px;
}

.training-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.training-tab {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #f0f1f6;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.training-tab:hover,
.training-tab.is-active {
  border-color: #fff;
  box-shadow: var(--figma-card-shadow);
  transform: translateY(-2px);
}

.training-view {
  display: none;
}

.training-view.is-active {
  display: grid;
  gap: 28px;
}

.training-grid.is-active,
.training-grid-static {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 34px;
}

.training-card {
  overflow: hidden;
  border: 1px solid #f6f6f9;
  border-radius: 15px;
  background: #fff;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

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

.training-card-horizontal {
  display: grid;
  grid-template-columns: minmax(260px, 350px) minmax(0, 1fr);
  min-height: 260px;
}

.training-card-compact {
  display: grid;
  grid-template-columns: 1fr;
}

.training-visual {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: end start;
  padding: 28px;
  overflow: hidden;
}

.training-card-compact .training-visual {
  min-height: 235px;
}

.training-visual::before {
  position: absolute;
  inset: -30%;
  background-image: radial-gradient(circle at 22px 22px, rgba(255, 255, 255, 0.65) 0 2px, transparent 2px);
  background-size: 42px 42px;
  content: "";
  opacity: 0.75;
  transform: rotate(-12deg);
}

.training-visual span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
}

.visual-a {
  background: linear-gradient(135deg, #00e5ac, #667ced);
}

.visual-b {
  background: linear-gradient(135deg, #31d5c3, #bf8dff);
}

.visual-c {
  background: linear-gradient(135deg, #667ced, #101820);
}

.visual-d {
  background: linear-gradient(135deg, #00ded5, #4b86e8 54%, #bf8dff);
}

.training-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 42px;
}

.training-provider {
  margin: 0 0 14px;
  color: #000;
  font-size: 14px;
  line-height: 1.4;
}

.training-content h3 {
  margin: 0 0 22px;
  color: #000;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.22;
}

.training-card-compact .training-content h3 {
  font-size: 25px;
}

.training-content p {
  margin-top: 0;
}

.training-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.training-meta span {
  padding: 8px 12px;
  border-radius: 10px;
  background: #f8f7ff;
  color: #667ced;
  font-size: 12px;
  font-weight: 500;
}

.training-content .mybtn {
  align-self: flex-start;
  margin: 22px 0 0;
}

.detail-hero {
  padding-bottom: 70px;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(92px, 8vw, 136px);
  align-items: start;
}

.detail-copy .gradient-title {
  width: auto;
  max-width: 780px;
  font-size: clamp(40px, 4.35vw, 68px);
  line-height: 1.09;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.detail-copy > p:not(.eyebrow) {
  max-width: 820px;
  color: #5f6879;
  font-size: 17px;
  line-height: 1.78;
}

.service-category-page .detail-hero-grid {
  grid-template-columns: minmax(0, 1fr);
}

.service-category-page .detail-copy .gradient-title,
.service-category-page .detail-copy > p:not(.eyebrow) {
  max-width: 900px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 30px;
  color: #667ced;
  font-size: 13px;
  font-weight: 600;
}

.detail-facts {
  align-self: start;
  margin-top: 100px;
  overflow: hidden;
  border: 1px solid #f0f2f7;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--figma-card-shadow);
  transform: translateY(-4px);
}

.detail-facts .training-visual {
  min-height: 190px;
}

.detail-facts dl {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 30px;
}

.detail-facts div {
  display: grid;
  gap: 6px;
}

.detail-facts dt {
  color: #7b8496;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.detail-facts dd {
  margin: 0;
  color: #111216;
  font-size: 15px;
  line-height: 1.55;
}

.detail-content {
  padding-top: 80px;
  background: #fff;
}

.detail-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.detail-toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #f0f2f7;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--figma-card-shadow);
  transform: translateY(-4px);
}

.detail-toc a {
  padding: 12px 14px;
  border-radius: 10px;
  color: #5f6879;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.detail-toc a:hover {
  background: #f8f7ff;
  color: #667ced;
  transform: translateX(3px);
}

.detail-sections {
  display: grid;
  gap: 24px;
}

.detail-section-card {
  padding: 44px;
  border: 1px solid #fff;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--figma-card-shadow);
  transform: translateY(-4px);
}

.detail-section-card p {
  margin: 0 0 16px;
  color: #5f6879;
  font-size: 16px;
  line-height: 1.82;
}

.detail-section-card p:last-child {
  margin-bottom: 0;
}

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

.detail-section-card li {
  position: relative;
  padding-left: 25px;
  color: #5f6879;
  font-size: 16px;
  line-height: 1.7;
}

.detail-section-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00ded5, #667ced);
  content: "";
}

.detail-lecturers p {
  font-size: 15px;
}

.footer-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(518px, 64vw);
  min-height: 420px;
  background: linear-gradient(104deg, #73f0c9 0%, #18c7c2 21%, #3d96e4 55%, #987bf1 100%);
  clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 658px) minmax(280px, 430px);
  gap: 78px;
  align-items: start;
}

.quote-form {
  display: grid;
  gap: 16px;
  width: min(100%, 658px);
  min-height: 681px;
  padding: 78px 165px 70px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 40px rgba(92, 88, 150, 0.1);
}

.quote-form h2,
.quote-form h1 {
  margin: 0 0 22px;
  color: #000;
  font-size: clamp(27px, 2.45vw, 36px);
  font-weight: 400;
  line-height: 1.08;
  text-align: left;
}

label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
textarea {
  width: 100%;
  border: 1px solid #dfe3eb;
  border-radius: 0;
  padding: 14px 16px;
  font: inherit;
  font-size: 13px;
  resize: vertical;
}

textarea {
  min-height: 190px;
}

.quote-form .mybtn {
  justify-content: flex-start;
  width: max-content;
  margin-top: 20px;
  padding: 4px 15px;
  letter-spacing: 0.42em;
}

.quote-form .mybtn.rounded::before {
  position: absolute;
  display: block;
  flex: none;
  width: 15%;
  height: 100%;
}

.quote-form .mybtn.rounded:hover::before {
  width: 100%;
}

.quote-form .mybtn .mybtn-text {
  color: #000;
  mix-blend-mode: darken;
}

.quote-form .mybtn:disabled {
  cursor: progress;
  opacity: 0.72;
}

.form-status {
  min-height: 1.4em;
  margin: 2px 0 0;
  color: #5f6879;
  font-size: 12px;
  line-height: 1.5;
}

.form-status.is-success {
  color: #087f78;
}

.form-status.is-error {
  color: #b42318;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.newsletter-popup {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.newsletter-popup.is-visible {
  visibility: visible;
  opacity: 1;
}

.newsletter-popup__panel {
  position: relative;
  top: 50%;
  left: 0;
  isolation: isolate;
  display: grid;
  width: min(50vw, 680px);
  min-width: 560px;
  grid-template-columns: 180px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0 15px 15px 0;
  background: #fff;
  box-shadow: 0 28px 80px rgba(31, 39, 68, 0.18);
  pointer-events: auto;
  transform: translate(-102%, -50%);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.newsletter-popup.is-visible .newsletter-popup__panel {
  transform: translate(0, -50%);
}

.newsletter-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #111216;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.newsletter-popup__visual {
  position: relative;
  display: grid;
  min-height: 100%;
  place-items: end start;
  padding: 28px;
  background: linear-gradient(135deg, #00e5ac 0%, #4b86e8 56%, #bf8dff 100%);
  overflow: hidden;
}

.newsletter-popup__visual::before {
  position: absolute;
  inset: -20%;
  background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.68) 0 2px, transparent 2px);
  background-size: 40px 40px;
  content: "";
  opacity: 0.6;
  transform: rotate(-12deg);
}

.newsletter-popup__visual span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
}

.newsletter-popup__content {
  padding: 38px 44px 34px;
  background: #fff;
}

.newsletter-popup__content .eyebrow {
  margin-bottom: 14px;
}

.newsletter-popup__content h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 600;
  line-height: 1.06;
}

.newsletter-popup__content p {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.75;
}

.newsletter-popup form {
  display: grid;
  gap: 14px;
}

.newsletter-popup input {
  background: #fff;
}

.newsletter-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 2px 0 4px;
}

.newsletter-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--aqua);
}

.newsletter-consent span {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  color: #5f6879;
  font-size: 11px;
  line-height: 1.55;
}

.newsletter-popup .mybtn {
  justify-content: flex-start;
  width: max-content;
  margin: 8px 0 0;
  letter-spacing: 0.36em;
}

.newsletter-popup .mybtn.rounded::before {
  width: 30px;
}

.newsletter-popup .mybtn.rounded:hover::before {
  width: 100%;
}

.cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: grid;
  width: min(420px, calc(100% - 48px));
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(237, 240, 244, 0.86);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(31, 39, 68, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cookie-consent strong {
  display: block;
  margin-bottom: 6px;
  color: #111216;
  font-size: 15px;
}

.cookie-consent p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-consent .mybtn {
  margin: 0;
  min-height: 26px;
  padding: 3px 12px;
  font-size: 11px;
  letter-spacing: 0.28em;
}

.cookie-consent .mybtn.rounded::before {
  width: 22px;
}

input::placeholder,
textarea::placeholder {
  color: #9aa2b0;
}

.contact-copy {
  display: flex;
  max-width: 390px;
  min-height: 520px;
  flex-direction: column;
  padding-top: 80px;
}

.contact-copy h2 {
  margin: 0 0 10px;
  color: #000;
  font-size: clamp(27px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1.18;
}

.contact-copy p {
  margin: 0 0 30px;
  font-size: 13px;
  line-height: 1.7;
}

.contact-link {
  position: relative;
  display: inline-grid;
  width: max-content;
  grid-template-columns: 20px 18px auto;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  isolation: isolate;
}

.contact-link::before {
  position: absolute;
  top: 50%;
  left: 28px;
  z-index: -1;
  width: 18px;
  height: 30px;
  border-radius: 5px;
  background: var(--aqua);
  content: "";
  transform: translateY(-50%);
  transition: width 0.85s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.contact-link:hover::before {
  width: calc(100% - 28px);
}

.contact-icon {
  color: #000;
  font-size: 17px;
  line-height: 1;
}

.accent-block {
  display: block;
  width: 18px;
  height: 30px;
}

.socials {
  display: flex;
  gap: 16px;
  color: #fff;
}

.socials a {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.footer-social-block {
  margin-top: 320px;
  color: #fff;
}

.footer-social-block > span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
}

.footer-links {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(120px, 0.8fr));
  gap: 42px;
  margin: 38px auto 0;
  color: #fff;
}

.footer-links h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer-links p,
.footer-links a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.85;
}

.footer-links p {
  margin: 0;
}

.footer-links nav,
.footer-links div {
  min-width: 0;
}

.footer-links nav a,
.footer-links div a {
  display: block;
  width: max-content;
  max-width: 100%;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.copyright {
  position: relative;
  z-index: 1;
  margin: 42px 0 0;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  font-size: 12px;
}

.social-rail {
  position: fixed;
  z-index: 10;
  top: 50%;
  right: 34px;
  display: grid;
  gap: 18px;
  padding: 18px 12px;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  font-size: 12px;
}

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

  .nav-links {
    position: absolute;
    top: 72px;
    right: 0;
    display: none;
    min-width: 230px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 14px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 190px;
  }

  .hero-animation {
    height: 100svh;
    min-height: 720px;
  }

  .hero-title {
    font-size: clamp(54px, 11vw, 86px);
  }

  .service-card-grid,
  .service-list,
  .steps,
  .client-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .about-grid,
  .philosophy,
  .services-head,
  .footer-grid,
  .footer-links,
  .work-grid,
  .training-hero-grid,
  .detail-hero-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-toc {
    position: relative;
    top: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-facts {
    margin-top: 0;
  }

  .split-section {
    padding: 96px 0;
  }

  .text-panel {
    max-width: none;
    min-height: auto;
    margin-right: 0;
  }

  .logo-panel {
    transform: none;
  }

  .trainings-head {
    display: grid;
    align-items: start;
  }

  .training-tabs {
    justify-content: flex-start;
  }

  .training-card-horizontal,
  .training-grid.is-active,
  .training-grid-static {
    grid-template-columns: 1fr;
  }

  .training-hero .gradient-title,
  .training-hero-grid > p {
    white-space: normal;
  }

  .detail-copy .gradient-title {
    max-width: 100%;
  }

  .text-panel,
  .quote-form {
    padding: 42px;
  }

  .quote-form {
    min-height: auto;
  }

  .logo-panel {
    min-height: 360px;
  }

  .project-stack {
    grid-template-columns: 1fr 1fr;
  }

  .social-rail {
    display: none;
  }

  .particles-canvas {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: min(100% - 48px, 520px);
    height: 280px;
    margin: 0 auto 42px;
  }

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

@media (max-width: 620px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container,
  .site-header {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 76px 0;
  }

  .brand img {
    width: 138px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 234px;
  }

  .hero-animation {
    top: 0;
    height: 100svh;
    min-height: 620px;
  }

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

  .hero-subtitle {
    margin-bottom: 52px;
  }

  .scroll-cue {
    bottom: 34px;
    width: 100%;
    font-size: 12px;
    gap: 14px;
    letter-spacing: 0.34em;
  }

  .service-card-grid,
  .service-list,
  .steps,
  .client-row,
  .project-stack,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .training-content {
    min-width: 0;
    padding: 28px 24px;
  }

  .detail-copy .gradient-title {
    font-size: clamp(38px, 12vw, 52px);
    line-height: 1.08;
  }

  .detail-copy,
  .training-grid-static,
  .training-card,
  .training-card-compact,
  .training-content h3,
  .training-content p,
  .training-meta {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .training-card,
  .training-content h3,
  .training-content p,
  .training-meta span {
    overflow-wrap: break-word;
  }

  .detail-section-card {
    padding: 30px 24px;
  }

  .detail-toc {
    grid-template-columns: 1fr;
  }

  .training-visual,
  .training-card-compact .training-visual {
    min-height: 170px;
  }

  .text-panel,
  .quote-form,
  .cta-card {
    padding: 32px 24px;
  }

  .footer {
    min-height: 0;
    padding: 52px 0 28px;
  }

  .newsletter-popup {
    top: auto;
  }

  .newsletter-popup__panel {
    top: auto;
    bottom: 14px;
    left: 14px;
    width: calc(100% - 28px);
    min-width: 0;
    max-height: calc(100svh - 28px);
    grid-template-columns: 1fr;
    overflow: auto;
    border-radius: 15px;
    transform: translateX(calc(-100% - 28px));
  }

  .newsletter-popup.is-visible .newsletter-popup__panel {
    transform: translateX(0);
  }

  .has-cookie-consent-notice .newsletter-popup__panel {
    bottom: 154px;
    max-height: calc(100svh - 182px);
  }

  .newsletter-popup__visual {
    min-height: 150px;
    padding: 28px;
  }

  .newsletter-popup__visual span {
    font-size: 58px;
  }

  .newsletter-popup__content {
    padding: 30px 24px 26px;
  }

  .newsletter-popup__content h2 {
    font-size: 30px;
  }

  .cookie-consent {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    padding: 20px;
  }

  .footer-grid {
    gap: 34px;
  }

  .quote-form {
    width: 100%;
    gap: 14px;
    border-radius: 12px;
  }

  .quote-form h2,
  .quote-form h1 {
    margin-bottom: 14px;
    font-size: 28px;
  }

  .contact-copy {
    max-width: none;
    min-height: 0;
    padding-top: 8px;
  }

  .contact-copy h2 {
    max-width: 330px;
    font-size: 27px;
  }

  .contact-copy p {
    max-width: 360px;
    margin-bottom: 20px;
    font-size: 13px;
  }

  .contact-link {
    margin-top: 14px;
    font-size: 13px;
  }

  .footer-social-block {
    margin-top: 120px;
  }

  .footer-social-block > span {
    margin-bottom: 14px;
    font-size: 20px;
  }

  .socials a {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .footer-links {
    gap: 28px;
    margin-top: 34px;
  }

  .footer-links h3 {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .footer-links p,
  .footer-links a {
    font-size: 13px;
    line-height: 1.75;
  }

  .copyright {
    margin-top: 32px;
    font-size: 11px;
  }

  .badge {
    right: 16px;
    bottom: -28px;
  }

  .footer-wave {
    height: 57%;
    min-height: 760px;
    clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
  }
}

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

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .home-lottie-piece,
  .about-lottie-lines,
  .particles-canvas {
    transform: none;
  }
}
