:root {
  --header-bg: #272e3f;
  --header-text: #ffffff;
  --header-cta: #34d399;
  --hero-bg: #ffffff;
  --hero-heading: #021026;
  --hero-subtitle: #34d399;
  --hero-text: #64748b;
  --hero-cta: #0f172a;
  --services-bg: #d7f1e8;
  --promotion-bg: #0f172a;
  --team-banner-bg: #0f172a;
  --team-banner-text: #e8ddd4;
  --footer-bg: #121726;
  --card-bg: #ffffff;
  --card-heading: #0f172a;
  --card-text: #64748b;
  --mint: #34d399;
  --navy: #0f172a;
  --white: #ffffff;
  --header-height: 70px;
  --page-width: 1220px;
  --page-gutter: 24px;
  --content-pad: 56px;
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: var(--hero-text);
  background: var(--white);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1023px) {
  :root {
    --content-pad: 32px;
  }
}

@media (max-width: 767px) {
  :root {
    --content-pad: 20px;
    --header-height: 64px;
    --page-gutter: 16px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  color: var(--header-text);
}

.site-header__inner {
  display: flex;
  align-items: center;
  width: min(var(--page-width), calc(100% - 2 * var(--page-gutter)));
  height: var(--header-height);
  margin: 0 auto;
  padding: 0;
  gap: 28px;
}

.logo {
  margin-right: auto;
  font-family: Nunito, sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a:not(.header-cta) {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--header-text);
  transition: color 200ms ease;
}

.main-nav a:not(.header-cta):hover {
  color: var(--mint);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--header-cta);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 200ms ease, transform 200ms ease;
}

.header-cta:hover {
  background: #2bc48a;
  transform: translateY(-1px);
}

.header-cta--mobile {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
  transition: transform 200ms ease, opacity 200ms ease;
}

@media (max-width: 767px) {
  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 9;
    flex-direction: column;
    justify-content: flex-start;
    padding: 36px 24px;
    gap: 28px;
    background: var(--header-bg);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

    .main-nav a:not(.header-cta) {
    font-size: 16px;
  }

  .header-cta--desktop {
    display: none;
  }

  .header-cta--mobile {
    display: inline-flex;
    margin-top: 8px;
  }

  .menu-toggle {
    display: flex;
  }

}

@media (min-width: 768px) and (max-width: 1023px) {
  .logo {
    font-size: 15px;
    letter-spacing: 0.04em;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav a:not(.header-cta) {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .header-cta {
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
  }
}

.hero {
  background: var(--hero-bg);
  overflow: visible;
}

.hero-inner {
  display: flex;
  justify-content: center;
  width: min(var(--page-width), calc(100% - 2 * var(--page-gutter)));
  min-height: 660px;
  margin: 0 auto;
}

.hero-stage {
  --hero-title-size: clamp(48px, 8vw, 112px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 660px;
  padding: 64px 0 72px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: 100%;
  text-align: center;
}

.hero-paw {
  position: absolute;
  top: 0;
  left: calc(var(--hero-title-size) * -1.61);
  z-index: 9;
  width: calc(var(--hero-title-size) * 2.09);
  max-width: none;
  height: auto;
  pointer-events: none;
  animation: fade-in 700ms ease both;
}

.hero h1 {
  position: relative;
  z-index: 1;
  font-family: Nunito, sans-serif;
  font-weight: 900;
  font-size: var(--hero-title-size);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--hero-heading);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-subtitle {
  margin-top: 32px;
  font-size: clamp(18px, 2vw, 29px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hero-subtitle);
}

.hero-description,
.hero-closing {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--hero-text);
}

.hero-description {
  margin-top: 28px;
}

.hero-closing {
  margin-top: 36px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 255px;
  height: 48px;
  margin-top: 42px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--hero-cta);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  transition: background-color 200ms ease, transform 200ms ease;
}

.hero-cta:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

.cta-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.hero-process-illustration {
  position: absolute;
  right: -100px;
  bottom: 0;
  max-width: none;
  mix-blend-mode: multiply;
  pointer-events: none;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 1023px) {
  .hero-inner,
  .hero-stage {
    min-height: 580px;
  }

  .hero-stage {
    padding: 48px 0 56px;
  }
}

@media (max-width: 767px) {
  .hero-inner,
  .hero-stage {
    min-height: auto;
  }

  .hero-stage {
    padding: 48px 0 56px;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    white-space: normal;
  }

  .hero-paw,
  .hero-process-illustration {
    display: none;
  }

  .hero-description,
  .hero-closing {
    font-size: 16px;
  }

  .hero-cta {
    width: 100%;
    max-width: 320px;
  }
}

.services {
  background: var(--services-bg);
  padding: 32px var(--page-gutter) 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.service-card {
  position: relative;
  min-height: 290px;
  padding: 32px;
  overflow: hidden;
  background-color: var(--card-bg);
  background-repeat: no-repeat;
  background-position: 90% 90%;
  background-blend-mode: multiply;
  border: 1px solid rgba(150, 170, 180, 0.18);
  border-radius: 26px;
  box-shadow: 0 2px 8px rgba(20, 40, 50, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(20, 40, 50, 0.1);
}

.service-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--mint);
  opacity: 0.55;
}

.service-card h3 {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--card-heading);
}

