/* ============================================
   COMPONENTS.CSS — BEM components
   Source: docs/03_COMPONENTS_SPEC.md
   Prefix: c-
   ============================================ */

/* ============================================
   1. HEADER
   ============================================ */

.c-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.c-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 32px;
  min-height: 88px;
}
.c-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background-image: none;
}
.c-header__logo-img { width: 48px; height: 48px; }
.c-header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.c-header__logo-line1 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
}
.c-header__logo-line2 {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.c-nav-list {
  display: flex;
  list-style: none;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.c-nav-list > .c-nav-list__item > a,
.c-nav-list > li > a {
  white-space: nowrap;
}
.c-nav-list a {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease;
  padding-bottom: 4px;
}
.c-nav-list a:hover {
  background-size: 100% 2px;
}

/* Dropdown */
.c-nav-list__item--has-dropdown {
  position: relative;
}
.c-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
}
.c-nav-list__item--has-dropdown:hover > .c-nav-dropdown,
.c-nav-list__item--has-dropdown:focus-within > .c-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.c-nav-dropdown li { margin: 0; }
.c-nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  background-image: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.c-nav-dropdown a:hover {
  background-color: rgba(184, 134, 11, 0.08);
  color: var(--gold);
}
.c-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.c-lang-switch {
  display: flex;
  gap: 4px;
}
.c-lang-switch__btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.c-lang-switch__btn.is-active {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}
.c-header__burger { display: none; }

@media (max-width: 960px) {
  .c-header__nav { display: none; }
  .c-header__burger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px;
  }
  .c-header__burger span {
    width: 24px;
    height: 2px;
    background: var(--navy);
  }
  .c-header.is-menu-open .c-header__nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 24px 32px;
  }
  .c-header.is-menu-open .c-nav-list {
    flex-direction: column;
    gap: 16px;
  }
  .c-nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    padding: 8px 0 0 16px;
    min-width: 0;
  }
  .c-nav-dropdown a {
    padding: 6px 0;
    font-size: 14px;
    color: var(--ink-muted);
  }
}

/* ============================================
   2. HERO
   ============================================ */

.c-hero {
  padding: 80px 0 120px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.c-hero::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--gold);
}
.c-hero__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}
.c-hero__eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.c-hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 var(--space-5);
}
.c-hero__title span,
.c-hero__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.c-hero__lead {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 var(--space-6);
}
.c-hero__meta {
  display: flex;
  gap: 56px;
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.c-hero__stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.c-hero__stat strong {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.c-hero__stat span {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.c-hero__visual {
  aspect-ratio: 1;
  max-width: 560px;
  margin-left: auto;
  width: 100%;
}
.c-hero__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 960px) {
  .c-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .c-hero__visual {
    order: -1;
    margin: 0 auto;
    max-width: 320px;
  }
  .c-hero__meta { gap: 32px; }
  .c-hero__stat strong { font-size: 32px; }
}

/* ============================================
   3. SECTION — MISSION
   ============================================ */

.c-section { padding: 80px 0; }
.c-section--mission { background: var(--paper-deep); }
.c-section__head { text-align: center; margin-bottom: 64px; }
.c-section__eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.c-section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--navy);
  margin: 0;
}
.c-mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.c-mission-card {
  padding: 48px 32px;
  background: var(--paper-deep);
  text-align: center;
}
.c-mission-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  color: var(--gold);
}
.c-mission-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 16px;
}
.c-mission-card__text {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 960px) {
  .c-mission-grid { grid-template-columns: 1fr; }
}

/* ============================================
   4. NEWS CARD
   ============================================ */

.c-news-card { border-top: 1px solid var(--line); padding-top: 32px; }
.c-news-card__link { display: block; text-decoration: none; color: inherit; background-image: none; }
.c-news-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 20px;
}
.c-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.c-news-card__link:hover img { transform: scale(1.03); }
.c-news-card__meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 12px;
}
.c-news-card__category { color: var(--gold); font-weight: 600; }
.c-news-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 12px;
}
.c-news-card__excerpt {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================
   5. BUTTONS
   ============================================ */

.c-btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  background-image: none;
}
.c-btn--ghost {
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
}
.c-btn--ghost:hover {
  background: var(--navy);
  color: var(--paper);
}
.c-btn--ghost:active {
  background: var(--navy-active);
  color: var(--paper);
}
.c-btn--primary {
  background: var(--burgundy);
  border: 1px solid var(--burgundy);
  color: var(--paper);
}
.c-btn--primary:hover {
  background: var(--burgundy-hover);
  border-color: var(--burgundy-hover);
}
.c-btn--primary:hover {
  background: transparent;
  color: var(--burgundy);
}

/* ============================================
   6. FOOTER
   ============================================ */

.c-footer {
  background: var(--navy-deep);
  color: var(--paper);
  padding: 80px 0 32px;
  margin-top: 120px;
}
.c-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 40px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(250, 247, 238, 0.1);
}
.c-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.c-footer__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--paper);
}
.c-footer__contacts {
  display: flex;
  gap: 48px;
}
.c-footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.c-footer__contact-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.c-footer__contact-value {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(250, 247, 238, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.c-footer__contact-value:hover { color: var(--gold); }
.c-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(250, 246, 236, 0.5);
}
.c-footer__links { display: flex; gap: 24px; }
.c-footer__links a { color: inherit; text-decoration: none; }
.c-footer__links a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .c-footer__top { flex-direction: column; gap: 32px; }
  .c-footer__contacts { flex-direction: column; gap: 24px; }
  .c-footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ============================================
   7. PLACEHOLDER
   ============================================ */

.c-placeholder {
  border: 2px dashed var(--gold);
  background: rgba(184, 134, 11, 0.04);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
  gap: 16px;
}
.c-placeholder svg { color: var(--gold); }
.c-placeholder__text {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 400px;
  margin: 0;
}
.c-placeholder__text strong {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
.c-placeholder__spec {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 8px;
}
.c-placeholder--photo { min-height: 400px; aspect-ratio: 4/5; }
.c-placeholder--video { min-height: 500px; aspect-ratio: 16/9; }
.c-placeholder--text { min-height: 200px; }
