/* ═══════════════════════════════════════════════════════════
   AEROEDGE INTERNATIONAL — DESIGN SYSTEM
   Forge/Lazarev inspired: clean white + blue accent + 3D parts
   Fonts: DM Serif Display (headings) + DM Sans (body)
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500&display=swap');

/* ── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --paper:   #f7f5f0;
  --white:   #ffffff;
  --ink:     #0e0e0c;
  --ink2:    #4a4a46;
  --ink3:    #9a9994;
  --ink4:    #c8c6c0;
  --blue:    #2340d4;
  --blue2:   #e6eafe;
  --blue3:   #1a2fb0;
  --dark:    #0c0f18;
  --dark2:   #131725;
  --dark3:   #1c2035;
  --border:  #e3e1db;
  --border2: #d0cec8;
  --success: #22c55e;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 100px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.14);
  --shadow-blue: 0 6px 28px rgba(35,64,212,.28);

  --nav-h: 60px;
  --section-pad: 96px 24px;
  --section-pad-sm: 64px 20px;
  --max-w: 1160px;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.06;
  letter-spacing: -.022em;
  color: var(--ink);
}
h1 { font-size: clamp(44px, 7vw, 88px); }
h2 { font-size: clamp(32px, 4.5vw, 56px); }
h3 { font-size: clamp(22px, 2.8vw, 32px); }
h4 { font-size: 20px; }

em.accent { font-style: italic; color: var(--blue); }

p {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.8;
}
.lead {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.75;
  max-width: 480px;
}

/* ── LAYOUT UTILITIES ──────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.section { padding: var(--section-pad); }
.section--dark { background: var(--dark); }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: rgba(247,245,240,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav__logo {
  font-size: 15px; font-weight: 500;
  color: var(--ink); letter-spacing: .04em;
  white-space: nowrap;
}
.nav__logo span { color: var(--blue); }

.nav__center {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 7px;
  font-size: 11.5px; color: var(--ink2); letter-spacing: .02em;
}
.nav__live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 3px rgba(34,197,94,.15);
  animation: livepulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes livepulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
  50%      { box-shadow: 0 0 0 7px rgba(34,197,94,.05); }
}

.nav__links {
  display: flex; align-items: center; gap: 28px; list-style: none;
}
.nav__links a {
  font-size: 13px; color: var(--ink2); letter-spacing: .02em;
  transition: color .2s; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover,
.nav__links a.active { color: var(--ink); border-bottom-color: var(--blue); }

.nav__cta {
  padding: 10px 22px;
  background: var(--blue); color: #fff;
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: var(--shadow-blue);
  white-space: nowrap;
}
.nav__cta:hover { background: var(--blue3); transform: translateY(-1px); box-shadow: 0 8px 32px rgba(35,64,212,.34); }

/* Hamburger */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; cursor: pointer; padding: 4px 0;
}
.nav__burger span {
  display: block; height: 2px; background: var(--ink);
  border-radius: 2px; transition: all .3s;
}
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav__mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(247,245,240,.98); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 24px 24px 32px; z-index: 499;
  flex-direction: column; gap: 4px;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 17px; font-weight: 400; color: var(--ink2);
  padding: 12px 0; border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.nav__mobile a:last-child { border: none; }
.nav__mobile a:hover { color: var(--blue); }
.nav__mobile .nav__cta {
  margin-top: 16px; text-align: center; display: block;
  padding: 14px;
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px; border-radius: var(--radius-full);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: .01em; transition: all .2s; cursor: pointer;
}
.btn--primary {
  background: var(--blue); color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover { background: var(--blue3); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(35,64,212,.34); }

.btn--ghost {
  background: transparent; color: var(--ink2);
  border: 1.5px solid var(--border2);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn--white {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1.5px solid rgba(255,255,255,.2);
}
.btn--white:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }

.btn--dark {
  background: var(--dark); color: #fff;
}
.btn--dark:hover { background: var(--dark2); transform: translateY(-1px); }

.btn .arr {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}

/* ── PILL / BADGE ──────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-full);
  border: 1px solid var(--border); background: var(--white);
  font-size: 11.5px; color: var(--ink2); letter-spacing: .04em;
  box-shadow: var(--shadow-sm);
}
.pill__dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pill__dot::after {
  content: ''; width: 7px; height: 7px;
  border-radius: 50%; background: var(--blue);
}
.pill--dark {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.6);
}

/* ── SECTION LABEL ─────────────────────────────────────── */
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink3);
  margin-bottom: 16px;
}
.section-label--dark { color: rgba(255,255,255,.35); }

