/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #0f172a;
  background: #f8fafc;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

:root {
  --blue-900: #0c4a6e;
  --blue-700: #0369a1;
  --blue-500: #0ea5e9;
  --blue-100: #e0f2fe;
  --sand: #c4a882;
  --green: #166534;
  --slate-900: #0f172a;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(12, 74, 110, 0.08);
  --shadow-lg: 0 20px 60px rgba(12, 74, 110, 0.12);
  --container: min(1120px, 100% - 2rem);
  --header-h: 72px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--blue-700);
  color: var(--white);
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: var(--container); margin-inline: auto; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; }
.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  border-radius: 10px;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
}
.logo__text { color: var(--slate-900); }

.nav { display: flex; align-items: center; gap: 1.75rem; font-size: 0.95rem; }
.nav a { color: var(--slate-600); transition: color 0.2s; }
.nav a:hover { color: var(--blue-700); }
.nav__cta {
  padding: 0.55rem 1.1rem;
  background: var(--blue-700);
  color: var(--white) !important;
  border-radius: 999px;
  font-weight: 600;
}
.nav__cta:hover { background: var(--blue-900); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-900);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: var(--white);
}
.mobile-menu a {
  padding: 0.75rem 0.5rem;
  color: var(--slate-600);
  border-bottom: 1px solid #f1f5f9;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { display: flex; }

/* Hero */
.hero {
  padding: 3rem 0 2rem;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(14, 165, 233, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(196, 168, 130, 0.15), transparent),
    var(--white);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 1rem;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.75); }

.hero__name {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--blue-700);
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}
.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin-bottom: 1.25rem;
}
.hero__lead {
  font-size: 1.1rem;
  color: var(--slate-600);
  max-width: 52ch;
  margin-bottom: 1.75rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(3, 105, 161, 0.35);
}
.btn--primary:hover { filter: brightness(1.05); }
.btn--ghost {
  background: transparent;
  border-color: rgba(3, 105, 161, 0.3);
  color: var(--blue-700);
}
.btn--ghost:hover { background: var(--blue-100); }
.btn--full { width: 100%; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.hero__badges li {
  font-size: 0.9rem;
  color: var(--slate-600);
}
.hero__badges strong {
  display: block;
  font-size: 1.5rem;
  color: var(--blue-700);
  line-height: 1.2;
}

.hero__photo {
  margin: 0;
  position: relative;
}
.hero__photo::before {
  content: "";
  position: absolute;
  inset: -8% -6% 6% 6%;
  background: linear-gradient(160deg, var(--blue-100), rgba(196, 168, 130, 0.25));
  border-radius: 24px;
  z-index: 0;
}
.hero__photo img {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  object-fit: cover;
  aspect-ratio: 400 / 516;
}

/* Stats */
.stats {
  padding: 2rem 0;
  background: var(--blue-900);
  color: var(--white);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat__num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--blue-500);
  margin-bottom: 0.35rem;
}
.stat__label { font-size: 0.9rem; opacity: 0.85; }

/* Sections */
.section { padding: 5rem 0; }
.section--alt { background: var(--white); }
.section__head { max-width: 640px; margin-bottom: 3rem; }
.section__head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section__desc { color: var(--slate-600); font-size: 1.05rem; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.section--alt .card { background: #f8fafc; }
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card__icon {
  font-size: 1.5rem;
  color: var(--blue-700);
  margin-bottom: 1rem;
}
.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.card p { font-size: 0.92rem; color: var(--slate-600); }

/* Timeline */
.timeline {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.timeline__item {
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  background: #f8fafc;
  border-left: 4px solid var(--blue-500);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.timeline__item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.timeline__item p { color: var(--slate-600); font-size: 0.95rem; }

.departments__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--slate-900);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tags span {
  padding: 0.4rem 0.85rem;
  background: var(--blue-100);
  color: var(--blue-900);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
}
.tags--departments span {
  background: #ecfdf5;
  color: #166534;
}
.tags--tools { margin-top: 1.25rem; }
.tags--tools span {
  background: #f1f5f9;
  color: var(--slate-600);
}

/* Approach */
.approach__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
.quote {
  margin: 0;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow);
}
.quote p { margin-bottom: 1rem; color: var(--slate-600); }
.quote p:last-child { margin-bottom: 0; }
.quote em { color: var(--blue-700); font-style: normal; font-weight: 600; }

.steps {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}
.steps li {
  counter-increment: step;
  padding: 1rem 1rem 1rem 3rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-900);
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-700);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Consultation */
.section--cta {
  background: linear-gradient(145deg, var(--blue-900) 0%, #075985 50%, var(--blue-700) 100%);
  color: var(--white);
}
.consultation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.consultation__info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}
.consultation__info > p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.consultation__list { display: grid; gap: 0.6rem; }
.consultation__list li {
  padding-left: 1.5rem;
  position: relative;
  opacity: 0.95;
}
.consultation__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-500);
  font-weight: 700;
}

.consultation__form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  color: var(--slate-900);
  min-height: 200px;
}

.contacts {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.contacts a {
  color: var(--white);
  font-weight: 500;
  transition: color 0.2s;
}
.contacts a:hover { color: var(--blue-500); }
.contacts__note {
  display: block;
  font-size: 0.8rem;
  opacity: 0.65;
  margin-top: 0.1rem;
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer__start { display: grid; gap: 0.35rem; }
.footer__brand { font-weight: 600; color: var(--white); }
.contacts--footer {
  margin: 0;
  padding: 0;
  border: none;
  gap: 0.4rem;
}
.contacts--footer a { color: rgba(255, 255, 255, 0.85); }
.footer__top {
  color: var(--blue-500);
  font-weight: 500;
}
.footer__top:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid,
  .cards,
  .approach__grid,
  .consultation,
  .stats__grid { grid-template-columns: 1fr; }
  .hero__photo { order: -1; max-width: 320px; margin-inline: auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .burger { display: flex; }
  .section { padding: 3.5rem 0; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding-top: 2rem; }
  .consultation__form-wrap { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
