/* =========================================================
   ВЫСОТА — CSS
   Inspired by stele.ca: minimalist, monochrome, bold typography
   ========================================================= */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --grey-100: #f4f4f4;
  --grey-200: #e8e8e8;
  --grey-400: #aaa;
  --grey-600: #666;
  --grey-800: #333;
  --accent: #c8a96e;          /* subtle warm gold accent */
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-pad {
  padding-top: 120px;
  padding-bottom: 120px;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--grey-200);
  padding-bottom: 24px;
}

.section-num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--grey-400);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--black);
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 48px;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--white);
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.7; }

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  cursor: pointer;
  padding: 14px 18px;
  transition: background 0.2s;
}

.burger-btn:hover {
  background: rgba(255,255,255,0.2);
}

.burger-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
  transform-origin: center;
}

.burger-btn.open .burger-line:nth-child(1) {
  transform: translateY(4.25px) rotate(45deg);
}

.burger-btn.open .burger-line:nth-child(2) {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* === FULLSCREEN MENU === */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 80px 80px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.fullscreen-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-link {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 80px);
  font-weight: 300;
  color: rgba(255,255,255,0.15);
  letter-spacing: -0.03em;
  line-height: 1.1;
  transition: color 0.3s, letter-spacing 0.4s var(--ease-out);
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.menu-link::after {
  content: attr(data-num);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.menu-link:hover {
  color: var(--white);
  letter-spacing: -0.005em;
  padding-left: 36px;
}

.menu-link:hover::after {
  opacity: 1;
}

.menu-footer {
  margin-top: auto;
  display: flex;
  gap: 64px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
}

.menu-contact-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--grey-400);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.menu-contact-val {
  font-size: 16px;
  color: var(--white);
  transition: color 0.2s;
}

.menu-contact-val:hover { color: var(--accent); }

/* === HERO === */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--black);
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 8s ease-out;
}

.hero:hover .hero-img {
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.35) 0%,
    rgba(10,10,10,0.1) 40%,
    rgba(10,10,10,0.6) 100%
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 60px;
  pointer-events: none;
}

.hero-text-row {
  overflow: hidden;
  line-height: 1;
}

.hero-text-left { text-align: left; }
.hero-text-right { text-align: right; }

.hero-word {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(52px, 10vw, 140px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 0.95;
  opacity: 0;
  transform: translateY(60px);
  animation: wordReveal 1s var(--ease-out) forwards;
}

.hero-text-row:nth-child(1) .hero-word { animation-delay: 0.3s; }
.hero-text-row:nth-child(2) .hero-word { animation-delay: 0.55s; }
.hero-text-row:nth-child(3) .hero-word { animation-delay: 0.8s; }

@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeUp 1s 1.2s var(--ease-out) both;
}

.hero-scroll-hint span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.scroll-line {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.35);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: slideRight 2s 1.5s ease-in-out infinite;
}

@keyframes slideRight {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === TICKER BAND === */
.tagline-band {
  background: var(--black);
  color: var(--white);
  padding: 18px 0;
  overflow: hidden;
}

.ticker-wrap {
  white-space: nowrap;
  display: flex;
}

.ticker {
  display: inline-flex;
  animation: ticker 28s linear infinite;
}

.ticker span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding-right: 0;
}

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

/* === SERVICES === */
.services { background: var(--white); }

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

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--grey-100);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s;
}

.service-card:hover { background: var(--black); }

.service-card-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.5s;
  filter: grayscale(100%);
}

.service-card:hover .service-card-img {
  transform: scale(1.06);
  filter: grayscale(100%) brightness(0.6);
}

.service-card-body {
  padding: 32px 36px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.service-card:hover .service-card-title { color: var(--white); }

.service-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-600);
  flex: 1;
  transition: color 0.3s;
}

.service-card:hover .service-card-desc { color: rgba(255,255,255,0.6); }

.service-cta {
  display: inline-block;
  margin-top: 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-400);
  transition: color 0.3s, letter-spacing 0.3s;
}

.service-card:hover .service-cta {
  color: var(--accent);
  letter-spacing: 0.18em;
}

/* === ABOUT === */
.about { background: var(--white); }

.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
}

.about-left .section-num { display: block; margin-bottom: 16px; }

.about-stat-row {
  display: flex;
  gap: 48px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--grey-200);
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1;
}

.about-stat-label {
  font-size: 12px;
  color: var(--grey-400);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.about-text-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.about-text-block p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--grey-600);
  max-width: 680px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
}

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

