:root {
  --blue: #0b63d8;
  --blue-2: #0aa7ef;
  --blue-dark: #004ec2;
  --ink: #06132b;
  --text: #516887;
  --muted: #6f829b;
  --line: #d9e4ef;
  --soft: #eef6fc;
  --soft-2: #f5f9fd;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(15, 44, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img,
svg {
  display: block;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e6edf5;
}

.nav-shell {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 176px;
  height: 48px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 650;
}

.nav-link {
  padding: 8px 11px;
  border-radius: 6px;
  color: #162033;
  transition: color 160ms ease, background 160ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: #e6f5ff;
}

.nav-link.book-link {
  color: #0088e8;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue);
  cursor: pointer;
}

.mobile-menu {
  display: none;
}

.hero-band {
  background: linear-gradient(180deg, #f0f7fe 0%, #eef8fc 100%);
  padding: 112px 0 116px;
  text-align: center;
}

.hero-band h1,
.section-title h2,
.home-hero h1,
.split-copy h1 {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.08;
}

.hero-band h1,
.split-copy h1 {
  font-size: 48px;
}

.hero-band p,
.section-title p,
.split-copy p,
.lead {
  margin: 24px auto 0;
  max-width: 760px;
  color: var(--text);
  font-size: 21px;
}

.home-hero {
  min-height: 850px;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(3, 80, 196, 0.92), rgba(0, 163, 232, 0.76)),
    url("assets/office-hero.png") center / cover no-repeat;
}

.home-hero h1 {
  color: #fff;
  font-size: 58px;
}

.home-hero p {
  margin: 24px auto 0;
  max-width: 840px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 83, 190, 0.18);
}

.btn:hover {
  background: var(--blue-dark);
}

.btn-white {
  background: #fff;
  color: var(--blue);
}

.btn-white:hover {
  background: #eef8ff;
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
}

.section {
  padding: 96px 0;
}

.section-lg {
  padding: 112px 0;
}

.section-soft {
  background: #eef4fa;
}

.section-title {
  margin-bottom: 56px;
  text-align: center;
}

.section-title h2 {
  font-size: 36px;
}

.section-title p {
  margin-top: 16px;
  font-size: 18px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

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

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

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

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

.card:hover {
  box-shadow: var(--shadow);
}

.card h3,
.service-card h3,
.job-card h3,
.info-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.card p,
.service-card p,
.job-card p,
.info-row p,
.footer-text {
  color: var(--text);
}

.card p,
.service-card p,
.job-card p {
  margin: 14px 0 0;
}

.icon-badge {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: #e8f2ff;
}

.icon-badge.cyan {
  color: #02a9ee;
  background: #dff7ff;
}

.icon-badge svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-card {
  min-height: 274px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pillar-card .icon-badge {
  margin-bottom: 28px;
}

.service-card,
.job-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.service-card {
  min-height: 118px;
  padding: 24px;
}

.job-card {
  min-height: 150px;
}

.course-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
}

.course-card + .course-card {
  margin-top: 34px;
}

.course-image {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #eef7ff;
}

.course-image img {
  width: 100%;
  aspect-ratio: 1200 / 760;
  object-fit: cover;
}

.course-eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.course-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.18;
}

.course-card p {
  margin: 14px 0 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag-list span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 6px;
  background: #e8f2ff;
  color: var(--blue);
  padding: 5px 11px;
  font-size: 13px;
  font-weight: 750;
}

.module-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 28px;
  color: var(--text);
}

.module-list li {
  break-inside: avoid;
  margin: 0 0 9px;
}

.module-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--blue);
  vertical-align: middle;
}

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

.highlight-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.highlight-item strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.highlight-item span {
  display: block;
  margin-top: 4px;
  color: var(--text);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  text-align: center;
}

.step-number {
  display: block;
  color: #d8e7fb;
  font-size: 58px;
  line-height: 1;
  font-weight: 850;
}

