/* AET Demo — базовые компоненты (токены в design-system.css) */
@import url('design-system.css');
@import url('contact-widget.css');
@import url('ambient.css');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(6, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.header.scrolled { background: rgba(6, 8, 16, 0.95); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.logo__mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent) 0%, #1e5a9e 100%);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}

.logo__text span { color: var(--accent-bright); }

.nav { display: flex; align-items: center; gap: 4px; }

.nav__link {
  padding: 8px 11px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav__link.active { color: var(--accent-bright); }

.nav__dropdown {
  position: relative;
}

.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: inherit;
}

.nav__chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  opacity: 0.65;
}

.nav__dropdown.open .nav__chevron,
.nav__dropdown:hover .nav__chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav__dropdown--active > .nav__trigger {
  color: var(--accent-bright);
  background: rgba(255, 255, 255, 0.05);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 228px;
  padding: 8px;
  background: rgba(8, 12, 22, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(45, 140, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1001;
}

.nav__dropdown.open .nav__dropdown-menu,
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.nav__dropdown-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-light, var(--accent-bright));
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav__dropdown-item:hover {
  background: rgba(45, 140, 255, 0.1);
  color: var(--text-primary);
  padding-left: 18px;
}

.nav__dropdown-item:hover::before {
  opacity: 0.7;
  transform: scale(1);
}

.nav__dropdown-item.active {
  background: rgba(45, 140, 255, 0.14);
  color: var(--accent-bright);
}

.nav__dropdown-item.active::before {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 8px rgba(45, 140, 255, 0.6);
}

.header__actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.lang-switch span { color: var(--accent-bright); }

.lang-switch a {
  color: var(--color-text-muted, var(--text-muted));
  transition: color var(--transition);
}

.lang-switch a:hover,
.lang-switch a.active { color: var(--accent-bright, var(--color-accent-light)); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn--primary:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn--outline {
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--accent);
  background: rgba(59, 158, 255, 0.08);
}

.btn--ghost {
  color: var(--accent-bright);
  padding: 8px 0;
}

.btn--ghost:hover { color: var(--text-primary); }

.btn--lg { padding: 16px 32px; font-size: 1rem; }

/* Mobile menu */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(6, 8, 16, 0.98);
  backdrop-filter: blur(20px);
  padding: 16px 24px 32px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav.open { display: flex; }

.mobile-nav .nav__link {
  padding: 14px 12px;
  font-size: 1.0625rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  border-radius: 8px;
}

.mobile-nav .nav__link.active {
  color: var(--accent-bright);
  background: rgba(45, 140, 255, 0.08);
}

.mobile-nav__group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav__label {
  padding: 8px 12px 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mobile-nav .nav__link--sub {
  padding-left: 20px;
  font-size: 1rem;
}

.mobile-nav__lang {
  width: 100%;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-lang-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.mobile-lang-switch__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 10px;
  color: var(--text-secondary);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mobile-lang-switch__btn.active {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark, #1a5fb4) 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow, rgba(45, 140, 255, 0.4));
}

.mobile-lang-switch__btn:not(.active):active {
  transform: scale(0.98);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.mobile-nav__footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav__cta {
  width: 100%;
  justify-content: center;
}

body.mobile-nav-open { overflow: hidden; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-h);
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(59, 158, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(30, 90, 158, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 158, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 158, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 80px 0 120px;
  max-width: 820px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(59, 158, 255, 0.1);
  border: 1px solid rgba(59, 158, 255, 0.25);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--accent-bright);
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease both;
}

.hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-bright);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-bright), #a8d8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero__visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 560px;
  opacity: 0.9;
  animation: fadeIn 1.2s 0.4s ease both;
}

.hero__orbit {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(59, 158, 255, 0.2);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.orbit-ring:nth-child(1) { inset: 10%; }
.orbit-ring:nth-child(2) { inset: 25%; animation-direction: reverse; animation-duration: 20s; }
.orbit-ring:nth-child(3) { inset: 40%; animation-duration: 15s; }

.orbit-core {
  position: absolute;
  inset: 35%;
  background: radial-gradient(circle, var(--accent) 0%, #1e5a9e 50%, transparent 70%);
  border-radius: 50%;
  box-shadow: 0 0 60px var(--accent-glow);
}

.orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--accent-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-bright);
}

.orbit-dot:nth-child(5) { top: 5%; left: 50%; }
.orbit-dot:nth-child(6) { bottom: 20%; right: 10%; }

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: fadeUp 1s 0.6s ease both;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s infinite;
}

