:root {
  --black: #000;
  --white: #fff;
  --red: #e8001e;
  --gray: #f5f5f5;
  --text: #222;
  --muted: #666;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
a { color: inherit; text-decoration: none; }
img {
  max-width: 100%;
  display: block;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-gray { background: var(--gray); }
.section-title { font-size: 2.25rem; margin-bottom: 24px; text-align: center; }
.section-title-long {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 1.5;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-transform: none;
  letter-spacing: normal;
}
.section-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
  color: var(--muted);
  font-size: 1.05rem;
}
.fade-in { opacity: 0; transform: translateY(12px); transition: opacity 0.5s cubic-bezier(0.2, 0, 0, 1), transform 0.5s cubic-bezier(0.2, 0, 0, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  transition: box-shadow 0.3s cubic-bezier(0.2, 0, 0, 1);
}
header.scrolled {
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { font-family: 'Oswald', sans-serif; font-size: 1.5rem; font-weight: 700; flex-shrink: 0; }
nav { display: flex; gap: 24px; align-items: center; flex: 1; justify-content: center; }
nav a { font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
nav a:hover { color: var(--red); }
.nav-actions { margin-left: auto; flex-shrink: 0; }
.nav-login-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; color: #aaa; opacity: 0.7;
  border-radius: 6px; transition: color 0.2s, opacity 0.2s, background 0.2s;
}
.nav-login-icon:hover { color: var(--muted); opacity: 1; background: rgba(0,0,0,0.04); }
header.scrolled .nav-login-icon { color: #999; }
header.scrolled .nav-login-icon:hover { color: var(--muted); }
.btn {
  display: inline-block; padding: 14px 32px; font-family: 'Oswald', sans-serif;
  font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  border: none; cursor: pointer; min-height: 40px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn:active { transform: scale(0.96); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #c4001a; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: #333; }

#hero {
  min-height: 85vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white); position: relative;
  background: var(--black) center/cover no-repeat;
}
#hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
#hero .container { position: relative; z-index: 1; }
#hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 24px; line-height: 1.15; }
#hero p { font-size: 1.125rem; max-width: 720px; margin: 0 auto 40px; opacity: 0.9; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 48px; }
.stat-card {
  text-align: center; padding: 32px 16px; background: var(--white);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
}
.stat-icon { font-size: 2.5rem; margin-bottom: 12px; }
.stat-value {
  font-family: 'Oswald', sans-serif; font-size: 2rem; color: var(--red);
  margin-bottom: 8px; font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.9rem; color: var(--muted); }
.about-desc { text-align: center; max-width: 700px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; }

.founder-hero {
  position: relative; width: 100%; min-height: 55vh;
  display: flex; align-items: center; justify-content: center;
  background: #1a1a1a center/cover no-repeat;
  color: var(--white); text-align: center;
}
.founder-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 100%);
}
.founder-hero-content {
  position: relative; z-index: 1; max-width: 900px; padding: 64px 24px;
}
.founder-hero-content blockquote {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-style: italic;
  line-height: 1.7; margin-bottom: 20px;
}
.founder-hero-content .quote-author {
  font-family: 'Oswald', sans-serif; font-size: 0.9rem; color: var(--red);
}

.advantages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.advantage-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px; border-radius: 12px; background: var(--white);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.15s;
}
.advantage-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 8px 20px rgba(232,0,30,0.08);
  transform: translateY(-1px);
}
.advantage-icon { flex-shrink: 0; min-height: auto; margin-bottom: 0; display: flex; align-items: center; }
.advantage-card .item-icon-emoji { font-size: 1.5rem; line-height: 1; }
.advantage-card .item-icon-img { width: 32px; height: 32px; object-fit: contain; }
.advantage-body { flex: 1; min-width: 0; }
.advantage-body h3 { font-size: 1rem; margin-bottom: 6px; color: var(--red); }
.advantage-body p { font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
.item-icon-emoji { font-size: 2.25rem; line-height: 1; }
.item-icon-img { width: 48px; height: 48px; object-fit: contain; }

/* Gallery strip */
.gallery-strip-wrap { position: relative; }
.gallery-strip {
  display: flex; align-items: center; gap: 12px;
}
.gallery-strip-viewport { flex: 1; overflow: hidden; }
.gallery-strip-track { display: flex; gap: 16px; transition: transform 0.4s ease; }
.gallery-strip-item {
  flex: 0 0 auto; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.gallery-strip-item img {
  width: 100%; height: 100%; object-fit: cover; outline: none;
}
.gallery-strip-caption,
.strip-carousel-caption {
  text-align: center; margin-top: 16px; font-size: 0.9rem; color: var(--muted);
  min-height: 1.4em;
}

.carousel-arrow {
  width: 48px; height: 48px; border: none; background: var(--black); color: var(--white);
  font-size: 1.75rem; line-height: 1; cursor: pointer; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
}
.carousel-arrow:hover:not(:disabled) { background: var(--red); }
.carousel-arrow:disabled { opacity: 0.3; cursor: default; }
.carousel-arrow:active:not(:disabled) { transform: scale(0.94); }

/* CTA */
.cta-block {
  text-align: center; padding: 56px 40px; background: var(--black); color: var(--white);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.cta-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.cta-subtitle { font-size: 1.1rem; margin-bottom: 8px; opacity: 0.9; }
.cta-phone {
  font-family: 'Oswald', sans-serif; font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--red); margin: 16px 0; font-variant-numeric: tabular-nums;
}
.cta-hint { font-size: 0.9rem; opacity: 0.75; max-width: 520px; margin: 0 auto 28px; }
.cta-messengers { justify-content: center; }

/* Team strip carousel */
.strip-carousel {
  display: flex; align-items: center; gap: 16px;
}
.strip-carousel-viewport { flex: 1; overflow: hidden; }
.strip-carousel-track { display: flex; gap: 24px; transition: transform 0.4s ease; }
.team-card-v {
  flex: 0 0 auto;
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
}
.team-photo-v { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--gray); }
.team-card-body { padding: 20px; }
.team-name { font-family: 'Oswald', sans-serif; font-size: 1.15rem; margin-bottom: 4px; }
.team-role { font-size: 0.85rem; color: var(--red); margin-bottom: 4px; }
.team-since { font-size: 0.75rem; color: var(--muted); margin-bottom: 8px; }
.team-bio { font-size: 0.85rem; color: var(--muted); }

/* Culture blocks */
.culture-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.culture-text p { margin-bottom: 16px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.culture-text p:last-child { margin-bottom: 0; }
.culture-title { font-size: 1.5rem; margin-bottom: 20px; color: var(--red); }
.culture-img-placeholder { background: var(--gray); min-height: 200px; border-radius: 12px; }
.culture-photos {
  display: grid; gap: 8px; width: 100%;
}
.culture-photos.count-1 { grid-template-columns: 1fr; }
.culture-photos.count-1 img { aspect-ratio: 4/3; }
.culture-photos.count-2 { grid-template-columns: 1fr 1fr; }
.culture-photos.count-3 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.culture-photos.count-3 img:first-child { grid-row: span 2; aspect-ratio: 3/4; }
.culture-photos.count-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.culture-photos.count-5,
.culture-photos.count-6 { grid-template-columns: repeat(3, 1fr); }
.culture-photos.count-7,
.culture-photos.count-8 { grid-template-columns: repeat(4, 1fr); }
.culture-photos img {
  width: 100%; height: 100%; min-height: 100px; object-fit: cover;
  border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.culture-text-right .culture-photos img:first-child {
  border-left: 4px solid var(--red);
}

.clients-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.client-card { text-align: center; }
.client-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--gray); margin-bottom: 12px; border-radius: 8px; }
.client-name { font-family: 'Oswald', sans-serif; font-size: 0.95rem; margin-bottom: 4px; }
.client-title { font-size: 0.75rem; color: var(--muted); }

.partners-carousel { margin-top: 8px; }
.partners-track { align-items: stretch; }
.partner-slide { flex-shrink: 0; }
.partner-overlay {
  position: relative; min-height: 420px; border-radius: 16px; overflow: hidden;
  background: var(--black) center/cover no-repeat;
  display: flex; align-items: flex-end;
}
@media (min-width: 768px) {
  .partner-overlay { min-height: 480px; }
}
.partner-overlay-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}
.partner-overlay-text {
  position: relative; z-index: 1; color: var(--white); padding: 32px;
  font-size: 1.1rem; font-family: 'Oswald', sans-serif; text-transform: uppercase;
  letter-spacing: 0.03em; line-height: 1.4;
}