.stats-band,
.cta-band {
  background: linear-gradient(100deg, #0958cc 0%, #0aa8ef 100%);
  color: #fff;
}

.stats-band {
  padding: 64px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 44px;
  line-height: 1;
  font-weight: 850;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-copy h2 {
  margin: 0;
  color: #404a5a;
  font-size: 40px;
  line-height: 1.12;
}

.split-copy p {
  margin: 22px 0 0;
  max-width: 560px;
  font-size: 18px;
}

.check-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #4d5b6f;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 15px 0;
}

.mini-icon {
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.photo-card {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(15, 35, 54, 0.16);
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.wide-photo {
  width: 100%;
  max-width: 1216px;
  height: 400px;
  margin: 0 auto 100px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.wide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band {
  padding: 88px 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  line-height: 1.15;
}

.cta-band p {
  max-width: 780px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.cta-band .hero-actions {
  margin-top: 32px;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 584px;
  gap: 64px;
  align-items: start;
}

.form-card,
.side-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
}

.form-card {
  box-shadow: var(--shadow);
}

.form-card h2,
.side-panel h2 {
  margin: 0 0 26px;
  font-size: 28px;
  line-height: 1.2;
}

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

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

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

label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d5e0eb;
  border-radius: 6px;
  padding: 11px 14px;
  color: #26374d;
  background: #fff;
  font: inherit;
  font-size: 14px;
  box-shadow: inset 0 1px 2px rgba(15, 35, 54, 0.04);
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(0, 125, 255, 0.18);
  border-color: var(--blue);
}

.form-card .btn {
  width: 100%;
  margin-top: 28px;
}

.side-panel {
  background: #eef4fa;
}

.panel-list {
  display: grid;
  gap: 34px;
}

.panel-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.panel-item h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.panel-item p {
  margin: 0;
  color: var(--text);
}

.blue-box {
  margin-top: 32px;
  padding: 32px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
}

.blue-box h3,
.blue-box p {
  margin: 0;
  color: #fff;
}

.blue-box h3 {
  font-size: 22px;
}

.blue-box p {
  margin-top: 14px;
}

.blue-box strong {
  display: block;
  margin-top: 28px;
  font-size: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 584px;
  gap: 64px;
}

.info-list {
  display: grid;
  gap: 32px;
}

.info-row {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.info-row p {
  margin: 8px 0 0;
  font-size: 16px;
}

.hours {
  margin-top: 42px;
  width: min(100%, 584px);
  padding: 28px;
  border-radius: 8px;
  background: #eef4fa;
}

.hours h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.hours p {
  margin: 8px 0 0;
  color: var(--text);
}

.case-card {
  position: relative;
  padding: 36px 40px;
}

.case-card .arrow {
  position: absolute;
  right: 34px;
  top: 34px;
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
}

.result-box {
  margin-top: 30px;
  padding: 22px 24px;
  border-left: 4px solid var(--blue);
  border-radius: 4px;
  background: #eef4fb;
}

.result-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.result-box p {
  margin: 0;
  color: var(--ink);
}

.founder-card {
  width: min(100% - 48px, 900px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px 48px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7fbff, #eff8fc);
}

.founder-avatar {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #dcecff;
  color: var(--blue);
  font-size: 46px;
  font-weight: 850;
}

.founder-card h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}

.founder-card strong {
  display: block;
  margin-top: 4px;
  color: var(--blue);
  font-size: 18px;
}

.founder-card p {
  margin: 18px 0 0;
  color: var(--text);
}

.site-footer {
  background: #eef4fa;
  border-top: 1px solid #dbe5ef;
  padding: 62px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 62px;
}

.footer-logo {
  width: 182px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer-text {
  margin: 0;
  max-width: 330px;
}

.footer-title {
  margin: 0 0 18px;
  color: #50627a;
  font-size: 14px;
  font-weight: 850;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.footer-list a:hover {
  color: var(--blue);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: #677991;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}

.social-row a {
  width: 20px;
  height: 20px;
  color: #677991;
}

.social-row a:hover {
  color: var(--blue);
}

.social-row svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.footer-bottom {
  margin-top: 54px;
  padding-top: 32px;
  border-top: 1px solid #d8e2ec;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--text);
}

.footer-bottom nav {
  display: flex;
  gap: 28px;
}

.simple-page {
  min-height: 560px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(11, 99, 216, 0);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(11, 99, 216, 0.08);
  }
}

body {
  animation: fadeIn 450ms ease-out both;
}

.site-header {
  animation: dropIn 520ms ease-out both;
}

.brand img {
  transition: transform 180ms ease;
}

.brand:hover img {
  transform: translateY(-1px) scale(1.02);
}

.nav-link,
.btn,
.card,
.form-card,
.side-panel,
.photo-card,
.wide-photo,
.icon-badge {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.hero-band h1,
.home-hero h1,
.split-copy h1 {
  animation: riseIn 650ms ease-out 80ms both;
}

.hero-band p,
.home-hero p,
.split-copy p {
  animation: riseIn 650ms ease-out 180ms both;
}

.hero-actions {
  animation: riseIn 650ms ease-out 280ms both;
}

.section-title,
.wide-photo,
.photo-card,
.form-card,
.side-panel,
.hours,
.founder-card,
.case-card,
.stats-band,
.cta-band {
  animation: riseIn 680ms ease-out both;
}

.card,
.service-card,
.job-card,
.info-row,
.panel-item,
.step-grid article,
.stat,
.footer-grid > div {
  animation: riseIn 640ms ease-out both;
}

.grid-2 > *:nth-child(1),
.grid-3 > *:nth-child(1),
.grid-4 > *:nth-child(1),
.footer-grid > *:nth-child(1) {
  animation-delay: 80ms;
}

.grid-2 > *:nth-child(2),
.grid-3 > *:nth-child(2),
.grid-4 > *:nth-child(2),
.footer-grid > *:nth-child(2) {
  animation-delay: 160ms;
}

.grid-2 > *:nth-child(3),
.grid-3 > *:nth-child(3),
.grid-4 > *:nth-child(3),
.footer-grid > *:nth-child(3) {
  animation-delay: 240ms;
}

.grid-2 > *:nth-child(4),
.grid-3 > *:nth-child(4),
.grid-4 > *:nth-child(4),
.footer-grid > *:nth-child(4) {
  animation-delay: 320ms;
}

.grid-2 > *:nth-child(5),
.grid-3 > *:nth-child(5),
.grid-4 > *:nth-child(5) {
  animation-delay: 400ms;
}

.grid-2 > *:nth-child(6),
.grid-3 > *:nth-child(6),
.grid-4 > *:nth-child(6) {
  animation-delay: 480ms;
}

.photo-card,
.wide-photo {
  animation-name: scaleIn;
}

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

.btn:active {
  transform: translateY(0);
}

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

.card:hover,
.form-card:hover,
.side-panel:hover {
  transform: translateY(-4px);
}

.card:hover .icon-badge,
.service-card:hover .icon-badge,
.job-card:hover .icon-badge,
.panel-item:hover .icon-badge,
.info-row:hover .icon-badge {
  transform: scale(1.06);
  animation: softPulse 900ms ease-out;
}

.photo-card:hover,
.wide-photo:hover {
  transform: translateY(-4px) scale(1.01);
}

input,
select,
textarea {
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  transform: translateY(-1px);
}

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

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .nav-button {
    display: flex;
  }

  .mobile-menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 18px 24px 24px;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(15, 44, 74, 0.08);
  }

  .nav-toggle:checked ~ .mobile-menu {
    display: flex;
  }

  .mobile-menu .nav-link {
    display: block;
    padding: 12px;
  }

  .grid-3,
  .grid-4,
  .step-grid,
  .stat-grid,
  .footer-grid,
  .highlight-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .two-column-section,
  .contact-grid,
  .course-card {
    grid-template-columns: 1fr;
  }

  .two-column-section,
  .contact-grid,
  .split {
    gap: 36px;
  }

  .footer-grid {
    gap: 34px;
  }
}

@media (max-width: 700px) {
  .container,
  .narrow {
    width: min(100% - 32px, 1216px);
  }

  .site-header,
  .nav-shell {
    height: 62px;
  }

  .brand img {
    width: 150px;
  }

  .mobile-menu {
    top: 62px;
  }

  .home-hero {
    min-height: 720px;
  }

  .home-hero h1,
  .hero-band h1,
  .split-copy h1 {
    font-size: 38px;
  }

  .hero-band {
    padding: 82px 0 86px;
  }

  .hero-band p,
  .home-hero p,
  .split-copy p,
  .section-title p {
    font-size: 17px;
  }

  .section,
  .section-lg {
    padding: 72px 0;
  }

  .section-title h2,
  .cta-band h2 {
    font-size: 30px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .step-grid,
  .stat-grid,
  .footer-grid,
  .form-grid,
  .highlight-strip {
    grid-template-columns: 1fr;
  }

  .card,
  .form-card,
  .side-panel,
  .case-card {
    padding: 26px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .wide-photo {
    height: 260px;
    margin-bottom: 68px;
  }

  .photo-card img {
    min-height: 260px;
  }

  .founder-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .course-card {
    padding: 22px;
  }

  .module-list {
    columns: 1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom nav {
    flex-wrap: wrap;
  }
}
