/* ============================================================
   ZA-NAS.CSS – За нас page styles
   All sizing in px; layout uses CSS Grid + Flexbox.
   ============================================================ */

/* ─── Nav: uses styles.css — no page override needed ─── */
}

/* ─── PAGE LAYOUT ─── */
main {
  overflow: hidden;
}


/* ============================================================
   HERO SECTION
   Dark gradient bg, large white headline
   ============================================================ */
.zn-hero {
  background:
    linear-gradient(to right, rgba(10, 10, 18, 0.45) 0%, transparent 45%),
    linear-gradient(139.98deg, #1a1a2e 32.77%, #37449c 70.24%);
  min-height: 480px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.zn-hero-content {
  max-width: 1320px;
  margin: -5px auto 0;
  padding: 70px 60px 90px;
  width: 100%;
}

.zn-hero-text {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 41px;
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  max-width: 648px;
}


/* ============================================================
   BRAND STORY SECTION
   Two-column narrative text on white bg
   ============================================================ */
.zn-story {
  background: #fff;
  padding: 96px 0 80px;
}

/* Eyebrow + toggle row */
.zn-story-eyebrow-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.zn-story-eyebrow-row .zn-eyebrow {
  margin-bottom: 0;
}

/* Toggle */
.zn-toggle {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
}
.zn-toggle input {
  display: none;
}
.zn-toggle-track {
  width: 52px;
  height: 28px;
  background: #d1d5db;
  border-radius: 9999px;
  position: relative;
  transition: background 0.2s;
}
.zn-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.zn-toggle input:checked + .zn-toggle-track {
  background: linear-gradient(139.98deg, #1a1a2e 32.77%, #37449c 70.24%);
}
.zn-toggle input:checked + .zn-toggle-track::after {
  transform: translateX(24px);
}

/* Strikethrough effect when toggle is active */
.zn-story.story-active .zn-cross {
  text-decoration: line-through;
  color: inherit;
}

body.dark-mode .zn-story.story-active .zn-cross {
  color: #64748b;
}

.zn-story-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  row-gap: 0px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.zn-eyebrow {
  display: inline-block;
  line-height: 1;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #121217;
  margin-bottom: 28px;
}

.zn-story-heading {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: #121217;
  letter-spacing: -1.68px;
  line-height: 1.21;
  margin-bottom: 36px;
}

.zn-story-right {
  padding-top: 0;
}

.zn-story-heading-right {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 44px;
  font-weight: 400;
  color: #121217;
  letter-spacing: -1.5px;
  line-height: 1.23;
  margin-bottom: 36px;
}

.zn-story-intro {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  color: #373c47;
  line-height: 1.7;
  margin-bottom: 20px;
}

.zn-story-body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 19px;
  color: #373c47;
  line-height: 1.7;
  margin-bottom: 16px;
}

.zn-story-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zn-story-list li {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 19px;
  color: #373c47;
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}
.zn-story-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #373c47;
  font-weight: 400;
}

.zn-story-quote {
  margin-top: 24px;
  padding-left: 0;
  color: #314158;
}


/* ============================================================
   MISSION / VALUES / GOALS SECTION
   Figma: bg #f8fafc, cards left ~60%, illustration right ~40%
   Card 01: transparent (gray bg shows through)
   Cards 02 & 03: white bg
   ============================================================ */
.zn-mvg {
  background: #F8FAFC;
  padding: 120px 0 0;
  overflow: hidden;
  position: relative;
}

.zn-mvg-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 101px;
  display: grid;
  grid-template-columns: 865fr 475fr;
  column-gap: 0;
  align-items: stretch;
  min-height: 700px;
}

/* Cards area: left ~60%, 2-column sub-grid */
.zn-mvg-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 17px;
  row-gap: 31px;
  align-content: start;
  padding-top: 14px;
  padding-bottom: 82px;
}

.zn-mvg-card {
  background: #fff;
  border-radius: 8px;
  padding: 40px 40px 40px 28px;
}

/* Card 01: transparent — shows gray section bg */
.zn-mvg-card--transparent {
  background: transparent;
}

/* Card 03: left column only */
.zn-mvg-card--left {
  grid-column: 1 / 2;
}

.zn-card-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #121217;
  margin-bottom: 18px;
}

.zn-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 36.9px;
  font-weight: 400;
  color: #121217;
  letter-spacing: -0.768px;
  line-height: 46px;
  margin-bottom: 18px;
}

.zn-card-desc {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  color: #6c6c89 !important;
  line-height: 30.6px;
  margin-bottom: 0;
  text-decoration: none !important;
}
.zn-card-desc + .zn-card-desc {
  margin-top: 0;
}

/* Illustration: right column, full section height */
.zn-mvg-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: visible;
}

