/* DYNAMIX RECRUITMENT LTD — variables and base */
:root {
  --background: 210 20% 98%;
  --foreground: 213 50% 15%;
  --card: 0 0% 100%;
  --card-foreground: 213 50% 15%;
  --primary: 187 73% 30%;
  --primary-foreground: 0 0% 100%;
  --primary-dark: 213 55% 18%;
  --primary-dark-foreground: 0 0% 100%;
  --muted: 210 30% 94%;
  --muted-foreground: 213 20% 50%;
  --border: 214.3 31.8% 88%;
  --ring: 187 73% 30%;
  --radius: 0.375rem;
  --teal: 187 73% 30%;
  --teal-light: 187 73% 45%;
  --navy: 213 55% 18%;
  --navy-dark: 213 60% 12%;
  --gold: 45 95% 55%;
  --container: 1400px;
  --font-sans: 'Plus Jakarta Sans', 'Poppins', system-ui, sans-serif;
  --font-heading: 'Poppins', 'Plus Jakarta Sans', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

h1, h2, h3, h4, .section-title, .hero-title, .hero-label {
  font-family: var(--font-heading);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

/* Layout */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.min-h-screen { min-height: 100vh; }
.flex-col { display: flex; flex-direction: column; }

.container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: hsl(var(--navy-dark));
  color: hsl(var(--primary-foreground));
  font-size: 0.75rem;
  height: 51px;
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.topbar-lang {
  position: relative;
  min-width: 6rem;
}

.topbar-lang-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
  min-height: 2.25rem;
  padding: 0.35rem 1rem;
  background: none;
  border: none;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  box-sizing: border-box;
}

.topbar-lang-chevron {
  transition: transform 0.2s;
}

.topbar-lang.is-open .topbar-lang-chevron {
  transform: rotate(180deg);
}

.topbar-lang-dropdown {
  position: absolute;
  top: 100%;
  left: auto;
  right: 0;
  margin: 0.25rem 0 0;
  padding: 0.25rem 0;
  list-style: none;
  background: hsl(var(--navy));
  border-radius: 0.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  min-width: 10rem;
  z-index: 110;
  display: none;
}

.topbar-lang.is-open .topbar-lang-dropdown {
  display: block;
}

.topbar-lang-option {
  display: block;
  padding: 0.4rem 1rem;
  color: hsl(var(--primary-foreground));
  text-decoration: none;
  font-size: 0.75rem;
  white-space: nowrap;
}

.topbar-lang-option:hover {
  background: hsl(187 73% 30% / 0.3);
  color: hsl(var(--teal));
}

.topbar-item:hover,
.clickable:hover {
  color: hsl(var(--teal));
}

/* Мобильная версия: topbar-lang по центру */
@media (max-width: 767px) {
  .topbar-inner {
    position: relative;
  }
  .topbar-lang {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .topbar-lang-dropdown {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

.icon { width: 1rem; height: 1rem; }
.icon-sm { width: 0.875rem; height: 0.875rem; }
.icon-xs { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }
.icon-menu, .icon-close { width: 1.375rem; height: 1.375rem; }

.hidden { display: none !important; }

/* Header */
.header {
  background: hsl(var(--card));
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  position: sticky;
  top: 51px;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .header-inner {
    justify-content: flex-start;
  }
  .header-inner .nav-desktop {
    flex: 1;
    justify-content: center;
    margin: 0 1rem;
  }
  .header-inner .header-cta {
    flex-shrink: 0;
  }
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: hsl(var(--navy));
  letter-spacing: -0.025em;
  text-decoration: none;
  line-height: 1.2;
}

.logo-accent {
  display: block;
  font-size: 0.75em;
  font-weight: 700;
  color: hsl(var(--teal-light));
  letter-spacing: inherit;
}

.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  .nav-desktop a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    text-decoration: none;
  }
  .nav-desktop a:hover { color: hsl(var(--teal)); }
  .header-cta {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
  }
  .nav-toggle { display: none; }
}

.header-cta { display: none; }

.nav-toggle {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: hsl(var(--foreground));
}

@media (min-width: 1024px) {
  .nav-mobile { display: none !important; }
}

.nav-mobile {
  border-top: 1px solid hsl(var(--border));
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-mobile a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  text-decoration: none;
  padding: 0.25rem 0;
}

.nav-mobile a:hover { color: hsl(var(--teal)); }
.nav-mobile .btn.btn-navy { color: hsl(var(--primary-foreground)); }
.block-btn { text-align: center; padding: 0.625rem !important; margin-top: 0.5rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-navy {
  background: hsl(var(--navy));
  color: hsl(var(--primary-foreground));
}

.btn-navy:hover {
  background: hsl(var(--teal));
}

.btn-lg { padding: 0.75rem 1.5rem; }
.btn-block { width: 100%; justify-content: center; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: hsl(var(--muted));
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-content { position: relative; z-index: 10; width: 100%; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 480px;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

.hero-text {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .hero-text { padding: 5rem 0; padding-right: 2rem; }
}

.hero-label {
  color: hsl(var(--foreground));
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 900;
  color: hsl(var(--teal));
  margin: 0 0 1.25rem;
}

@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }

.hero-desc {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 28rem;
}

@media (min-width: 1024px) { .hero-desc { font-size: 1.125rem; } }

.hero-image-wrap {
  position: absolute;
  inset: 0;
  left: 40%;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: hsl(187 73% 30% / 0.7);
}

/* Hero: при ширине < 1080px — только цвет фона, текст по центру */
@media (max-width: 1079px) {
  .hero {
    background: hsl(var(--muted));
  }
  .hero-image-wrap {
    display: none;
  }
  .hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-grid {
    justify-items: center;
    text-align: center;
  }
  .hero-text {
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-desc {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-text .btn {
    align-self: center;
  }
}

/* Sections */
.section { padding: 5rem 0; }
.section-card { background: hsl(var(--card)); }
.section-bg { background: hsl(var(--background)); }
.section-muted { background: hsl(var(--muted)); }
.section-border { border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); }
.section-navy { background: hsl(var(--navy)); color: hsl(var(--primary-foreground)); }
.section-teal { background: hsl(var(--teal)); color: hsl(var(--primary-foreground)); }

.section-title {
  font-size: 1.875rem;
  font-weight: 900;
  margin: 0 0 0.75rem;
}

@media (min-width: 1024px) { .section-title { font-size: 2.25rem; } }

.section-title.teal { color: hsl(var(--teal)); }
.section-title.navy { color: hsl(var(--navy)); }
.section-title.white { color: hsl(var(--primary-foreground)); }

body.page-inner h1,
body.page-inner h2 { color: hsl(var(--navy)); }

.muted { color: hsl(var(--muted-foreground)); }
.muted.small { font-size: 0.875rem; }
.muted.xs { font-size: 0.75rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.max-w { max-width: 36rem; margin-left: auto; margin-right: auto; }

/* Marquee */
.marquee-wrap {
  position: relative;
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 3rem;
  align-items: center;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee span {
  color: hsl(var(--muted-foreground));
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
  padding: 0 1rem;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
}

.marquee-item img {
  max-height: 2rem;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Workforce Solutions */
.section-solutions {
  background: hsl(var(--background));
  position: relative;
  overflow: hidden;
}

.section-solutions::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400' opacity='0.06'%3E%3Cpath fill='%23004780' d='M400 0q-50 80-80 160t-30 120q0 60 40 120H0v200h800V0H400z'/%3E%3C/svg%3E") no-repeat center;
  background-size: 120% auto;
  pointer-events: none;
}

.solutions-head {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .solutions-head { text-align: left; margin-bottom: 2.5rem; }
}

.solutions-title {
  color: hsl(213 100% 25%);
  font-size: 1.75rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .solutions-title { font-size: 2rem; }
}

@media (min-width: 1024px) {
  .solutions-title { font-size: 2.25rem; }
}

.solutions-subtitle {
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
  margin: 0;
  font-weight: 400;
}

/* Cards */
.solutions-cards {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .solutions-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.card-solution-wrap {
  position: relative;
}

.card-solution-pin {
  display: none;
}

@media (min-width: 1024px) {
  .card-solution-pin {
    display: block;
    position: absolute;
    top: -0.75rem;
    left: 1rem;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    color: hsl(var(--gold));
  }
  .card-solution-pin svg { width: 100%; height: 100%; }
}

.card-solution {
  display: block;
  position: relative;
  min-height: 280px;
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s;
}

@media (min-width: 1024px) {
  .card-solution { min-height: 320px; }
}

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

.card-solution-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-solution-overlay {
  position: absolute;
  inset: 0;
  background: hsl(213 55% 18% / 0.85);
}

.card-solution-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 280px;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .card-solution-content { min-height: 320px; padding: 1.75rem; }
}

.card-solution-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}

.card-solution-content p {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.card-solution-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background: hsl(var(--gold));
  color: hsl(var(--navy));
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  transition: background-color 0.2s, color 0.2s;
}

.card-solution:hover .card-solution-btn {
  background: hsl(45 95% 62%);
}

.gold { color: hsl(var(--gold)); }

.link-teal {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: hsl(var(--teal));
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.card-resource:hover .link-teal { gap: 0.5rem; }

/* Global Partner */
.global-head { max-width: 42rem; margin-bottom: 3rem; }

.teal-light { color: hsl(var(--teal-light)); font-size: 1.125rem; font-weight: 500; }

.global-cards {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .global-cards { grid-template-columns: repeat(3, 1fr); }
}

.card-global {
  background: hsl(var(--navy-dark));
  border: 1px solid hsl(187 73% 30% / 0.2);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.card-global:hover { border-color: hsl(187 73% 30% / 0.6); }

.card-global-bar {
  width: 2.5rem;
  height: 0.25rem;
  background: hsl(var(--teal));
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.card-global h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: hsl(var(--primary-foreground));
}

.card-global p {
  color: hsl(0 0% 100% / 0.7);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* Stats */
.stats-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.card-stat {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card-stat:hover {
  border-color: hsl(var(--teal));
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: hsl(var(--teal));
  margin-bottom: 0.5rem;
}

.stat-label {
  font-weight: 700;
  color: hsl(var(--navy));
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

/* Resources */
.resources-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) { .resources-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .resources-grid { grid-template-columns: repeat(5, 1fr); } }

.card-resource {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  border: 1px solid hsl(var(--border));
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card-resource:hover {
  border-color: hsl(var(--teal));
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}

.resource-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: hsl(187 73% 30% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-icon svg {
  width: 1.375rem;
  height: 1.375rem;
  color: hsl(var(--teal));
}

.card-resource h3 {
  font-weight: 700;
  color: hsl(var(--navy));
  font-size: 0.875rem;
  margin: 0;
}

/* About page */
.about-main {
  background: hsl(var(--card));
}

.about-main-inner {
  text-align: center;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.about-legacy-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: hsl(213 100% 28%);
  margin: 0 0 0.5rem;
}

@media (min-width: 768px) {
  .about-legacy-title { font-size: 2.5rem; }
}

.about-legacy-subtitle {
  color: hsl(var(--foreground));
  font-size: 1rem;
  margin: 0 0 2.5rem;
}

@media (min-width: 768px) {
  .about-legacy-subtitle { font-size: 1.125rem; margin-bottom: 3rem; }
}

.about-map-wrap {
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .about-map-wrap { margin-bottom: 3rem; }
}

.about-map-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.about-story-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(213 100% 28%);
  margin: 0 0 1rem;
}

@media (min-width: 768px) {
  .about-story-title { font-size: 1.75rem; }
}

.about-story-text {
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

@media (min-width: 768px) {
  .about-story-text { font-size: 1rem; }
}

/* Our Leaders */
.about-leaders {
  background: hsl(var(--background));
}

.about-leaders-title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(213 100% 28%);
  margin: 0 0 0.5rem;
}

@media (min-width: 768px) {
  .about-leaders-title { font-size: 2.25rem; }
}

.about-leaders-subtitle {
  color: hsl(var(--foreground));
  font-size: 1rem;
  margin: 0 0 2.5rem;
}

.leaders-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .leaders-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .leaders-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.leader-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.75rem;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.leader-card:hover {
  border-color: hsl(213 25% 88%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.leader-photo-wrap {
  width: 100%;
  aspect-ratio: 1;
  max-width: 200px;
  margin: 0 auto 1.25rem;
  border-radius: 8px;
  overflow: hidden;
  background: hsl(var(--muted));
}

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

.leader-photo-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.leader-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(213 100% 28%);
  margin: 0 0 0.35rem;
}

.leader-title {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-desc {
  color: hsl(0 0% 100% / 0.8);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(0 0% 100% / 0.9);
  font-size: 0.875rem;
}

.contact-form {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

.form-title {
  color: hsl(var(--navy));
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.25rem;
}

.input {
  width: 100%;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  font-family: inherit;
}

.input:focus {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--ring));
}

.textarea { resize: none; min-height: 4rem; }

.contact-form > div { margin-bottom: 1rem; }
.contact-form > div:last-of-type { margin-bottom: 0; }
.contact-form .btn { margin-top: 0.5rem; }

/* FAQ */
.section-faq .container { padding-left: 2rem; padding-right: 2rem; }

.faq-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.faq-intro .section-title { margin-bottom: 1rem; }

.faq-intro-text {
  color: hsl(0 0% 100% / 0.85);
  font-size: 1rem;
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.faq-ask-btn {
  margin-top: 1.5rem;
  max-width: 20rem;
}

@media (max-width: 767px) {
  .faq-ask-btn {
    width: 100%;
    max-width: none;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item { border-radius: var(--radius); overflow: hidden; }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
  color: hsl(var(--primary-foreground));
  background: hsl(187 73% 26%);
  cursor: pointer;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background: hsl(187 73% 22%);
}

.faq-item.is-open .faq-question {
  background: hsl(var(--navy));
}

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  background: hsl(187 40% 92%);
  color: hsl(var(--foreground));
}

.faq-answer[hidden] { display: none; }

.faq-answer p {
  margin: 0;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: hsl(var(--foreground));
}

/* Footer */
.footer {
  background: hsl(var(--navy-dark));
  color: hsl(var(--primary-foreground));
  padding: 3.5rem 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.footer-desc {
  color: hsl(0 0% 100% / 0.6);
  font-size: 0.875rem;
  margin: 0;
}

.footer-heading {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  color: hsl(var(--teal));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-address-text {
  color: hsl(0 0% 100% / 0.6);
  font-size: 0.875rem;
  margin: 0;
  font-style: normal;
  line-height: 1.5;
}

.footer-contact-item {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
}

.footer-contact-item:last-child { margin-bottom: 0; }

.footer-contact-address {
  color: hsl(0 0% 100% / 0.6);
  cursor: default;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li { margin-bottom: 0.5rem; }

.footer a {
  color: hsl(0 0% 100% / 0.6);
  font-size: 0.875rem;
  text-decoration: none;
}

.footer a:hover { color: hsl(var(--teal)); }

.footer-bottom {
  border-top: 1px solid hsl(0 0% 100% / 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
}

.footer-copy {
  color: hsl(0 0% 100% / 0.4);
  font-size: 0.75rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: hsl(0 0% 100% / 0.4);
  font-size: 0.75rem;
}

/* Procedure block */
.procedure-block {
  background: hsl(var(--background));
}

.procedure-inner {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.procedure-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0 0 0.5rem;
}

@media (min-width: 768px) {
  .procedure-title { font-size: 2.5rem; }
}

.procedure-subtitle {
  color: hsl(var(--foreground));
  font-size: 1rem;
  margin: 0 0 2.5rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .procedure-subtitle { font-size: 1.125rem; margin-bottom: 3rem; }
}

.procedure-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.procedure-step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.procedure-step:last-of-type {
  margin-bottom: 2.5rem;
}

.procedure-step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--teal));
  color: hsl(var(--primary-foreground));
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.procedure-step-content {
  flex: 1;
  min-width: 0;
}

.procedure-step-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0 0 0.5rem;
}

@media (min-width: 768px) {
  .procedure-step-title { font-size: 1.25rem; }
}

.procedure-step-text {
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
}

@media (min-width: 768px) {
  .procedure-step-text { font-size: 1rem; }
}

.procedure-cta-wrap {
  margin: 0;
  text-align: center;
}

.procedure-cta {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Contact page */
.contact-page {
  padding: 0;
}

.contact-banner {
  background: hsl(var(--card));
  padding: 3rem 0;
}

.contact-banner-inner {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.contact-banner-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #0f4a7c;
}

@media (min-width: 768px) {
  .contact-banner-title { font-size: 2.5rem; }
}

.contact-banner-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #404040;
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .contact-banner-subtitle { font-size: 1.125rem; }
}

.contact-content {
  background: hsl(var(--card));
  padding: 3rem 0;
}

.contact-page .contact-grid {
  align-items: start;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-page .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.contact-col-info .contact-heading,
.contact-col-form .contact-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0 0 1.25rem;
}

.contact-company {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: hsl(var(--foreground));
  margin: 0 0 0.75rem;
}

.contact-address {
  font-size: 0.9375rem;
  color: hsl(var(--foreground));
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.contact-email {
  display: inline-block;
  font-size: 0.9375rem;
  color: hsl(var(--teal));
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.contact-email:hover {
  color: hsl(var(--teal-light));
  text-decoration: underline;
}

.contact-messengers {
  font-size: 0.9375rem;
  color: hsl(var(--foreground));
  margin: 0 0 0.25rem;
}

.contact-col-form .contact-form {
  margin: 0;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  padding: 1.75rem;
}

.contact-page .contact-form > div {
  margin-bottom: 1.25rem;
}

.contact-page .contact-form > div:last-of-type {
  margin-bottom: 1rem;
}

.contact-submit {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Вакансии — карточка */
.vacancy-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .vacancy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .vacancy-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.vacancy-card {
  display: flex;
  flex-direction: column;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.vacancy-card:hover {
  border-color: hsl(var(--teal) / 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.vacancy-card-inner {
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1rem;
  align-items: flex-start;
}

.vacancy-card::after {
  content: '';
  flex-shrink: 0;
  display: block;
  height: 4px;
  background: hsl(var(--teal));
  border-radius: 0 0 var(--radius) var(--radius);
}

.vacancy-card-logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
}

.vacancy-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vacancy-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.vacancy-card-company {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--teal));
  margin: 0;
}

.vacancy-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0;
  line-height: 1.35;
}

.vacancy-card-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.vacancy-card-location .icon-xs {
  flex-shrink: 0;
  color: hsl(var(--muted-foreground));
}

.vacancy-card-wage {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: hsl(var(--navy));
  color: hsl(var(--primary-foreground));
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius);
}

/* Модальное окно менеджера */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: hsl(213 55% 18% / 0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: hsl(var(--card));
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  padding: 2rem 2rem 2.5rem;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: hsl(var(--foreground));
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover {
  background: hsl(var(--muted));
  color: hsl(var(--primary));
}
.modal-body {
  text-align: center;
}
.modal-avatar-wrap {
  margin-bottom: 1rem;
}
.modal-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}
.modal-avatar-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.modal-subtitle {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0 0 0.25rem;
}
.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: hsl(var(--foreground));
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.modal-actions .btn-whatsapp,
.modal-actions .btn-telegram {
  width: 100%;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.btn-whatsapp:hover {
  background: #20bd5a;
  color: #fff;
}
.btn-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  background: #0088cc;
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.btn-telegram:hover {
  background: #0077b5;
  color: #fff;
}
