/* ===== About Hero ===== */
.about-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(20,20,20,.65) 50%, rgba(20,20,20,.45) 100%);
}
.about-hero-inner {
  position: relative;
  padding: 80px 24px 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.about-hero-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .85rem;
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.about-hero-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  max-width: 20ch;
  margin: 0 auto;
}

/* ===== Block Head ===== */
.block-head { text-align: center; margin-bottom: 48px; }
.block-head .block-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.block-head p { color: var(--gray); margin: 6px 0 0; }

/* ===== About Intro ===== */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-intro-text h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 18px;
}
.about-intro-text p { color: var(--ink-soft); margin-bottom: 14px; }
.about-intro-visual img { border-radius: 10px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ===== Values ===== */
.values.alt { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 14px;
}
.value-card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.value-card p { font-size: .92rem; color: var(--gray); margin: 0; }

/* ===== Journey / Timeline ===== */
.timeline {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 90px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline-item {
  display: flex;
  gap: 32px;
  padding: 28px 0;
  position: relative;
}
.timeline-year {
  width: 90px;
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
  text-align: right;
  padding-right: 20px;
  position: relative;
}
.timeline-year::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--line);
}
.timeline-body h3 { font-size: 1.15rem; margin: 0 0 6px; }
.timeline-body p { color: var(--gray); margin: 0; font-size: .95rem; }

/* ===== Process ===== */
.process.alt { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform .2s, box-shadow .2s;
}
.process-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1.05rem; margin: 0 0 6px; }
.process-step p { font-size: .88rem; color: var(--gray); margin: 0; }

/* ===== VR panorama ===== */
.vr-frame {
  position: relative;
  aspect-ratio: 16 / 8;
  border-radius: 12px;
  overflow: hidden;
  background: #0d0f12;
  box-shadow: 0 12px 36px rgba(0,0,0,.16);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.vr-frame:active { cursor: grabbing; }
.vr-frame:fullscreen { aspect-ratio: auto; border-radius: 0; }
.vr-canvas { display: block; width: 100%; height: 100%; }

.vr-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  background: #0d0f12;
}
.vr-spin {
  width: 22px; height: 22px;
  border: 2.5px solid rgba(255,255,255,.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: vr-spin .8s linear infinite;
}
@keyframes vr-spin { to { transform: rotate(360deg); } }

.vr-hint {
  position: absolute;
  left: 50%; bottom: 16px;
  transform: translateX(-50%) translateY(6px);
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(10,10,12,.55);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,.92);
  font-size: .82rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s, transform .4s;
}
.vr-hint.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.vr-ctrl {
  position: absolute;
  top: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.vr-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  background: rgba(10,10,12,.45);
  backdrop-filter: blur(4px);
  color: #fff;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.vr-btn:hover { background: var(--red, #d62828); border-color: transparent; }
.vr-btn.active { background: var(--red, #d62828); border-color: transparent; }

@media (max-width: 640px) {
  .vr-frame { aspect-ratio: 4 / 3; }
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item { margin: 0; }
.gallery-item img { border-radius: 8px; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery-item.wide { grid-column: span 1; }
.gallery-item figcaption {
  font-size: .82rem;
  color: var(--gray);
  margin-top: 6px;
  text-align: center;
}

/* ===== Expo ===== */
.expo.alt { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.expo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.expo-item { margin: 0; }
.photo-note { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.photo-note p { margin: 0; color: var(--ink-soft); font-weight: 500; }
.btn-facebook {
  display: inline-flex; align-items: center; gap: 10px;
  background: #1877f2; color: #fff;
  padding: 12px 26px;
  font-family: var(--font-head);
  font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em;
  border-radius: 4px;
  transition: background .2s, transform .15s;
}
.btn-facebook:hover { background: #145dbf; }
.btn-facebook:active { transform: translateY(1px); }
.btn-facebook svg { flex-shrink: 0; }
.expo-item img { border-radius: 8px; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.expo-item figcaption {
  font-size: .85rem;
  color: var(--gray);
  margin-top: 6px;
  text-align: center;
}

/* ===== Lightbox (gallery + expo images) ===== */
.gallery-item img,
.expo-item img { cursor: zoom-in; transition: transform .25s ease, box-shadow .25s ease; }
.gallery-item:hover img,
.expo-item:hover img { transform: scale(1.02); box-shadow: 0 10px 28px rgba(0,0,0,.18); }

.lightbox {
  position: fixed; inset: 0; z-index: 1200;
  display: none;
  align-items: center; justify-content: center;
  gap: 12px;
  background: rgba(10, 10, 12, .92);
  backdrop-filter: blur(3px);
  padding: 24px;
}
.lightbox.open { display: flex; animation: lb-fade .2s ease; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

.lb-figure {
  margin: 0;
  max-width: min(92vw, 1100px);
  display: flex; flex-direction: column; align-items: center;
}
.lb-figure img {
  max-width: 100%;
  max-height: 82vh;
  width: auto; height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  object-fit: contain;
  background: #101010;
}
.lb-figure figcaption {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  margin-top: 14px;
  text-align: center;
}

.lb-btn {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  user-select: none;
}
.lb-btn:hover { background: var(--accent, #d62828); border-color: transparent; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lb-btn { width: 40px; height: 40px; font-size: 1.3rem; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-close { top: 12px; right: 12px; }
}

/* ===== Quality ===== */
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.quality-text p { color: var(--ink-soft); margin-bottom: 14px; }
.quality-text blockquote {
  margin: 20px 0 0;
  padding: 18px 22px;
  border-left: 4px solid var(--red);
  background: var(--bg-soft);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.quality-visual img { border-radius: 10px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ===== About CTA ===== */
.about-cta.alt { background: var(--ink); color: #fff; }
.about-cta-inner { text-align: center; }
.about-cta-inner h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 10px; }
.about-cta-inner p { color: rgba(255,255,255,.82); margin-bottom: 24px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about-intro-grid,
  .quality-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .expo-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 72px; }
  .timeline-year { width: 72px; font-size: 1.2rem; }
}

@media (max-width: 640px) {
  .about-hero-inner { padding: 64px 20px 48px; }
  .values-grid,
  .process-grid,
  .gallery-grid,
  .expo-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .timeline { padding-left: 0; }
  .timeline::before { left: 0; }
  .timeline-item { flex-direction: column; gap: 8px; padding-left: 24px; }
  .timeline-year { text-align: left; width: auto; padding-right: 0; }
  .timeline-year::after { left: -29px; right: auto; }
}