/* ── DIVIDER ───────────────────────────────────────────── */
.rule {
  width: 44px; height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  margin-bottom: 20px;
}
.rule--center { margin: 0 auto 20px; }

/* ── STAT ROW ──────────────────────────────────────────── */
.stat-row {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 0;
}
.stat-item { display: flex; flex-direction: column; gap: 3px; }
.stat-n {
  font-family: 'DM Serif Display', serif;
  font-size: 44px; color: var(--ink); letter-spacing: -.02em; line-height: 1;
}
.stat-n--dark { color: #fff; }
.stat-n sup { font-size: 24px; }
.stat-l { font-size: 13px; color: var(--ink3); letter-spacing: .02em; }
.stat-l--dark { color: rgba(255,255,255,.38); }
.stat-sep { width: 1px; height: 40px; background: var(--border); margin: 0 32px; }
.stat-sep--dark { background: rgba(255,255,255,.1); }

/* ── CARDS ─────────────────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: box-shadow .3s, transform .3s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.card--dark {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
}
.card--dark:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(35,64,212,.4);
}

/* ── CERT BADGE ────────────────────────────────────────── */
.cert-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px; border-radius: var(--radius-full);
  border: 1px solid var(--border); background: var(--white);
  box-shadow: var(--shadow-sm);
}
.cert-badge__icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 10px; color: var(--blue); flex-shrink: 0;
}
.cert-badge__text { font-size: 12px; color: var(--ink2); line-height: 1.4; }
.cert-badge__text strong { display: block; font-size: 12.5px; color: var(--ink); font-weight: 500; }

/* ── STEP GRID (PROCESS) ───────────────────────────────── */
.step-card {
  padding: 36px 32px 40px;
  border-right: 1px solid rgba(255,255,255,.07);
  position: relative; transition: background .3s;
}
.step-card:last-child { border-right: none; }
.step-card:hover { background: rgba(255,255,255,.025); }
.step-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.step-card:hover::after { transform: scaleX(1); }
.step-card__num {
  font-size: 11px; font-weight: 500; letter-spacing: .14em;
  color: rgba(255,255,255,.2); margin-bottom: 22px;
}
.step-card__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.step-card__icon svg {
  width: 20px; height: 20px; stroke: rgba(255,255,255,.75);
  fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.step-card__title { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 10px; }
.step-card__desc  { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.44); line-height: 1.7; }

/* ── SCROLLING CONVEYOR ────────────────────────────────── */
.conveyor { overflow: hidden; position: relative; }
.conveyor::before, .conveyor::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.conveyor::before { left: 0; background: linear-gradient(to right, var(--dark), transparent); }
.conveyor::after  { right: 0; background: linear-gradient(to left,  var(--dark), transparent); }
.conveyor__track {
  display: flex; gap: 20px; width: max-content;
  animation: conveyorScroll 26s linear infinite;
}
.conveyor__track:hover { animation-play-state: paused; }
@keyframes conveyorScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.conveyor__item {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  transition: all .3s; cursor: default;
}
.conveyor__item:hover { background: rgba(255,255,255,.08); border-color: rgba(35,64,212,.4); transform: translateY(-4px); }
.conveyor__item canvas { display: block; border-radius: 6px; }
.conveyor__item__lbl {
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.28); margin-top: 6px;
}

/* ── VIDEO PLAYER (PRODUCTION SHOWCASE) ───────────────── */
.vplayer {
  position: relative;
  background: #c9c7c0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.07);
}
.vplayer__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px 0; position: relative; z-index: 5;
}
.vplayer__live {
  display: flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(0,0,0,.4);
}
.vplayer__live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(34,197,94,.22);
  animation: livepulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