/* Background circle — Figma: left 712px, top 347px, 757×735 in 1469px frame */
.zn-mvg-vector {
  position: absolute;
  width: 169%;       /* reverted */
  aspect-ratio: 757 / 735;
  max-width: none;
  bottom: 0;
  right: -101px;     /* flush with section right edge (past padding) */
  pointer-events: none;
  z-index: 0;
  display: block;
  /* SVG uses var(--fill-0, white) — override with Figma circle color */
  --fill-0: #dce8f5;
}

/* Artboard illustration — bottom-right */
.zn-mvg-artboard {
  position: absolute;
  bottom: 82px;
  right: 0;
  width: 580px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}
/* Person illustration */
.zn-mvg-photo {
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 470px;
  max-width: none;
  height: auto;
  display: block;
  z-index: 1;
  pointer-events: none;
}


/* ============================================================
   FEEDBACK / CTA SECTION
   ============================================================ */
.zn-feedback {
  background: #fff;
  padding: 220px 0 0;
}

.zn-feedback-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.zn-feedback-headline {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1c1e22;
  line-height: 1.25;
  margin-bottom: 8px;
}

.zn-feedback-sub {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #1c1e22;
  line-height: 1.5;
  margin-bottom: 32px;
}

.zn-feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 12px;
  padding: 12px 20px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  color: #1c1e22;
  text-decoration: none;
  background: #fff;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  margin-bottom: 60px;
}

.zn-feedback-btn:hover {
  border-color: #155dfc;
  color: #155dfc;
}

.zn-feedback-btn-icon {
  width: 28px;
  height: 28px;
  background: #155dfc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zn-feedback-illustration {
  width: 100%;
  max-width: 600px;
}

.zn-feedback-illustration img {
  width: 100%;
  height: auto;
  display: block;
}


/* ============================================================
   FOOTER
   Dark bg (#1a1a2e), 4-column grid
   ============================================================ */
.zn-footer {
  background: #1a1a2e;
  padding: 80px 0 0;
}

.zn-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 60px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px;
}

.zn-footer-brand .logo-new { filter: brightness(10); }

.zn-footer-tagline {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #fff;
  line-height: 1.75;
  margin-bottom: 12px;
  opacity: 0.85;
}

.zn-footer-email {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #92d2ff;
  text-decoration: none;
  transition: color 0.2s;
}
.zn-footer-email:hover { color: #fff; }

.zn-footer-col-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.4;
}

