﻿/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  /* === Brand colors === */
  --primary: #FF000A;
  --primary-dark: #cc0008;
  --primary-rgb: 255, 0, 10;
  --primary-light: #ff6655;
  --dark: #1A2E39;
  --dark-2: #243d4a;
  --dark-3: #2f4d5d;
  --accent: #FF9800;
  --accent-soft: #ffb74d;
  --white: #ffffff;
  --light: #f5f7f9;
  --light-2: #eef2f5;
  --gray: #6b7d87;
  --gray-2: #9aa9b2;
  --border: #e2e8ec;

  /* === Type scale (fluid) ===
     Prefer these variables over inline font-size: var(--fs-lg)/clamp(...).
     Changes here cascade across the entire site.                  */
  --fs-xs:   clamp(10px, 0.75vw, 11px);   /* tags, captions, micro */
  --fs-sm:   clamp(11px, 0.85vw, 13px);   /* meta, badges, nav */
  --fs-base: clamp(13px, 0.95vw, 14px);   /* body text default */
  --fs-md:   clamp(14px, 1.05vw, 16px);   /* lead, important body */
  --fs-lg:   clamp(15px, 1.2vw, 18px);    /* h4, sub-headings */
  --fs-xl:   clamp(17px, 1.5vw, 22px);    /* h3 */
  --fs-2xl:  clamp(19px, 1.9vw, 26px);    /* h2 small */
  --fs-3xl:  clamp(22px, 2.6vw, 34px);    /* h2 */
  --fs-4xl:  clamp(26px, 3.4vw, 40px);    /* h1 / hero secondary */
  --fs-5xl:  clamp(32px, 5vw, 60px);      /* hero main */

  /* === Spacing scale === */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;

  /* === Geometry & motion === */
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(26, 46, 57, 0.06);
  --shadow: 0 8px 30px rgba(26, 46, 57, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 46, 57, 0.18);
  --transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  --container: 1240px;
}

/* The base body font size is driven by the type scale above. */
body { font-size: var(--fs-base); }

body {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--fs-md);
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--lg { padding: 18px 36px; font-size: var(--fs-md); }
.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 0, 10, 0.22);
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 0, 10, 0.3);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}
.btn--outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all var(--transition);
  /* Translucent dark gradient over the hero. Masks the top letterbox bar of
     the video and keeps logo/menu readable. Fades to transparent at the bottom. */
  background: linear-gradient(
    180deg,
    rgba(26, 46, 57, 0.92) 0%,
    rgba(26, 46, 57, 0.78) 60%,
    rgba(26, 46, 57, 0) 100%
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(26, 46, 57, 0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}
.logo__mark {
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: var(--fs-xl);
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(255, 0, 10, 0.35);
}
.logo__text {
  display: flex;
  flex-direction: column;
  font-size: var(--fs-lg);
  letter-spacing: 0.04em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  transition: color var(--transition);
}
.header.scrolled .logo__text { color: var(--dark); }
.logo--light .logo__text { color: var(--white); }
.logo__text small {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  margin-top: 4px;
  opacity: 0.7;
  text-transform: lowercase;
}

.nav { display: flex; gap: clamp(14px, 1.6vw, 26px); }
.nav__link {
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color var(--transition);
}
.header.scrolled .nav__link { color: var(--dark); }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
  transform: translateX(-50%);
}
.nav__link:hover::after { width: 100%; }
.nav__link:hover { color: var(--primary); }

.header__cta {
  padding: 11px 18px;
  font-size: var(--fs-sm);
  white-space: nowrap;
}

.burger {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.burger span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--white);
  margin: 0 auto;
  transition: all var(--transition);
}
.header.scrolled .burger span { background: var(--dark); }
.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); }