.vplayer__tag {
  font-size: 10px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(0,0,0,.35);
}
.vplayer__brand {
  text-align: center;
  padding: 24px 0 12px;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 5vw, 58px);
  color: var(--blue);
  letter-spacing: .01em;
  position: relative; z-index: 5;
  line-height: 1;
}
/* Light conveyor overrides inside vplayer */
.vplayer .conveyor::before { background: linear-gradient(to right, #c9c7c0, transparent); }
.vplayer .conveyor::after  { background: linear-gradient(to left,  #c9c7c0, transparent); }
.vplayer .conveyor__item {
  background: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.55);
}
.vplayer .conveyor__item:hover {
  background: rgba(255,255,255,.5);
  border-color: rgba(35,64,212,.3);
  transform: translateY(-4px);
}
.vplayer .conveyor__item__lbl { color: rgba(0,0,0,.38); }
/* Rail behind the conveyor */
.vplayer__rail {
  height: 4px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.45) 15%, rgba(255,255,255,.45) 85%, transparent);
  margin: 4px 0 0;
}
.vplayer__rail-bottom {
  height: 4px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,.1) 15%, rgba(0,0,0,.1) 85%, transparent);
  margin: 0 0 20px;
}

/* ── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__top {
  padding: 64px 40px 48px;
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__brand {}
.footer__logo {
  font-size: 16px; font-weight: 500; color: #fff;
  letter-spacing: .04em; margin-bottom: 16px; display: block;
}
.footer__logo span { color: var(--blue); }
.footer__tagline {
  font-size: 13px; font-weight: 300; color: rgba(255,255,255,.4);
  line-height: 1.7; max-width: 260px; margin-bottom: 24px;
}
.footer__contact-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.5);
  margin-bottom: 8px; transition: color .2s;
}
.footer__contact-item:hover { color: rgba(255,255,255,.8); }
.footer__contact-item svg {
  width: 14px; height: 14px; stroke: currentColor; fill: none;
  stroke-width: 1.5; flex-shrink: 0;
}

.footer__col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.3);
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a {
  font-size: 13.5px; color: rgba(255,255,255,.5);
  transition: color .2s; letter-spacing: .01em;
}
.footer__col ul a:hover { color: #fff; }

.footer__bottom {
  padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer__copy {
  font-size: 12px; color: rgba(255,255,255,.28); letter-spacing: .02em;
}
.footer__mii {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.28);
}

/* ── FAQ ───────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 500; color: var(--ink);
  cursor: pointer; gap: 16px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 22px; font-weight: 300; color: var(--blue);
  flex-shrink: 0; transition: transform .25s;
}
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  font-size: 14px; color: var(--ink2); line-height: 1.75;
  padding: 0 4px 20px;
  max-width: 680px;
}

/* ── SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── PAGE HERO BASE ────────────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 64px;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

/* ── FORM ──────────────────────────────────────────────── */
.form-group {
  display: flex; flex-direction: column; gap: 6px;
}
.form-group label {
  font-size: 12px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink2);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; color: var(--ink);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35,64,212,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9994' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* ── TOOL CARD ─────────────────────────────────────────── */