/* Stats */
.stats {
  padding: 0 0 100px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  background: var(--bg-card);
  padding: 36px 28px;
  text-align: center;
  transition: background var(--transition);
}

.stat:hover { background: var(--bg-elevated); }

.stat__value {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--accent-bright);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Sections */
.section {
  padding: 100px 0;
}

.section--dark { background: var(--bg-secondary); }

.section__header {
  margin-bottom: 56px;
  max-width: 680px;
}

.section__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section__title em {
  font-style: normal;
  color: var(--accent-bright);
}

.section__desc {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card:hover::before { opacity: 1; }

.card__icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 158, 255, 0.12);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card__text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-bright);
  font-size: 0.875rem;
  font-weight: 600;
}

.card__link:hover { gap: 10px; }

/* Feature block */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }

.feature-visual {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.feature-visual__inner {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(59, 158, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(59, 158, 255, 0.15) 0%, transparent 50%);
  display: grid;
  place-items: center;
}

.feature-visual__label {
  font-size: 4rem;
  font-weight: 800;
  opacity: 0.15;
  letter-spacing: 0.1em;
}

.feature-list { margin-top: 24px; }

.feature-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.feature-list li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
}

/* Projects preview */
.projects-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--border);
  cursor: pointer;
}

.project-card__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628, #1a2a4a);
  transition: transform 0.6s ease;
}

.project-card:hover .project-card__bg { transform: scale(1.05); }

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 16, 0.95) 0%, transparent 60%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-card__tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(59, 158, 255, 0.2);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--accent-bright);
  margin-bottom: 8px;
  width: fit-content;
}

.project-card__title {
  font-size: 1.125rem;
  font-weight: 700;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.news-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.news-card__date {
  padding: 20px 24px 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.news-card__title {
  padding: 12px 24px 24px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

/* CTA */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a1628 0%, #0d2040 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
}

.cta__desc {
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 16px;
  max-width: 280px;
}

.footer__col h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer__col a:hover { color: var(--accent-bright); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__socials { display: flex; gap: 16px; }
.footer__socials a:hover { color: var(--accent-bright); }

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--header-h) + 80px) 0 60px;
  background: var(--gradient-hero);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 30%, rgba(59, 158, 255, 0.1) 0%, transparent 60%);
}

.page-hero__content { position: relative; }

.page-hero__breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.page-hero__breadcrumb a:hover { color: var(--accent-bright); }

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-hero__desc {
  margin-top: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  font-size: 1.0625rem;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 10px 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--text-primary);
  border-color: var(--accent);
  background: rgba(59, 158, 255, 0.1);
}

/* Map */
.map-section { margin-bottom: 48px; }

.map-container {
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(45, 140, 255, 0.06) 0%, transparent 55%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.03) 39px,
      rgba(255, 255, 255, 0.03) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.03) 39px,
      rgba(255, 255, 255, 0.03) 40px
    ),
    var(--color-bg-deep, #04060c);
}

.map-placeholder__inner {
  text-align: center;
  padding: 32px;
}

.map-placeholder__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--color-accent-light, var(--accent-bright));
  opacity: 0.7;
}

.map-placeholder__text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-secondary, var(--text-secondary));
  letter-spacing: 0.02em;
}

.map-placeholder--office {
  min-height: 360px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border, var(--border));
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.contact-info { padding: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); }

.contact-info__item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info__item:last-child { border-bottom: none; }

.contact-info__icon {
  width: 44px; height: 44px;
  background: rgba(59, 158, 255, 0.12);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-info__label { font-size: 0.8125rem; color: var(--text-muted); }
.contact-info__value { font-size: 1rem; margin-top: 4px; }
.contact-info__value a:hover { color: var(--accent-bright); }

/* Tabs */
.tabs { display: flex; gap: 4px; margin-bottom: 40px; border-bottom: 1px solid var(--border); }

.tab-btn {
  padding: 14px 24px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}

.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--accent-bright); border-bottom-color: var(--accent); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Timeline */
.timeline { position: relative; padding-left: 32px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline__item {
  position: relative;
  padding-bottom: 40px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -29px; top: 6px;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline__year {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline__title { font-weight: 700; margin-bottom: 8px; }
.timeline__text { color: var(--text-secondary); font-size: 0.9375rem; }

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 0.9; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Responsive */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__actions { display: none; }
  .logo__text { max-width: 9.5rem; line-height: 1.25; font-size: 0.8125rem; }
  .hero__visual { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid,
  .projects-slider,
  .news-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row--reverse { direction: ltr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; text-align: center; }
  .hero__content { padding: 60px 0 80px; }
  .section { padding: 64px 0; }
}