/* ===== Hero ===== */
.hero {
  position: relative;
  /* Exactly one screen on desktop; svh avoids the URL-bar jump on mobile. */
  height: 100svh;
  min-height: 560px;
  max-height: 960px;
  background: linear-gradient(135deg, #1A2E39 0%, #243d4a 60%, #2f4d5d 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 96px 0 48px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* ===== Hero YouTube background ===== */
.hero__video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0d1a22;
  z-index: 0;
}
/* Poster image is shown ONLY as a fallback on mobile/touch (where the iframe
   is disabled) or in reduced-motion mode. Desktop jumps straight into the
   video without a preview frame. */
.hero__poster {
  display: none;
}
@media (max-width: 900px), (hover: none) and (pointer: coarse), (prefers-reduced-motion: reduce) {
  .hero__poster {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
    will-change: transform;
    animation: heroPosterKB 20s ease-in-out infinite alternate;
  }
}
@keyframes heroPosterKB {
  0%   { transform: scale(1.0)  translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__poster { animation: none; }
}


/* Iframe with cover-fit behaviour: fills the hero and crops the player letterbox. */
.hero__iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Push the video down: the top letterbox bar slides behind the opaque header,
     the bottom one falls outside the hero (clipped by overflow: hidden).
     The offset roughly matches the header height. */
  transform: translate(-50%, calc(-50% + 56px));
  transform-origin: center center;
  width: 100vw;
  height: 56.25vw;            /* 16:9 ratio → width × 9/16 */
  min-height: 100svh;
  min-width: calc(100svh * 16 / 9);
  border: 0;
  pointer-events: none;       /* let clicks pass through to the buttons below the overlay */
  z-index: 1;
}
/* Mobile/tablet: hide the iframe — ~1.5MB to download and frequently blocked by autoplay policy. */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .hero__iframe { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__iframe { display: none; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(26, 46, 57, 0.82) 0%, rgba(26, 46, 57, 0.6) 50%, rgba(26, 46, 57, 0.75) 100%),
    radial-gradient(circle at 80% 20%, rgba(255, 0, 10, 0.22) 0%, transparent 55%);
}

.hero__inner { position: relative; z-index: 3; }
.hero__content { max-width: 800px; }

.eyebrow {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 0, 10, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(255, 0, 10, 0.3);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow--dark {
  background: rgba(255, 0, 10, 0.08);
  color: var(--primary);
}

.hero__title {
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.text-accent { color: var(--primary); }
.hero__lead {
  font-size: var(--fs-md);
  font-weight: 400;
  line-height: 1.45;
  opacity: 0.88;
  margin-bottom: 24px;
  max-width: 600px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__num {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat__num small {
  font-size: 0.6em;
  color: var(--accent);
}
.stat__label {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  display: grid;
  place-items: center;
  z-index: 3;
}
.hero__scroll span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 4px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(-10px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}
.section--light { background: var(--light); }
.section--dark { background: var(--dark); color: var(--white); }

.section__head {
  margin-bottom: 60px;
  max-width: 700px;
}
.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section__title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section__title--light { color: var(--white); }
.section__sub {
  font-size: var(--fs-md);
  color: var(--gray);
  max-width: 500px;
}
.section--dark .section__sub { color: rgba(255, 255, 255, 0.7); }

/* Sub-section heading (for nested blocks inside a section, e.g. the gallery inside about). */
.section__head--sub { margin-bottom: 24px; }
.section__title--sub {
  font-size: var(--fs-2xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.section__title--sub::before {
  content: '';
  width: 36px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* Gallery rendered as a sub-block inside the about section. */
.about__gallery {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 90px;
}
@media (max-width: 768px) {
  .about__gallery { margin-top: 48px; padding-top: 36px; }
  .section__title--sub::before { width: 24px; }
}

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__text p {
  font-size: var(--fs-md);
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--dark-2);
}
.about__text strong { color: var(--primary); font-weight: 700; }
.about__text .btn { margin-top: 16px; }

.about__brands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.brand-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  justify-content: center;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.brand-card__title {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.brand-card__desc {
  font-size: var(--fs-base);
  color: var(--gray);
}
.brand-card--accent {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: var(--white);
}
.brand-card--accent .brand-card__title,
.brand-card--accent .brand-card__desc { color: var(--white); }
.brand-card--accent .brand-card__desc { opacity: 0.9; }

/* ===== Values ===== */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.value-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-6px);
  border-color: rgba(255, 0, 10, 0.4);
}
.value-card:hover::before { transform: scaleX(1); }

.value-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 0, 10, 0.15);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.value-card__icon svg { width: 26px; height: 26px; }
.value-card { display: flex; flex-direction: column; }
.value-card__title {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
  line-height: 1.3;
  /* Reserve the height of two lines so the description starts at the same baseline in every card. */
  min-height: calc(var(--fs-md) * 1.3 * 2);
}
.value-card p {
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Benefits ===== */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.benefit:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.benefit__num {
  font-size: var(--fs-base);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.1em;
  background: rgba(255, 0, 10, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 18px;
}
.benefit h3 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
  line-height: 1.45;
}
.benefit p {
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--gray);
}

/* ===== Slider / Gallery ===== */
.slider {
  position: relative;
  margin: 0 -4px;
}
.slider__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px;
  -ms-overflow-style: none;
  cursor: grab;
}
.slider__track:active { cursor: grabbing; }
.slider__track::-webkit-scrollbar { display: none; }

.gallery__item {
  position: relative;
  flex: 0 0 calc((100% - 4 * 16px) / 5);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--light-2);
  scroll-snap-align: start;
  transition: transform var(--transition);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(255, 0, 10, 0.65) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.gallery__item::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FF000A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}
.gallery__item:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover::before { transform: translate(-50%, -50%) scale(1); }

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--border);
  font-size: 32px;
  font-weight: 300;
  display: grid;
  place-items: center;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(26, 46, 57, 0.15);
  transition: all var(--transition);
  line-height: 1;
  padding-bottom: 4px;
}
.slider__arrow:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 28px rgba(255, 0, 10, 0.4);
}
.slider__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.slider__arrow--prev { left: -28px; }
.slider__arrow--next { right: -28px; }