.tool-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: box-shadow .3s, transform .3s;
  cursor: pointer;
}
.tool-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.tool-card__img {
  height: 160px; background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.tool-card__img canvas { max-width: 120px; max-height: 120px; }
.tool-card__body { padding: 16px 18px 20px; }
.tool-card__make {
  font-size: 10px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 4px;
}
.tool-card__code { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.tool-card__op   { font-size: 12px; color: var(--ink3); }
.tool-card__tag  {
  display: inline-block; margin-top: 10px;
  padding: 3px 10px; border-radius: var(--radius-full);
  background: var(--blue2); color: var(--blue);
  font-size: 11px; font-weight: 500; letter-spacing: .04em;
}

/* ── ABOUT LIST ────────────────────────────────────────── */
.about-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-top: 1px solid var(--border);
  cursor: pointer; position: relative; transition: background .18s;
}
.about-item:last-child { border-bottom: 1px solid var(--border); }
.about-item__left { display: flex; align-items: center; gap: 16px; }
.about-item__num {
  font-size: 11px; font-weight: 500; letter-spacing: .1em;
  color: var(--ink3); min-width: 22px; transition: color .25s;
}
.about-item__name { font-size: 15px; color: var(--ink2); transition: color .25s; }
.about-item__icon {
  width: 32px; height: 32px; border-radius: 8px; background: var(--paper);
  display: flex; align-items: center; justify-content: center; transition: all .25s;
}
.about-item__icon svg {
  width: 15px; height: 15px; stroke: var(--ink3); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s;
}
.about-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--blue); transform: scaleY(0); transform-origin: center;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.about-item.active::before,
.about-item:hover::before { transform: scaleY(1); }
.about-item.active .about-item__num,
.about-item:hover .about-item__num { color: var(--blue); }
.about-item.active .about-item__name,
.about-item:hover .about-item__name { color: var(--ink); font-weight: 500; }
.about-item.active .about-item__icon,
.about-item:hover .about-item__icon { background: var(--blue); transform: scale(1.08); }
.about-item.active .about-item__icon svg,
.about-item:hover .about-item__icon svg { stroke: #fff; }

/* ── GALLERY GRID ──────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.gallery-item {
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--paper); position: relative; cursor: pointer;
}
.gallery-item canvas { width: 100% !important; height: 100% !important; }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: rgba(35,64,212,.0);
  display: flex; align-items: flex-end; padding: 16px;
  transition: background .3s;
}
.gallery-item:hover .gallery-item__overlay { background: rgba(35,64,212,.75); }
.gallery-item__info {
  opacity: 0; transform: translateY(8px);
  transition: all .3s; color: #fff;
}
.gallery-item:hover .gallery-item__info { opacity: 1; transform: none; }
.gallery-item__info h4 { font-family: 'DM Sans'; font-size: 14px; font-weight: 500; }
.gallery-item__info p  { font-size: 12px; color: rgba(255,255,255,.7); margin: 2px 0 0; }

/* ── ANIMATIONS ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.fade-up-1 { animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .05s both; }
.fade-up-2 { animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .15s both; }
.fade-up-3 { animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .25s both; }
.fade-up-4 { animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .35s both; }
.fade-up-5 { animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .45s both; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(var(--rot)); }
  50%       { transform: translateY(-14px) rotate(var(--rot)); }
}

/* ── HERO CAROUSEL ─────────────────────────────────────── */
.hero-carousel {
  width: 100%;
  height: 340px;
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  flex-shrink: 0;
  z-index: 2;
}
.hero-carousel::before,
.hero-carousel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; width: 180px;
  z-index: 2; pointer-events: none;
}
.hero-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--paper) 0%, transparent 100%);
}
.hero-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--paper) 0%, transparent 100%);
}
.hc-track {
  display: flex;
  align-items: flex-end;
  gap: 0;
  width: max-content;
  animation: hcScroll 32s linear infinite;
}
@keyframes hcScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hc-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  transform: translateY(var(--arc-y, 0px)) scale(var(--arc-s, 1));
  transition: none;
}
.hc-item img {
  width: var(--arc-w, 200px);
  height: var(--arc-w, 200px);
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.08);
}
.hc-item__shadow {
  width: 70%;
  height: 12px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.12), transparent 70%);
  margin-top: -6px;
}
.hc-item__label {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3);
  text-align: center;
}

/* ── MOBILE RESPONSIVE ─────────────────────────────────── */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px 20px; --nav-h: 56px; }
  .container { padding: 0 20px; }

  /* Nav */
  .nav { padding: 0 20px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 24px; }
  .grid-2.no-stack { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Stats */
  .stat-row { gap: 20px; flex-wrap: wrap; }
  .stat-sep { display: none; }
  .stat-row .stat-item { min-width: calc(50% - 10px); }

  /* Footer */
  .footer__top { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; padding: 16px 20px; text-align: center; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2,1fr); }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr 1fr !important; }
  .step-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }

  /* Page hero */
  .page-hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 40px; }

  h1 { font-size: clamp(36px, 10vw, 52px); }
  h2 { font-size: clamp(28px, 8vw, 40px); }

  /* Hero parts stage */
  .parts-stage { height: 240px !important; }
  .pw { transform: scale(0.7) !important; }

  /* Tool grid */
  .tool-grid { grid-template-columns: repeat(2,1fr) !important; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr !important; }
  .grid-2.no-stack { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr !important; }
}
