/*
 * Alatau Grand Qurylys
 * Design: docs/screen.png, docs/code.html — Design Tokens по .cursor/rules
 */

:root {
  --color-bg-dark: #0F172A;
  --color-bg-light: #F5F6F7;
  --color-surface: #FFFFFF;
  --color-text-main: #1F2933;
  --color-text-secondary: #4B5563;
  --color-divider: #E5E7EB;

  --color-accent: #BC9151;
  --color-accent-hover: #A67F45;
  --color-accent-soft: #E6D2B3;

  --font-main: 'Inter', system-ui, sans-serif;

  --container-width: 1280px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

ul { list-style: none; }

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  height: 48px;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}

.btn-secondary:hover {
  background: rgba(188, 145, 81, 0.08);
}

.btn-lg {
  padding: 12px 24px;
  min-width: 180px;
  height: 48px;
}

.btn-lang {
  background: var(--color-surface);
  color: var(--color-text-main);
  border: 1px solid var(--color-divider);
}

.btn-block { width: 100%; }

.btn-cta-primary {
  background: var(--color-surface);
  color: var(--color-accent);
  font-weight: 600;
  padding: 16px 32px;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

.btn-cta-primary:hover {
  background: #f8f9fa;
}

.btn-cta-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 600;
  padding: 14px 30px;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-accent);
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.logo:hover .logo-text { color: #fff; }

.nav {
  display: flex;
  gap: 36px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

.header-actions {
  display: flex;
  gap: 8px;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: 
    linear-gradient(rgba(188, 145, 81, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 145, 81, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 52rem;
}

.hero-tag {
  display: inline-block;
  background: rgba(188, 145, 81, 0.15);
  border: 1px solid rgba(188, 145, 81, 0.3);
  color: var(--color-accent);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: #fff;
}

.hero-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  max-width: 44rem;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- Stats --- */
.stats {
  padding: 24px 0;
}

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

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.stat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.stat-icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.stat-icon svg { width: 100%; height: 100%; }

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-note {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* --- Workflow (Full Service Cycle) --- */
.workflow {
  padding: 48px 0;
}

.workflow-header {
  text-align: center;
  margin-bottom: 40px;
}

.workflow-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.workflow-accent {
  width: 80px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 0 auto 16px;
}

.workflow-desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.6;
}

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

.workflow-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.6s ease;
  transform: translateY(0);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.workflow-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.workflow-card:hover {
  transform: translateY(-8px) scale(1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--color-accent);
}

.workflow-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(188, 145, 81, 0.1);
  border-radius: 50%;
  color: var(--color-accent);
  margin-bottom: 16px;
  transition: transform 0.4s ease, background-color 0.3s ease;
  position: relative;
}

.workflow-icon svg {
  width: 32px;
  height: 32px;
  transition: transform 0.4s ease;
}

.workflow-card:hover .workflow-icon {
  transform: scale(1.15) rotate(5deg);
  background: rgba(188, 145, 81, 0.2);
}

.workflow-card:hover .workflow-icon svg {
  transform: scale(1.1);
}

.workflow-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.workflow-card-text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.workflow-arrow::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--color-divider);
  border-right: 2px solid var(--color-divider);
  transform: translateY(-50%) rotate(45deg);
  transition: border-color 0.3s ease, transform 0.3s ease, right 0.3s ease;
}

.workflow-card:hover.workflow-arrow::after {
  border-color: var(--color-accent);
  right: -24px;
  transform: translateY(-50%) rotate(45deg) scale(1.2);
}

/* --- Sectors --- */
.sectors {
  padding: 40px 0;
}

.sectors-header {
  margin-bottom: 32px;
}

.sectors-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.sectors-accent {
  width: 80px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-bottom: 16px;
}

.sectors-desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  max-width: 42rem;
  line-height: 1.6;
}

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

.sector-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease;
}

.sector-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.sector-img {
  width: 100%;
  height: 256px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.sector-card:hover .sector-img {
  transform: scale(1.05);
}

.sector-body { padding: 24px; }

.sector-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sector-icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  background: rgba(188, 145, 81, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-accent);
}

.sector-icon svg { width: 100%; height: 100%; }

.sector-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.sector-text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 24px;
}

.sector-list {
  margin-bottom: 24px;
}

.sector-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  padding: 4px 0;
}

.list-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* --- Featured Projects --- */
.projects {
  padding: 40px 0;
}

.projects-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.projects-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.projects-accent {
  width: 80px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
}

.projects-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--color-accent);
  transition: gap 0.2s ease;
}

.projects-link:hover {
  gap: 12px;
}

.projects-link-arrow {
  width: 20px;
  height: 20px;
}

.projects-link-arrow svg { width: 100%; height: 100%; }

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