.slider__progress {
  position: relative;
  margin-top: 28px;
  height: 3px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.slider__progress-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.3s ease;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
}
.lightbox.open {
  display: flex;
  animation: fade 0.3s ease;
}
.lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: zoomIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 32px;
  font-weight: 300;
  display: grid;
  place-items: center;
  transition: all var(--transition);
  line-height: 1;
  z-index: 10;
}
.lightbox__close:hover {
  background: var(--primary);
  transform: rotate(90deg);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  display: grid;
  place-items: center;
  transition: all var(--transition);
  line-height: 1;
  z-index: 10;
  padding-bottom: 4px;
}
.lightbox__nav:hover {
  background: var(--primary);
}
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__counter {
  position: absolute;
  top: 28px;
  left: 28px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  z-index: 10;
}

body.lightbox-open { overflow: hidden; }

/* ===== Director quote (full-bleed, card pinned bottom-right) ===== */
.director {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 640px;
  color: var(--white);
  isolation: isolate;
  background: #0d1a22;
  display: flex;
  align-items: flex-end;
}
.director__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  filter: saturate(0.95) brightness(0.95);
}
.director__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(255deg, rgba(13, 26, 34, 0.94) 0%, rgba(13, 26, 34, 0.78) 35%, rgba(13, 26, 34, 0.3) 70%, rgba(13, 26, 34, 0.15) 100%),
    linear-gradient(180deg, rgba(13, 26, 34, 0.2) 0%, transparent 35%, rgba(13, 26, 34, 0.5) 100%),
    radial-gradient(circle at 80% 90%, rgba(255, 0, 10, 0.25) 0%, transparent 55%);
}

.director__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-top: 120px;
  padding-bottom: 60px;
}