.zn-footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zn-footer-link {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: #92d2ff;
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.5;
}
.zn-footer-link:hover { color: #fff; }

.zn-footer-newsletter {
  display: flex;
  flex-direction: column;
}

.zn-footer-newsletter-desc {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 20px;
}

.zn-newsletter-form {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
}

.zn-newsletter-input {
  flex: 1;
  background: #fff;
  border: none;
  padding: 10px 14px;
  font-size: 12px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #869194;
  outline: none;
  min-width: 0;
}

.zn-newsletter-btn {
  background: #155dfc;
  border: 1px solid #a0d8ff;
  color: #fff;
  font-size: 12px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 10px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.zn-newsletter-btn:hover { background: #0d4fd6; }

/* Popular searches bar */
.zn-footer-searches-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 60px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.zn-footer-searches {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  color: #fff;
}

.zn-footer-searches-label {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  color: #fff;
}

.zn-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 60px;
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
}

.zn-footer-bottom p {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}


/* ============================================================
   DARK MODE SUPPORT
   ============================================================ */
body.dark-mode .zn-hero {
  background:
    linear-gradient(to right, rgba(10, 10, 18, 0.45) 0%, transparent 45%),
    linear-gradient(139.98deg, #1a1a2e 32.77%, #37449c 70.24%);
}

body.dark-mode .zn-story {
  background: #0f1219;
}

body.dark-mode .zn-eyebrow,
body.dark-mode .zn-story-heading,
body.dark-mode .zn-story-heading-right {
  color: #f1f5f9;
}

body.dark-mode .zn-story-intro,
body.dark-mode .zn-story-body {
  color: #ffffff;
}

body.dark-mode .zn-story-list li,
body.dark-mode .zn-story-list li::before {
  color: #ffffff;
}

body.dark-mode .zn-story-quote {
  color: #ffffff;
  border-left-color: #3b82f6;
}

body.dark-mode .zn-mvg {
  background: transparent;
}

body.dark-mode .zn-mvg-card {
  background: #181d27;
  box-shadow: 0 1px 4px rgba(255,255,255,0.08);
}

body.dark-mode .zn-mvg-card:hover {
  box-shadow: 0 6px 24px rgba(255,255,255,0.12);
}

body.dark-mode .zn-card-num { color: #cbd5e1; }

body.dark-mode .zn-card-title { color: #e2e8f0; }

body.dark-mode .zn-card-desc { color: #cbd5e1 !important; }

/* ── MVG illustration: dark mode swaps to key illustration ─── */
.zn-mvg-photo-dark {
  display: none;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 540px;
  max-width: 44%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}
body.dark-mode .zn-mvg-photo { display: none; }
body.dark-mode .zn-mvg-photo-dark { display: block; }

/* ── MVG card: slightly elevated vs new darker section bg ─── */
body.dark-mode .zn-mvg-card { background: #181d27; }
body.dark-mode .zn-mvg-card--transparent { background: transparent; }

@media (max-width: 900px) {
  .zn-mvg-photo-dark { max-width: 70%; }
}
@media (max-width: 600px) {
  .zn-mvg-photo-dark { position: relative; width: 100%; max-width: 100%; }
}

body.dark-mode .zn-feedback { background: #0f1219; }

body.dark-mode .zn-feedback-headline,
body.dark-mode .zn-feedback-sub {
  color: #f1f5f9;
}

body.dark-mode .zn-feedback-btn {
  border-color: rgba(148, 163, 184, 0.35);
  color: #e2e8f0;
}

body.dark-mode .zn-feedback-btn:hover {
  background: #155dfc;
  border-color: #155dfc;
  color: #fff;
}

/* Dark mode nav: uses styles.css */


/* ============================================================
   RESPONSIVE – LARGE TABLET (≤ 1100px)
   ============================================================ */
@media (max-width: 1100px) {
  .zn-hero-text { font-size: 34px; }

  .zn-story-inner {
    gap: 48px;
  }

  .zn-story-heading { font-size: 38px; }
  .zn-story-heading-right { font-size: 34px; }

  .zn-mvg-inner { gap: 40px; }

  .zn-feedback-inner { gap: 40px; }

  .zn-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}


/* ============================================================
   RESPONSIVE – TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .zn-hero-content { padding: 64px 24px; }
  .zn-hero-text { font-size: 28px; max-width: 100%; }

  .zn-story { padding: 64px 0; }
  .zn-story-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }
  .zn-story-heading { font-size: 32px; }
  .zn-story-heading-right { font-size: 28px; }

  .zn-mvg { padding: 56px 0 280px; }
  .zn-mvg-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }
  .zn-mvg-photo { width: 320px; max-width: none; }

  .zn-feedback { padding: 56px 0; }
  .zn-feedback-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }
  .zn-feedback-illustration { display: none; }

  .zn-footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 0 24px 40px;
  }
  .zn-footer-searches-wrap { padding: 0 24px; }
  .zn-footer-bottom { padding: 20px 24px; }
}


/* ============================================================
   RESPONSIVE – MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  .zn-hero-content { padding: 48px 16px; }
  .zn-hero-text { font-size: 22px; }

  .zn-story { padding: 48px 0; }
  .zn-story-inner { padding: 0 16px; }
  .zn-story-heading { font-size: 26px; }
  .zn-story-heading-right { font-size: 24px; }
  .zn-story-intro { font-size: 17px; }
  .zn-story-body { font-size: 16px; }

  .zn-mvg { padding: 48px 0 260px; }
  .zn-mvg-inner { padding: 0 16px; }
  .zn-mvg-card { padding: 24px 20px; }
  .zn-mvg-photo { width: 280px; }
  .zn-card-title { font-size: 22px; }
  .zn-card-desc { font-size: 15px; }

  .zn-feedback { padding: 48px 0; }
  .zn-feedback-inner { padding: 0 16px; }
  .zn-feedback-headline { font-size: 24px; }
  .zn-feedback-sub { font-size: 18px; }
  .zn-feedback-btn { font-size: 17px; padding: 12px 20px; }

  .zn-footer-inner {
    grid-template-columns: 1fr;
    padding: 0 16px 32px;
    gap: 32px;
  }
  .zn-footer-searches-wrap { padding: 0 16px; }
  .zn-footer-bottom { padding: 20px 16px; }

  .zn-newsletter-form {
    flex-direction: column;
    border-radius: 8px;
    overflow: visible;
    gap: 8px;
  }
  .zn-newsletter-input {
    border-radius: 6px;
    height: 42px;
  }
  .zn-newsletter-btn {
    border-radius: 6px;
    height: 42px;
    width: 100%;
  }
}


/* ============================================================
   RESPONSIVE – SMALL MOBILE (≤ 400px)
   ============================================================ */
@media (max-width: 400px) {
  .zn-hero-text { font-size: 20px; }
  .zn-story-heading { font-size: 22px; }
  .zn-story-heading-right { font-size: 20px; }
  .zn-card-title { font-size: 20px; }
}