.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.project-img {
  width: 100%;
  height: 224px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.project-body { padding: 24px; }

.project-category {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.project-desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.project-meta-icon {
  display: inline-flex;
  vertical-align: middle;
  width: 14px;
  height: 14px;
  margin-right: 4px;
}

.project-meta-icon svg { width: 100%; height: 100%; }

/* --- Partners (Trusted by Industry Leaders) --- */
.partners {
  padding: 40px 0;
  border-top: 1px solid var(--color-divider);
}

.partners-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 32px;
}

.partners-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 48px;
  opacity: 0.5;
  filter: grayscale(1);
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partners-list:hover {
  filter: grayscale(0);
  opacity: 0.85;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-main);
  white-space: nowrap;
}

.partner-icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.partner-icon svg { width: 100%; height: 100%; }

/* --- Client Feedback --- */
.feedback {
  padding: 80px 0;
  background: #f8f9fa;
}

.feedback-header {
  text-align: center;
  margin-bottom: 48px;
}

.feedback-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.feedback-accent {
  width: 80px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 0 auto;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feedback-card {
  position: relative;
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.feedback-quote {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  opacity: 0.2;
}

.feedback-quote svg { width: 100%; height: 100%; }

.feedback-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.feedback-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-accent);
}

.feedback-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 2px;
}

.feedback-role {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.feedback-text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 24px;
}

.feedback-verified {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--color-divider);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
}

.feedback-verified-icon {
  width: 18px;
  height: 18px;
}

.feedback-verified-icon svg { width: 100%; height: 100%; }

/* --- Certs --- */
.certs {
  padding: 40px 0;
  border-top: 1px solid var(--color-divider);
  margin-top: 40px;
}

.certs-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 32px;
}

.certs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
  opacity: 0.85;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.cert-icon {
  width: 24px;
  height: 24px;
  color: var(--color-text-secondary);
}

.cert-icon svg { width: 100%; height: 100%; }

.cert-item-link {
  text-decoration: none;
  color: var(--color-text-main);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background-color 0.2s, color 0.2s;
}

.cert-item-link:hover {
  color: var(--color-accent);
}

.cert-item-link .cert-icon { flex-shrink: 0; }

button.cert-item-link {
  background: none;
  border: none;
  font: inherit;
}

/* --- Модальное окно лицензии --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.modal.modal-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  cursor: pointer;
}

.modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  max-height: calc(100vh - 48px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #E5E7EB;
  flex-shrink: 0;
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin: 0;
}

.modal-close {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  transition: background-color 0.2s, color 0.2s;
}

.modal-close:hover {
  background: #F5F6F7;
  color: var(--color-text-main);
}

.modal-close::before,
.modal-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.modal-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.modal-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.modal-body {
  flex: 1;
  min-height: 0;
  display: flex;
}

.modal-iframe {
  width: 100%;
  height: 75vh;
  min-height: 400px;
  border: none;
}

/* --- CTA --- */
.cta {
  position: relative;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 0 24px 32px;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-content { max-width: 36rem; }

.cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-deco {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  z-index: 0;
}

.cta-deco-1 {
  top: 0;
  right: 0;
  width: 33%;
  height: 100%;
  transform: skewX(-12deg) translateX(20%);
}

.cta-deco-2 {
  bottom: 0;
  left: 0;
  width: 25%;
  height: 50%;
  transform: skewX(12deg) translateX(-20%);
}

/* --- Footer --- */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 48px 0 0;
}

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

.logo-footer .logo-text { color: #fff; }

.footer-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.8);
}

.footer-social-link:hover {
  background: var(--color-accent);
  color: var(--color-bg-dark);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-links a:hover { color: var(--color-accent); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.footer-contact a { color: rgba(255, 255, 255, 0.7); }
.footer-contact a:hover { color: var(--color-accent); }

.footer-contact-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  margin-top: 2px;
}

.footer-contact-icon svg { width: 100%; height: 100%; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255, 255, 255, 0.5); }
.footer-legal a:hover { color: rgba(255, 255, 255, 0.8); }

/* --- Fade-in (scroll) --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Workflow sequential animation delays --- */
.workflow-card:nth-child(1) { transition-delay: 0.1s; }
.workflow-card:nth-child(2) { transition-delay: 0.2s; }
.workflow-card:nth-child(3) { transition-delay: 0.3s; }
.workflow-card:nth-child(4) { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-arrow::after {
    right: 50%;
    bottom: -18px;
    top: auto;
    transform: translateX(50%) rotate(135deg);
  }
  .sectors-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-header { flex-direction: column; }
  .feedback-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header-actions .btn-primary { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-arrow::after {
    right: 50%;
    bottom: -18px;
    top: auto;
    transform: translateX(50%) rotate(135deg);
  }
  .hero { min-height: 520px; padding-bottom: 40px; }
  .hero-title { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { min-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta { margin-left: 0; margin-right: 0; border-radius: 0; padding: 32px 24px; }
  .cta-title { font-size: 1.5rem; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .partners-list { flex-direction: column; }
  .partner-item { white-space: normal; }
}