.director__card {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.director__mark {
  width: 44px;
  height: 32px;
  color: var(--primary);
  opacity: 0.9;
}

.director__quote {
  font-size: var(--fs-lg);
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.96);
  margin: 0;
  padding: 0;
  letter-spacing: -0.005em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
.director__quote p {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
  margin: 0 0 0.65em;
}
.director__quote p:last-child { margin-bottom: 0; }
.director__quote strong { font-weight: 700; }
.director__quote em { font-style: italic; }

.director__author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.director__line {
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}
.director__author-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.director__name {
  display: block;
  font-size: var(--fs-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
}
.director__role {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 900px) {
  .director { min-height: 560px; }
  .director__inner { padding-top: 80px; padding-bottom: 40px; }
  .director__overlay {
    background:
      linear-gradient(180deg, rgba(13, 26, 34, 0.55) 0%, rgba(13, 26, 34, 0.9) 60%, rgba(13, 26, 34, 0.95) 100%),
      radial-gradient(circle at 80% 100%, rgba(255, 0, 10, 0.22) 0%, transparent 60%);
  }
  .director__card { max-width: 100%; }
}
@media (max-width: 480px) {
  .director { min-height: 520px; }
  .director__inner { padding-top: 60px; padding-bottom: 32px; }
  .director__author { gap: 14px; padding-top: 16px; }
  .director__line { width: 36px; }
}

/* ===== Filters ===== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter {
  padding: 10px 20px;
  border: 1.5px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  font-weight: 500;
  font-size: var(--fs-base);
  color: var(--dark);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.filter:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.filter.active .filter__count {
  background: var(--primary);
  color: var(--white);
}
.filter__count {
  background: var(--light-2);
  color: var(--gray);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

/* ===== Vacancies ===== */
.vacancies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vacancy {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  overflow: hidden;
}
.vacancy::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.vacancy:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.vacancy:hover::after { transform: scaleX(1); }

.vacancy__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.vacancy__city {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  padding: 4px 10px;
  background: rgba(255, 0, 10, 0.1);
  border-radius: 6px;
}
.vacancy__type {
  font-size: var(--fs-sm);
  color: var(--gray);
  font-weight: 500;
}
.vacancy__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.3;
  flex-grow: 1;
}
.vacancy__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--gray);
}
.vacancy__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vacancy__meta-item svg {
  width: 14px;
  height: 14px;
}
.vacancy__more {
  color: var(--primary);
  font-weight: 600;
  font-size: var(--fs-base);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  transition: gap var(--transition);
}
.vacancy:hover .vacancy__more { gap: 12px; }

.vacancy--empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px dashed var(--border);
  color: var(--gray);
}

/* ===== CTA Banner ===== */
.cta-banner {
  margin-top: 60px;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background-image:
    radial-gradient(circle at 100% 0%, rgba(255, 0, 10, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(255, 152, 0, 0.15) 0%, transparent 50%);
}
.cta-banner__text h3 {
  font-size: var(--fs-2xl);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.cta-banner__text p {
  opacity: 0.85;
  font-size: var(--fs-md);
  max-width: 500px;
}

/* ===== Big CTA ===== */
.big-cta {
  padding: 100px 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(255, 0, 10, 0.6) 0%, transparent 50%),
    radial-gradient(circle at 20% 50%, rgba(255, 152, 0, 0.3) 0%, transparent 50%),
    var(--dark);
  color: var(--white);
  text-align: center;
}
.big-cta h2 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* ===== Contact section ===== */
.contact-section { background: #fafafa; }
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
  margin-top: 8px;
}
.contact__info { padding-top: 6px; }
.contact__lead {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--dark);
  margin-bottom: 28px;
  max-width: 460px;
}
.contact__caption {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gray);
  margin-bottom: 14px;
}
.contact__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--dark);
  text-decoration: none;
  transition: all var(--transition);
}
.contact__row:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 46, 57, 0.06);
}
.contact__ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 0, 10, 0.08);
  color: var(--primary);
}
.contact__ico svg { width: 18px; height: 18px; }
.contact__value {
  display: block;
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.3;
}
.contact__note {
  display: block;
  font-size: var(--fs-xs);
  color: var(--gray);
  margin-top: 2px;
}

/* Form */
.contact__form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 10px 30px rgba(26, 46, 57, 0.05);
}
.contact__field { margin-bottom: 18px; }
.contact__field label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dark);
  margin-bottom: 8px;
}
.contact__field .req { color: var(--primary); }
.contact__field input,
.contact__field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: var(--fs-md);
  color: var(--dark);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact__field input:focus,