/* Full slider */
.full-slider { position: relative; }
.full-slider-viewport { overflow: hidden; border-radius: 16px; }
.full-slider-track { display: flex; transition: transform 0.4s ease; }
.full-slider-slide { min-width: 100%; position: relative; }
.full-slider-slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.full-slider-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 24px; background: rgba(0,0,0,0.55); color: var(--white);
  font-size: 0.95rem;
}
.full-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.full-slider .carousel-arrow.prev { left: 16px; }
.full-slider .carousel-arrow.next { right: 16px; }
.full-slider-dots { margin-top: 20px; }

.hero-overlay-block {
  position: relative; min-height: 400px; border-radius: 20px; overflow: hidden;
  background: var(--black) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
}
.hero-overlay-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.45) 100%);
}
.hero-overlay-content {
  position: relative; z-index: 1; text-align: center; color: var(--white);
  padding: 48px 32px; max-width: 800px;
}
.hero-overlay-content h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 20px; }
.hero-overlay-content p { font-size: 1.05rem; line-height: 1.7; opacity: 0.95; }
.charity-author { margin-top: 20px; font-family: 'Oswald', sans-serif; color: var(--red); font-size: 0.9rem; }

.vacancies-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.vacancy-card {
  display: block; padding: 28px; background: var(--white); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.15s;
}
.vacancy-card:hover {
  box-shadow: 0 8px 24px rgba(232,0,30,0.12);
  transform: translateY(-2px);
}
.vacancy-card h3 { font-size: 1.1rem; margin-bottom: 16px; color: var(--red); }
.vacancy-card ul { padding-left: 18px; color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.vacancy-card li { margin-bottom: 6px; }
.vacancy-card-link { font-family: 'Oswald', sans-serif; font-size: 0.85rem; color: var(--red); text-transform: uppercase; }

.apply-form { max-width: 560px; margin: 0 auto; }
.apply-form label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; }
.apply-form input, .apply-form select, .apply-form textarea {
  width: 100%; padding: 12px 16px; margin-bottom: 20px;
  border: 1px solid #ddd; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 1rem;
}
.apply-form input[type="file"] {
  padding: 10px 12px; background: var(--gray); border-style: dashed;
  font-size: 0.9rem;
}
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232,0,30,0.15);
}
.form-msg { text-align: center; margin-top: 16px; font-size: 0.9rem; }
.form-msg.ok { color: #0a7; }
.form-msg.err { color: var(--red); }

.stores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 32px; }
.store-card {
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.store-photo { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--gray); }
.store-body { padding: 24px; }
.store-body h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--red); }
.store-address { color: var(--muted); margin-bottom: 16px; font-size: 0.95rem; }
.store-points { padding-left: 18px; color: var(--text); font-size: 0.9rem; }
.store-points li { margin-bottom: 6px; }

