:root {
  --dark-color: #16172e;
  --light-color: #f9f8fd;
  --gray-color: #eef1f2;
  --primary-color: #462aa5;
  --secondary-color: #75adfa;
  --blue-color: #37a0f4;
  --accent-color: #ffc720;
  --accent-pale: #fff6a7;
  --accent-orange: #f4923a;
  --white: #ffffff;

  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --container-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--dark-color);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.block {
  padding: 96px 0;
}

.block--tight {
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 16px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--dark-color);
}

h1 {
  font-size: 52px;
}

h2 {
  font-size: 36px;
  text-align: center;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 18px;
}

p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 16px;
  color: rgba(22, 23, 46, 0.75);
}

.lead {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(22, 23, 46, 0.8);
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-title-wrap .eyebrow {
  justify-content: center;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--dark-color);
  box-shadow: 0 10px 24px rgba(255, 199, 32, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 199, 32, 0.45);
}

.btn-light {
  background: var(--white);
  color: var(--primary-color);
}

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

/* ===== NAV ===== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 248, 253, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 23, 46, 0.06);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  color: var(--dark-color);
}

.nav-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: var(--dark-color);
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
}

/* ===== HERO ===== */

/* ===== ABOUT ===== */

.about {
  background: var(--light-color);
}

.about--blue {
  background: var(--blue-color);
}

.about--blue .about-role {
  color: var(--white);
}

.about--blue h2 {
  color: var(--white);
}

.about--blue .about-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.about .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}

.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(22, 23, 46, 0.12);
  background: var(--white);
}

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

.about-role {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 15px;
  margin-bottom: 6px;
}

.about h2 {
  text-align: left;
  margin-bottom: 4px;
}

.about-subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: rgba(22, 23, 46, 0.65);
  margin-bottom: 28px;
}

.about-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.about-facts li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 8px 20px rgba(22, 23, 46, 0.05);
}

.about-facts .dot {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-pale);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-facts .dot svg {
  width: 16px;
  height: 16px;
}

.about-facts p {
  margin: 0;
  font-weight: 500;
  color: var(--dark-color);
}

/* ===== CLIENTS ===== */

.clients {
  background: var(--white);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.client-card {
  background: var(--gray-color);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}

.client-card img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

/* ===== VACANCIES ===== */

.vacancies {
  background: var(--light-color);
}

.vacancy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.vacancy-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 20px rgba(22, 23, 46, 0.05);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
}

.vacancy-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ===== TESTIMONIAL GALLERY ===== */

.testimonials {
  background: var(--white);
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.testimonial-shot {
  border-radius: var(--radius-md);
  overflow: hidden;
  line-height: 0;
}

.testimonial-shot img {
  display: block;
  height: auto;
  max-width: 100%;
}

/* ===== AUDIO TESTIMONIALS ===== */

.audio-block {
  background: var(--primary-color);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.audio-block .section-title-wrap h2 {
  color: var(--white);
}

.audio-block .eyebrow {
  color: var(--accent-pale);
}

.audio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.audio-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.play-btn {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.play-btn:hover {
  transform: scale(1.06);
}

.play-btn:active {
  transform: scale(0.97);
}

.play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.play-btn.is-playing svg.icon-play {
  display: none;
}

.play-btn:not(.is-playing) svg.icon-pause {
  display: none;
}

.play-btn--dark { background: var(--dark-color); }
.play-btn--purple { background: var(--secondary-color); }
.play-btn--orange { background: var(--accent-orange); }

.audio-card h4 {
  color: var(--white);
  margin-bottom: 4px;
}

.audio-card .audio-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.audio-progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.audio-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-color);
  transition: width 0.1s linear;
}

.audio-time {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== FACTS ===== */

.facts {
  background: var(--gray-color);
}

.facts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.facts-list li {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 26px;
  box-shadow: 0 10px 24px rgba(22, 23, 46, 0.05);
  display: flex;
  gap: 16px;
}

.facts-list .icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.facts-list p {
  margin: 0;
  font-weight: 500;
  color: var(--dark-color);
}

/* ===== CTA / FOOTER ===== */

.cta {
  background: var(--blue-color);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
}

.cta .lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 32px;
  text-align: center;
}

footer {
  background: var(--dark-color);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0;
  font-size: 14px;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
}

footer .footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 960px) {
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }

  .about .container { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; margin: 0 auto; }

  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .vacancy-grid { grid-template-columns: 1fr 1fr; }
  .audio-grid { grid-template-columns: 1fr; }
  .facts-list { grid-template-columns: 1fr; }

  .nav-links { display: none; }

  .block { padding: 64px 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .vacancy-grid { grid-template-columns: 1fr; }
  .block { padding: 48px 0; }
  .testimonial-shot img { width: 100% !important; }
}