.service-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--card-text);
}

@media (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .services {
    padding: 24px var(--content-pad) 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 240px;
    padding: 24px;
  }

  .service-card h3 {
    font-size: 18px;
  }
}

.promotion {
  padding: 48px var(--page-gutter) 56px;
  background: var(--hero-bg);
}

.promotion-inner {
  position: relative;
  width: min(var(--page-width), 100%);
  min-height: 486px;
  margin: 0 auto;
}

.promotion-nose {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 1;
  max-width: none;
  height: auto;
  pointer-events: none;
  transform: translateY(-50%);
}

.promotion-panel {
  position: relative;
  z-index: 2;
  margin-left: 239px;
  min-height: 486px;
  padding: 44px 56px 48px;
  background-color: var(--promotion-bg);
  background-repeat: no-repeat;
  background-position: calc(100% - 32px) calc(100% - 32px);
  border-radius: 32px;
}

.promotion-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.promotion h2 {
  max-width: 600px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
}

.promotion-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 40px;
  margin-top: 32px;
  list-style: none;
}

.promotion-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.promotion-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 16px;
  height: 2px;
  background: var(--mint);
  border-radius: 999px;
}

.promotion-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-top: 36px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  transition: background-color 200ms ease, transform 200ms ease;
}

.promotion-cta:hover {
  background: #2bc48a;
  transform: translateY(-2px);
}

@media (max-width: 1023px) {
  .promotion-panel {
    margin-left: 88px;
    padding: 36px 40px 40px;
    background-position: calc(100% - 20px) 20px;
  }

  .promotion-list {
    gap: 16px 24px;
  }
}

@media (max-width: 767px) {
  .promotion {
    padding: 32px var(--page-gutter) 40px;
  }

  .promotion-nose {
    display: none;
  }

  .promotion-panel {
    margin-left: 0;
    padding: 28px 24px 32px;
    background-position: calc(100% - 12px) 16px;
    background-size: 140px auto;
  }

  .promotion-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .promotion-cta {
    width: 100%;
  }
}

.education {
  padding: 56px var(--page-gutter) 64px;
  background: var(--hero-bg);
}

.education-inner {
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.education h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--card-heading);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.education-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid rgba(150, 170, 180, 0.18);
  border-radius: 26px;
  box-shadow: 0 2px 8px rgba(20, 40, 50, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.education-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(20, 40, 50, 0.1);
}

.education-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--services-bg);
}

.education-icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.education-card h3 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--card-heading);
}

.education-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--card-text);
}