.reviews-slider { position: relative; overflow: hidden; border-radius: 16px; }
.reviews-track { display: flex; transition: transform 0.4s ease; }
.review-slide {
  min-width: 100%; min-height: 320px; position: relative;
  background: var(--gray) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
}
.review-slide-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.55);
}
.review-slide-content {
  position: relative; z-index: 1; padding: 48px 40px; text-align: center; color: var(--white);
}
.review-text { font-size: 1.15rem; font-style: italic; max-width: 700px; margin: 0 auto 16px; }
.review-author { font-family: 'Oswald', sans-serif; color: var(--red); }
.review-slide:not([style*="background-image"]) .review-slide-overlay { background: transparent; }
.review-slide:not([style*="background-image"]) .review-slide-content { color: var(--text); }
.review-slide:not([style*="background-image"]) .review-author { color: var(--red); }

.slider-nav { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.slider-dot {
  position: relative; width: 10px; height: 10px; border: none; background: #ddd;
  cursor: pointer; padding: 0; border-radius: 50%; transition: background 0.2s, transform 0.15s;
}
.slider-dot.active { background: var(--red); }
.slider-dot:active { transform: scale(0.96); }

.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-item { margin-bottom: 16px; }
.contact-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 4px; }
.contact-value { font-size: 1rem; }
.contact-phone { font-variant-numeric: tabular-nums; }
.contact-value a:hover { color: var(--red); }
.messengers { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.messengers a {
  padding: 10px 20px; background: var(--black); color: var(--white);
  font-size: 0.85rem; font-family: 'Oswald', sans-serif; text-transform: uppercase;
  min-height: 40px; display: inline-flex; align-items: center;
  transition: background 0.2s, transform 0.15s;
}
.messengers a:hover { background: var(--red); }
.messengers a:active { transform: scale(0.96); }

footer { background: var(--black); color: var(--white); padding: 40px 0; text-align: center; font-size: 0.85rem; }

.mobile-toggle {
  display: none; background: none; border: none; font-size: 1.5rem;
  cursor: pointer; min-width: 40px; min-height: 40px;
}

/* Vacancy page */
.vacancy-hero {
  min-height: 50vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white); position: relative;
  background: var(--black) center/cover no-repeat;
}
.vacancy-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.45));
}
.vacancy-hero .container { position: relative; z-index: 1; }
.vacancy-hero h1 { font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 16px; }
.vacancy-hero p { font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted); margin-bottom: 24px;
}
.back-link:hover { color: var(--red); }
.role-items-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px;
}
.role-item {
  text-align: center; padding: 24px 16px; background: var(--gray); border-radius: 12px;
}
.role-item .item-icon-emoji { font-size: 2rem; display: block; margin-bottom: 12px; }
.role-item .item-icon-img { width: 48px; height: 48px; margin: 0 auto 12px; }
.employee-photo-wrap { max-width: 480px; margin: 0 auto; }
.employee-photo { width: 100%; border-radius: 16px; aspect-ratio: 4/3; object-fit: cover; }
.expectations-list { max-width: 700px; margin: 0 auto; }
.expectations-list li { margin-bottom: 12px; color: var(--muted); font-size: 1rem; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.offer-card {
  padding: 28px; background: var(--gray); border-radius: 16px; text-align: center;
}
.offer-card h4 { font-size: 1.1rem; margin: 12px 0 8px; color: var(--red); }
.offer-card p { font-size: 0.9rem; color: var(--muted); }
.map-wrap {
  margin-top: 24px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

@media (max-width: 768px) {
  nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 24px;
    border-bottom: 1px solid #eee; justify-content: flex-start;
  }
  nav.open { display: flex; }
  .nav-actions { margin-left: 0; width: auto; align-self: flex-end; }
  .mobile-toggle { display: block; }
  .stats-grid, .advantages-grid { grid-template-columns: 1fr; }
  .advantage-card { padding: 12px 16px; }
  .team-card-v { flex: 0 0 100%; }
  .culture-grid { grid-template-columns: 1fr; gap: 24px; }
  .culture-photos.count-7,
  .culture-photos.count-8 { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid, .role-items-grid, .offer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.75rem; }
  .founder-hero { min-height: 45vh; }
  .founder-hero-content { padding: 48px 20px; }
  .cta-block { padding: 40px 24px; }
  .partner-overlay { min-height: 220px; }
  .hero-overlay-block { min-height: 320px; }
}