.contact__field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}
.contact__field textarea { resize: vertical; min-height: 100px; }
.contact__field input[aria-invalid="true"],
.contact__field textarea[aria-invalid="true"] {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.04);
}

.contact__submit {
  width: 100%;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.contact__submit[disabled] { opacity: 0.7; cursor: progress; }
.contact__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.contact__submit.is-loading .contact__spinner { display: inline-block; }
.contact__submit.is-loading .contact__submit-text { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact__status {
  margin-top: 14px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  min-height: 1.2em;
}
.contact__status.is-ok { color: #16a34a; }
.contact__status.is-err { color: var(--primary); }
.contact__privacy {
  margin-top: 12px;
  font-size: var(--fs-xs);
  color: var(--gray);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .contact__form { padding: 22px; }
}

/* ===== Footer ===== */
.footer {
  background: #0f1a20;
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
}
.footer__col h4 {
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}
.footer__col--brand .logo { margin-bottom: 18px; }
.footer__col--social { justify-self: end; text-align: right; }
.footer__col--social .footer__social { justify-content: flex-end; }
@media (max-width: 768px) {
  .footer__col--social { justify-self: start; text-align: left; }
  .footer__col--social .footer__social { justify-content: flex-start; }
}
.footer__about {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  max-width: 360px;
  margin-bottom: 24px;
}
.footer__caption {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 14px;
  margin-bottom: 6px;
}
.footer__caption:first-of-type { margin-top: 0; }

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-md);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}
.footer__link + .footer__link,
.footer__caption + .footer__link { margin-top: 4px; }
.footer__link:hover { color: var(--primary); }
.footer__link--strong { font-weight: 600; }
.footer__ico { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.7; }

.footer__offices {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer__offices li {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  padding-left: 14px;
}
.footer__offices li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
}

/* Social links */
.footer__social {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  transition: all var(--transition);
}
.footer__social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer__social svg { width: 18px; height: 18px; }

/* Bottom strip */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy { letter-spacing: 0.02em; }

.footer__admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.25);
  background: transparent;
  transition: all var(--transition);
}
.footer__admin:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.04);
}
.footer__admin svg { width: 14px; height: 14px; }

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 46, 57, 0.65);
  backdrop-filter: blur(8px);
  animation: fade 0.3s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--light-2);
  font-size: var(--fs-3xl);
  font-weight: 300;
  color: var(--dark);
  display: grid;
  place-items: center;
  transition: all var(--transition);
  z-index: 2;
  line-height: 1;
}
.modal__close:hover {
  background: var(--primary);
  color: var(--white);
  transform: rotate(90deg);
}