.about-image-fullwidth {
  position: relative;
  margin-top: 80px;
  width: 100%;
  aspect-ratio: 21/8;
  overflow: hidden;
}

.about-image-fullwidth img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(100%);
}

.about-image-caption {
  position: absolute;
  bottom: 24px;
  right: 36px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* === VACANCIES === */
.vacancies { background: var(--grey-100); }

.vacancies-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--grey-600);
  max-width: 640px;
  margin-bottom: 64px;
}

.vacancies-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--grey-200);
}

.vacancy-item {
  border-bottom: 1px solid var(--grey-200);
}

.vacancy-header {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}

.vacancy-header:hover .vacancy-title { color: var(--accent); }

.vacancy-num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--grey-400);
}

.vacancy-title-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.vacancy-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.vacancy-tags {
  display: flex;
  gap: 8px;
}

.vtag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-400);
  background: var(--grey-200);
  padding: 4px 10px;
  border-radius: 2px;
}

.vacancy-toggle {
  font-size: 24px;
  font-weight: 300;
  color: var(--grey-400);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grey-200);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out), background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.vacancy-item.open .vacancy-toggle {
  transform: rotate(45deg);
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.vacancy-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}

.vacancy-item.open .vacancy-body {
  grid-template-rows: 1fr;
}

.vacancy-body-inner {
  overflow: hidden;
}

.vacancy-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 0 0 40px 72px;
}

.vacancy-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 16px;
}

.vacancy-col ul li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-600);
  padding-left: 14px;
  position: relative;
  margin-bottom: 6px;
}

.vacancy-col ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--grey-400);
  font-size: 12px;
}

.vacancy-salary {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: -0.01em;
}

.vacancy-apply-btn {
  display: inline-block;
  margin: 16px 0 40px 0;
  padding: 14px 36px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  transition: background 0.3s, color 0.3s;
}

.vacancy-apply-btn:hover {
  background: transparent;
  color: var(--black);
}

.vacancies-cta {
  margin-top: 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.vacancies-cta p {
  font-size: 16px;
  color: var(--grey-600);
}

.btn-outline {
  display: inline-block;
  padding: 14px 48px;
  border: 1px solid var(--black);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  transition: background 0.3s, color 0.3s;
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* === CONTACTS === */
.contacts { background: var(--white); }

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--grey-200);
}

.contact-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 10px;
}

.contact-value {
  font-size: 15px;
  color: var(--grey-800);
  line-height: 1.6;
  transition: color 0.2s;
}

.contact-value:hover { color: var(--accent); }

.contact-primary {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--black);
}

.contact-address {
  font-size: 15px !important;
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.contact-divider {
  height: 40px;
}

.contact-hours {
  margin-top: 24px;
  font-size: 12px;
  color: var(--grey-400);
  letter-spacing: 0.05em;
}

/* Map blocks */
.contacts-maps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.map-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.map-link {
  display: block;
}

.map-square {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 1px solid var(--grey-200);
  background: var(--grey-100);
}

.map-square iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: grayscale(100%);
  transition: filter 0.4s;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: background 0.4s;
}

.map-overlay-text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.map-link:hover .map-square iframe {
  filter: grayscale(0%);
}

.map-link:hover .map-overlay {
  background: rgba(10,10,10,0.35);
}

.map-link:hover .map-overlay-text {
  opacity: 1;
  transform: translateY(0);
}

/* === FOOTER === */
.site-footer {
  background: var(--black);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 80px;
  align-items: start;
  padding-top: 80px;
  padding-bottom: 64px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}

.footer-nav,
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-link:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.06em;
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .navbar { padding: 0 32px; }
  .fullscreen-menu { padding: 100px 48px 60px; }
  
  .services-grid { grid-template-columns: 1fr; }
  
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contacts-grid { grid-template-columns: 1fr; }
  
  .contacts-maps {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .navbar { padding: 0 24px; }
  .section-pad { padding-top: 80px; padding-bottom: 80px; }

  .hero-content { padding: 0 32px; }
  .hero-scroll-hint { left: 32px; }
  
  .fullscreen-menu { padding: 100px 32px 48px; }
  .menu-footer { flex-direction: column; gap: 32px; }
  
  .about-stat-row { flex-direction: column; gap: 32px; }
  
  .vacancy-details { grid-template-columns: 1fr; gap: 24px; padding-left: 0; }
  
  .contacts-maps { grid-template-columns: 1fr; }
  
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 48px;
  }
  
  .footer-brand { grid-column: auto; }
  .footer-bottom { padding: 20px 24px; flex-direction: column; gap: 8px; text-align: center; }
}