.education-card--featured {
  position: relative;
  overflow: hidden;
  background-color: var(--mint);
  background-repeat: no-repeat;
  background-position: right bottom;
  border: 0;
  box-shadow: 0 4px 16px rgba(52, 211, 153, 0.28);
}

.education-card--featured:hover {
  box-shadow: 0 8px 24px rgba(52, 211, 153, 0.34);
}

.education-card--featured h3,
.education-card--featured p {
  color: var(--white);
}

.education-card__icon--light {
  background: rgba(255, 255, 255, 0.18);
}

.education-icon--light {
  stroke: var(--white);
}

.education-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 40px;
  margin-top: 20px;
  padding: 0 22px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 200ms ease, transform 200ms ease;
}

.education-card__button:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.education-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 200ms ease;
}

.education-card__link:hover {
  opacity: 0.85;
}

.education-card__link-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1023px) {
  .education-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .education {
    padding: 40px var(--page-gutter) 48px;
  }

  .education-grid {
    margin-top: 28px;
  }

  .education-card,
  .education-card--featured {
    min-height: auto;
    padding: 24px;
  }
}

.team {
  padding: 56px var(--page-gutter) 64px;
  background: var(--hero-bg);
}

.team-inner {
  width: min(var(--page-width), 100%);
  margin: 0 auto;
}

.team-banner {
  padding: 36px 40px;
  border-radius: 28px;
  background: var(--team-banner-bg);
}

.team-banner h2 {
  max-width: 760px;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--team-banner-text);
  text-transform: uppercase;
}

.team-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 0;
}

.team-list {
  flex: 1;
  max-width: 620px;
  margin-left: 43px;
  list-style: none;
}

.team-list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--card-heading);
}

.team-list li + li {
  margin-top: 22px;
}

.team-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.team-legs {
  flex-shrink: 0;
  max-width: none;
  width: min(100%, 460px);
  height: auto;
  object-fit: contain;
  object-position: right bottom;
}

@media (max-width: 1023px) {
  .team-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .team-legs {
    align-self: center;
    width: min(100%, 320px);
  }
}

@media (max-width: 767px) {
  .team {
    padding: 40px var(--page-gutter) 48px;
  }

  .team-banner {
    padding: 28px 24px;
    border-radius: 22px;
  }

  .team-body {
    margin-top: 0;
  }

  .team-list li {
    font-size: 15px;
  }

  .team-legs {
    display: none;
  }
}

.site-footer {
  position: relative;
  padding: 72px var(--page-gutter) 0;
  background: var(--footer-bg);
  color: var(--white);
  overflow: hidden;
}

.site-footer__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(var(--page-width), 100%);
  margin: 0 auto;
  padding-bottom: 28px;
}

.site-footer h2 {
  max-width: 900px;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
}

.site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-top: 32px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  transition: background-color 200ms ease, transform 200ms ease;
}

.site-footer__cta:hover {
  background: #2bc48a;
  transform: translateY(-2px);
}

.site-footer__contacts {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(120px, 18vw, 260px);
  width: 100%;
  margin-top: 48px;
  padding-bottom: 120px;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: opacity 200ms ease;
}

.site-footer__contact:hover {
  opacity: 0.85;
}

.site-footer__icon {
  width: 28px;
  height: 28px;
  fill: var(--mint);
}

.site-footer__paw {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  max-width: none;
  height: auto;
  pointer-events: none;
  transform: translateX(-50%);
}

.site-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-footer__legal a {
  color: inherit;
  transition: color 200ms ease;
}

.site-footer__legal a:hover {
  color: var(--white);
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: 56px;
  }

  .site-footer__contacts {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding-bottom: 100px;
  }

  .site-footer__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.menu-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 767px) {
  .menu-toggle-input:checked ~ .main-nav {
    transform: translateX(0);
  }

  .menu-toggle-input:checked + .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle-input:checked + .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle-input:checked + .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

.site-footer__icon {
  width: 28px;
  height: 28px;
}