.modal__content { padding: 48px; }
.modal__head {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.modal__city {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(255, 0, 10, 0.1);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.modal__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.modal__intro {
  font-size: var(--fs-md);
  color: var(--gray);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal__intro p { font-size: var(--fs-md); line-height: 1.7; }

.modal__outro {
  margin-top: 8px;
  padding: 18px 22px;
  background: rgba(255, 0, 10, 0.08);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--dark);
  font-weight: 600;
}

.modal__section {
  margin-bottom: 28px;
}
.modal__section h4 {
  font-size: var(--fs-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 14px;
}
.modal__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal__list li {
  display: flex;
  gap: 12px;
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--dark-2);
}
.modal__list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  margin-top: 9px;
}

.modal__actions {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  flex-wrap: wrap;
}

body.modal-open { overflow: hidden; }

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  /* Use the burger menu on mobile/tablet — 6 nav items don't fit on laptop widths either. */
  .nav {
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-top: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .nav.open { transform: translateY(0); }
  .nav__link {
    color: var(--dark);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
    width: 100%;
    font-size: var(--fs-base);
  }
  .nav__link:last-child { border-bottom: none; }

  .burger { display: flex; }
  .header__cta { padding: 9px 14px; font-size: var(--fs-xs); }
  .header.scrolled { background: rgba(255, 255, 255, 0.96); }
  .header__inner { gap: 12px; }
  .logo__text { font-size: var(--fs-md); }
  .logo__text small { font-size: 10px; }
  .logo__mark { width: 38px; height: 38px; font-size: var(--fs-xl); }
}

@media (max-width: 1024px) {
  .values, .benefits { grid-template-columns: repeat(2, 1fr); }
  .vacancies { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 50px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__col--brand { grid-column: 1 / -1; }
  .gallery__item { flex: 0 0 calc((100% - 2 * 16px) / 3); }
  .slider__arrow--prev { left: 0; }
  .slider__arrow--next { right: 0; }
}

/* Short desktop screens (e.g. 1366×720) — pack the hero a bit tighter. */
@media (min-width: 769px) and (max-height: 760px) {
  .hero { padding: 80px 0 36px; }
  .hero__title { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 14px; }
  .hero__lead { margin-bottom: 18px; }
  .hero__actions { margin-bottom: 22px; }
  .hero__stats { gap: 32px; }
  .hero__scroll { bottom: 14px; height: 38px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  /* On mobile the hero grows with its content — 100svh is not a hard limit; min keeps a safety floor. */
  .hero { height: auto; min-height: 100svh; max-height: none; padding: 110px 0 64px; }
  .hero__stats { gap: 30px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .header__cta { display: none; }

  .values, .benefits { grid-template-columns: 1fr; }
  .vacancies { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 32px 24px; text-align: center; flex-direction: column; }
  .modal__content { padding: 32px 24px; }
  .footer__bottom .container { justify-content: center; text-align: center; }
  .gallery__item { flex: 0 0 calc((100% - 12px) / 2); }
  .slider__track { gap: 12px; }
  .slider__arrow { width: 44px; height: 44px; font-size: 26px; }
  .slider__arrow--prev { left: -8px; }
  .slider__arrow--next { right: -8px; }
  .lightbox { padding: 20px; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 32px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 26px; }
  .lightbox__counter { top: 16px; left: 16px; font-size: var(--fs-sm); padding: 6px 12px; }
}

/* ============================================================
   VACANCY PAGE
============================================================ */

.page-vacancy { background: #fafbfc; }
.page-vacancy .header { background: rgba(26, 46, 57, 0.96); backdrop-filter: blur(14px); }

.vacancy-page {
  padding-top: 84px;
  min-height: calc(100vh - 400px);
}

/* ---- Skeleton ---- */
.vacancy-page__skeleton { padding: 40px 0 80px; }
.skeleton {
  background: linear-gradient(90deg, #eef2f5 0%, #f7f9fb 50%, #eef2f5 100%);
  background-size: 200% 100%;
  animation: skel 1.4s ease-in-out infinite;
  border-radius: 8px;
  margin-bottom: 14px;
}
@keyframes skel {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton--breadcrumbs { width: 240px; height: 14px; margin-bottom: 24px; }
.skeleton--title { width: 60%; height: 48px; margin-bottom: 18px; }
.skeleton--meta { width: 320px; height: 22px; margin-bottom: 32px; }
.skeleton--text { width: 100%; height: 16px; }

/* ---- Not found ---- */
.vacancy-page__notfound {
  padding: 80px 0;
  text-align: center;
}
.vacancy-page__notfound h1 { font-size: var(--fs-3xl); margin-bottom: 12px; }
.vacancy-page__notfound p { color: var(--text-muted, #6b7d87); margin-bottom: 28px; }

/* ---- Hero ---- */
.vacancy-hero {
  padding: 36px 0 48px;
  background: linear-gradient(135deg, #1A2E39 0%, #2c4a5a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.vacancy-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 0, 10, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.vacancy-hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.vacancy-hero .container { position: relative; z-index: 1; }

.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
}
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span:last-child { color: #fff; }

.vacancy-hero__city {
  display: inline-block;
  background: rgba(255, 0, 10, 0.18);
  color: var(--primary);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 0, 10, 0.4);
}
.vacancy-hero__title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
  max-width: 920px;
}
.vacancy-hero__meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 32px;
}
.vacancy-hero__meta span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: var(--fs-base);
  font-weight: 500;
  backdrop-filter: blur(6px);
}
.vacancy-hero__meta svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--primary);
}
.vacancy-hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px;
}
.vacancy-hero__actions .btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.vacancy-hero__actions .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ---- Body ---- */
.vacancy-body {
  padding: 60px 0 80px;
}
.vacancy-body__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.vacancy-body__main {
  background: #fff;
  border-radius: 18px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(26, 46, 57, 0.06);
  border: 1px solid var(--border, #e2e8ec);
}
.vacancy-body__intro {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--dark, #1A2E39);
  margin-bottom: 28px;
}
.vacancy-body__intro p { margin-bottom: 16px; }
.vacancy-body__intro p:last-child { margin-bottom: 0; }

.v-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border, #e2e8ec);
}
.v-section:last-of-type { border-bottom: 0; padding-bottom: 0; }
.v-section h2 {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--dark, #1A2E39);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.v-section h2::before {
  content: '';
  width: 4px; height: 24px;
  background: var(--primary);
  border-radius: 2px;
}
.v-section ul {
  list-style: none;
  padding: 0;
  display: flex; flex-direction: column;
  gap: 12px;
}
.v-section li {
  position: relative;
  padding-left: 28px;
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--dark, #1A2E39);
}
.v-section li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255, 0, 10, 0.12);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23FF000A" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>');
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.vacancy-body__outro {
  font-size: var(--fs-md);
  font-weight: 600;
  font-style: italic;
  color: var(--primary);
  margin-top: 28px;
  padding: 18px 22px;
  background: rgba(255, 0, 10, 0.06);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
}

.vacancy-body__apply {
  margin-top: 48px;
  padding: 36px;
  background: linear-gradient(135deg, #1A2E39 0%, #2c4a5a 100%);
  color: #fff;
  border-radius: 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vacancy-body__apply::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 0, 10, 0.3) 0%, transparent 60%);
  pointer-events: none;
}
.vacancy-body__apply h2 {
  font-size: var(--fs-xl);
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
}
.vacancy-body__apply p {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.vacancy-body__actions {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  position: relative;
}
.vacancy-body__actions .btn--outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.vacancy-body__actions .btn--outline:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

/* ---- Aside ---- */
.vacancy-body__aside {
  display: flex; flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 96px;
}
.vacancy-side {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--border, #e2e8ec);
}
.vacancy-side h3 {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray, #6b7d87);
  margin-bottom: 14px;
}
.vacancy-side__link {
  display: block;
  color: var(--dark, #1A2E39);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-md);
  margin-bottom: 6px;
  transition: color var(--transition);
}
.vacancy-side__link:hover { color: var(--primary); }
.vacancy-side__muted {
  display: block;
  color: var(--gray, #6b7d87);
  font-size: var(--fs-sm);
  margin-bottom: 6px;
}
.vacancy-side__back {
  display: inline-flex;
  align-items: center;
  color: var(--gray, #6b7d87);
  text-decoration: none;
  font-size: var(--fs-base);
  font-weight: 500;
  padding: 4px 0;
  transition: color var(--transition);
}
.vacancy-side__back:hover { color: var(--primary); }

.vacancy-related { display: flex; flex-direction: column; gap: 10px; }
.related-card {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--light, #f5f7f9);
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--dark, #1A2E39);
  transition: all var(--transition);
}
.related-card:hover {
  border-color: var(--primary);
  background: #fff;
  transform: translateX(2px);
}
.related-card__city {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.related-card__title {
  font-size: var(--fs-base);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.3;
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .vacancy-body__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .vacancy-body__aside { position: static; }
  .vacancy-body__main { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .vacancy-page { padding-top: 72px; }
  .vacancy-hero { padding: 24px 0 36px; }
  .vacancy-hero__title { font-size: var(--fs-3xl); }
  .vacancy-body { padding: 32px 0 60px; }
  .vacancy-body__main { padding: 24px 20px; border-radius: 14px; }
  .vacancy-body__apply { padding: 24px 20px; }
  .vacancy-body__apply h2 { font-size: var(--fs-xl); }
  .v-section h2 { font-size: var(--fs-lg); }
  .v-section li { font-size: var(--fs-md); padding-left: 28px; }
  .v-section li::before { width: 16px; height: 16px; }
}

