/* ==========================================================================
   Yuyii Tech — site stylesheet
   Hand-written. No framework. Replaces Bootstrap + 7 plugin stylesheets.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --brand:      #e68e12;
  --brand-600:  #9e5d07;   /* brand text on light: 5.2:1 on white */
  --brand-700:  #7f4b06;
  --brand-100:  #fdeed6;
  --brand-050:  #fef8ee;

  --ink-950: #0b0f13;
  --ink-900: #121a21;
  --ink-800: #1b242d;
  --ink-700: #2c3944;
  --ink-600: #435160;
  --ink-500: #566475;
  --ink-400: #68757f;   /* small text on light: 4.7:1 */
  --ink-300: #98a3ae;
  --ink-200: #c3cad1;

  --surface:   #ffffff;
  --surface-2: #f5f7f8;
  --surface-3: #eceff1;
  --line:      #e0e5e9;
  --line-soft: #eef1f3;

  --container: 1220px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(68px, 8vw, 116px);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(11, 15, 19, .06);
  --shadow:    0 8px 24px -12px rgba(11, 15, 19, .18);
  --shadow-lg: 0 28px 60px -28px rgba(11, 15, 19, .42);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body {
  font-family: 'Archivo', 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-500);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { color: var(--ink-900); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--brand); color: #fff; }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-2); }
.section--dark { background: var(--ink-950); color: var(--ink-300); }
.section--dark h2, .section--dark h3 { color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink-900); color: #fff; padding: 12px 20px; border-radius: var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); flex: none; }
.section--dark .eyebrow { color: var(--brand); }

.section-head { max-width: 62ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 {
  margin-top: 18px;
  font-size: clamp(1.95rem, 1.2rem + 2.3vw, 2.95rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.section-head p { margin-top: 18px; font-size: 1.0625rem; }

.lede { font-size: 1.125rem; line-height: 1.72; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  font-weight: 600; font-size: .975rem; letter-spacing: -.01em;
  border-radius: var(--radius); border: 1px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--brand); color: var(--ink-950); font-weight: 700;
  box-shadow: 0 10px 24px -14px rgba(230, 142, 18, .9);
}
.btn--primary:hover { background: #f5a530; box-shadow: 0 16px 32px -14px rgba(230, 142, 18, .95); }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-800); }
.btn--ghost { border-color: var(--line); color: var(--ink-900); background: #fff; }
.btn--ghost:hover { border-color: var(--ink-900); }
.btn--outline-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { padding: 11px 20px; font-size: .9rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--brand-600);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink-950);
  color: var(--ink-300);
  font-size: .82rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; }
.topbar__note { display: flex; align-items: center; gap: 9px; letter-spacing: .01em; }
.topbar__note svg { width: 14px; height: 14px; color: var(--brand); flex: none; }
.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 8px; transition: color .18s var(--ease); }
.topbar__links a:hover { color: #fff; }
.topbar__links svg { width: 14px; height: 14px; color: var(--brand); flex: none; }
@media (max-width: 860px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 24px -18px rgba(11, 15, 19, .5); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.header.is-stuck .header__inner { min-height: 66px; }
.header__inner { transition: min-height .25s var(--ease); }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; transition: height .25s var(--ease); }
.header.is-stuck .brand img { height: 38px; }
@media (max-width: 520px) { .brand img { height: 36px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: .95rem; font-weight: 500; color: var(--ink-700);
  border-radius: var(--radius-sm);
  transition: color .18s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--brand); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
}
.nav a:hover { color: var(--ink-950); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink-950); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 12px; flex: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); align-items: center; justify-content: center; color: var(--ink-900);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 96px 24px 32px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s;
    overflow-y: auto; overscroll-behavior: contain; z-index: 95;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: 16px 8px; font-size: 1.1rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--brand-600); }
  .nav .btn { margin-top: 24px; }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(11, 15, 19, .5); z-index: 94;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav-scrim.is-open { opacity: 1; visibility: visible; }
}
@media (min-width: 1041px) { .nav .btn, .nav-scrim { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink-950);
  color: var(--ink-300);
  overflow: hidden;
  padding-block: clamp(64px, 7vw, 104px) clamp(72px, 8vw, 112px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 22% 40%, #000 0%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 70% at 22% 40%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; top: -180px; right: -140px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(230, 142, 18, .17), transparent 66%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px); align-items: stretch;
}
.hero__grid > div:first-child { align-self: center; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; gap: 48px; } }

.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 15px 7px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .8rem; font-weight: 500; color: #dfe5ea;
}
.hero__tag b {
  background: var(--brand); color: var(--ink-950);
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
}
.hero h1 {
  margin-top: 26px;
  color: #fff;
  font-size: clamp(2.35rem, 1.1rem + 4.4vw, 4.05rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -.035em;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__text { margin-top: 24px; max-width: 54ch; font-size: 1.1rem; line-height: 1.72; color: #b6c0ca; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__specs {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px;
  padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .11);
}
.hero__specs li {
  font-size: .8rem; font-weight: 500; letter-spacing: .02em; color: #c5ced7;
  padding: 6px 13px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
}

.hero__media { position: relative; display: flex; align-items: stretch; }
.hero__frame {
  position: relative; flex: 1; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.hero__frame img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(11, 15, 19, .55));
}
.hero__badge {
  position: absolute; left: -22px; bottom: -26px; z-index: 2;
  background: #fff; color: var(--ink-900);
  border-radius: var(--radius); padding: 18px 24px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 16px;
}
.hero__badge .num {
  font-size: 2.1rem; font-weight: 800; letter-spacing: -.04em; color: var(--brand-600); line-height: 1;
}
.hero__badge .lbl { font-size: .82rem; line-height: 1.35; color: var(--ink-500); max-width: 15ch; }
@media (max-width: 960px) { .hero__badge { left: 16px; bottom: -22px; } }
@media (max-width: 520px) { .hero__badge { padding: 14px 18px; gap: 12px; } .hero__badge .num { font-size: 1.7rem; } }

/* ---------- Stat strip ---------- */
.stats { background: var(--ink-900); border-top: 1px solid rgba(255, 255, 255, .07); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stats__item { padding: 34px 28px; border-left: 1px solid rgba(255, 255, 255, .08); }
.stats__item:first-child { border-left: 0; padding-left: 0; }
.stats__item .v {
  font-size: clamp(1.7rem, 1.1rem + 1.5vw, 2.35rem); font-weight: 800;
  letter-spacing: -.035em; color: #fff; line-height: 1;
}
.stats__item .v span { color: var(--brand); }
.stats__item .k { margin-top: 10px; font-size: .86rem; color: var(--ink-300); line-height: 1.5; }
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item { padding: 26px 20px; }
  .stats__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}

/* ---------- Capability cards ---------- */
.cap-grid {
  margin-top: 54px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.cap {
  position: relative; background: #fff; padding: 38px 32px 34px;
  transition: background-color .25s var(--ease);
}
.cap:hover { background: var(--brand-050); }
.cap::before {
  content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
  background: var(--brand); transform: scaleY(0); transform-origin: top;
  transition: transform .3s var(--ease);
}
.cap:hover::before { transform: scaleY(1); }
.cap__idx {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--ink-400);
}
.cap__icon {
  margin: 20px 0 22px;
  width: 58px; height: 58px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand-700);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.cap:hover .cap__icon { background: var(--brand); color: #fff; }
.cap__icon svg { width: 30px; height: 30px; }
.cap h3 { font-size: 1.26rem; font-weight: 700; }
.cap p { margin-top: 12px; font-size: .97rem; line-height: 1.68; }
.cap__list { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.cap__list li {
  font-size: .76rem; font-weight: 500; color: var(--ink-600);
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px;
}
.cap:hover .cap__list li { background: #fff; }

/* ---------- Industries ---------- */
.ind-grid {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px;
}
.ind {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 22px 28px; text-align: center;
  transition: border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.ind:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.ind .ico {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: var(--radius);
  background: var(--brand-100); color: var(--brand-700);
  display: grid; place-items: center;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.ind:hover .ico { background: var(--brand); color: #fff; }
.ind .ico svg { width: 29px; height: 29px; }
.ind h3 { font-size: 1rem; font-weight: 600; line-height: 1.35; }

/* ---------- Product gallery ---------- */
.gallery-top {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px;
}
.filters {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px;
  padding-bottom: 4px;
}
.filters button {
  padding: 10px 18px; font-size: .9rem; font-weight: 500; color: var(--ink-600);
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  transition: all .2s var(--ease); white-space: nowrap;
}
.filters button:hover { border-color: var(--ink-400); color: var(--ink-900); }
.filters button[aria-pressed="true"] {
  background: var(--ink-900); border-color: var(--ink-900); color: #fff; font-weight: 600;
}
.filters .count { color: var(--ink-400); font-weight: 500; margin-left: 6px; font-size: .82em; }
.filters button[aria-pressed="true"] .count { color: rgba(255, 255, 255, .7); }

.product-grid {
  margin-top: 30px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px;
}
.product {
  position: relative; display: block; width: 100%; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: zoom-in;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}
.product:hover { border-color: var(--ink-300); box-shadow: var(--shadow); transform: translateY(-3px); }
.product__img { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-3); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product:hover .product__img img { transform: scale(1.055); }
.product__zoom {
  position: absolute; right: 12px; top: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(11, 15, 19, .62); color: #fff;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(-6px); transition: all .22s var(--ease);
  backdrop-filter: blur(4px);
}
.product__zoom svg { width: 15px; height: 15px; }
.product:hover .product__zoom, .product:focus-visible .product__zoom { opacity: 1; transform: none; }
.product__body { display: block; padding: 17px 18px 19px; border-top: 1px solid var(--line-soft); }
.product__cat {
  display: block;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-600);
}
.product__name { display: block; margin-top: 7px; font-size: .99rem; font-weight: 600; line-height: 1.4; color: var(--ink-900); }
.product.is-hidden { display: none; }

.gallery-more { margin-top: 38px; text-align: center; }
.gallery-more p { font-size: .88rem; color: var(--ink-400); margin-bottom: 14px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(8, 11, 14, .96);
  display: grid; place-items: center; padding: clamp(16px, 4vw, 48px);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__fig { max-width: min(1000px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 16px; }
.lightbox__fig img {
  max-width: 100%; max-height: calc(100vh - 190px);
  width: auto; margin-inline: auto; border-radius: var(--radius);
  background: #11171d;
}
.lightbox__cap { text-align: center; color: #fff; }
.lightbox__cap .c { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.lightbox__cap .n { display: block; margin-top: 6px; font-size: 1.05rem; font-weight: 600; }
.lightbox__cap .i { display: block; margin-top: 4px; font-size: .82rem; color: var(--ink-300); }
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff;
  display: grid; place-items: center;
  transition: background-color .2s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__prev { left: clamp(10px, 3vw, 34px); }
.lightbox__next { right: clamp(10px, 3vw, 34px); }
.lightbox__close {
  position: absolute; top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center;
  transition: background-color .2s var(--ease);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close svg { width: 20px; height: 20px; }
@media (max-width: 620px) {
  .lightbox__btn { width: 42px; height: 42px; top: auto; bottom: 18px; transform: none; }
  .lightbox__prev { left: 24px; } .lightbox__next { right: 24px; }
  .lightbox__fig img { max-height: calc(100vh - 230px); }
}

/* ---------- Process ---------- */
.steps {
  margin-top: 54px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px;
}
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 440px)  { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 34px; }
.step::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--line);
}
.step::after {
  content: ""; position: absolute; left: 0; top: -4px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--brand); border: 2px solid var(--surface-2);
}
.section--tint .step::after { border-color: var(--surface-2); }
.step__n {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; color: var(--brand-600);
}
.step h3 { margin-top: 12px; font-size: 1.14rem; font-weight: 700; }
.step p { margin-top: 10px; font-size: .95rem; line-height: 1.66; }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 76px); align-items: center;
}
@media (max-width: 940px) { .about-grid { grid-template-columns: 1fr; } }
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-media figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-media figure:first-child { grid-column: 1 / -1; }
.about-media figure:first-child img { aspect-ratio: 16 / 9; }
.about-media figcaption {
  padding: 11px 14px; font-size: .78rem; color: var(--ink-400);
  background: #fff; border-top: 1px solid var(--line-soft);
}

.checklist { margin-top: 30px; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { width: 21px; height: 21px; flex: none; color: var(--brand); margin-top: 3px; }
.checklist b { display: block; color: var(--ink-900); font-weight: 600; font-size: 1rem; }
.checklist span { font-size: .95rem; line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--ink-950); overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 120% at 88% 50%, rgba(230, 142, 18, .22), transparent 70%);
}
.cta-band__inner {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 34px;
  padding-block: clamp(50px, 6vw, 78px);
}
.cta-band h2 {
  color: #fff; font-size: clamp(1.7rem, 1.1rem + 1.9vw, 2.5rem); font-weight: 800; letter-spacing: -.03em;
  max-width: 20ch;
}
.cta-band p { margin-top: 14px; color: #adb8c2; max-width: 48ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 4.5vw, 70px);
}
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { margin-top: 34px; display: grid; gap: 4px; }
.contact-list a, .contact-list div {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.contact-list .ic {
  width: 40px; height: 40px; flex: none; border-radius: var(--radius-sm);
  background: var(--brand-100); color: var(--brand-700);
  display: grid; place-items: center;
}
.contact-list .ic svg { width: 19px; height: 19px; }
.contact-list .k { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-400); }
.contact-list .v { display: block; margin-top: 3px; color: var(--ink-900); font-weight: 600; font-size: 1rem; line-height: 1.5; }
.contact-list a:hover .v { color: var(--brand-600); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 38px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: .84rem; font-weight: 600; color: var(--ink-700); margin-bottom: 8px; }
.field > span i { color: var(--brand-600); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px;
  font-size: .97rem; color: var(--ink-900);
  background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566475' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; background: #fff;
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(230, 142, 18, .16);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #d14343; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form__note { font-size: .86rem; color: var(--ink-400); }
.form__status { font-size: .9rem; font-weight: 500; }
.form__status.ok { color: #1d7a45; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-950); color: var(--ink-300); padding-top: clamp(54px, 6vw, 82px); }
.footer__grid {
  display: grid; grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(140px, 1fr));
  gap: 44px 32px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 34px; } }
.footer img.flogo { height: 44px; width: auto; }
.footer p { margin-top: 20px; font-size: .93rem; line-height: 1.7; max-width: 38ch; }
.footer h4 { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.footer ul { margin-top: 20px; display: grid; gap: 12px; }
.footer ul a, .footer ul span { font-size: .93rem; transition: color .18s var(--ease); }
.footer ul a:hover { color: var(--brand); }
.footer .addr { display: flex; gap: 11px; align-items: flex-start; font-size: .93rem; line-height: 1.6; }
.footer .addr svg { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover { background: var(--brand); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.footer__bar {
  margin-top: clamp(44px, 5vw, 66px); padding-block: 26px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: .85rem; color: var(--ink-300);
}

/* ---------- Floating actions ---------- */
.fab-stack { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: grid; gap: 12px; }
.fab {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 28px -10px rgba(11, 15, 19, .6);
  transition: transform .2s var(--ease), opacity .25s var(--ease), visibility .25s;
}
.fab:hover { transform: translateY(-3px); }
.fab svg { width: 25px; height: 25px; }
.fab--wa { background: #25d366; }
.fab--top { background: var(--ink-900); opacity: 0; visibility: hidden; }
.fab--top svg { width: 20px; height: 20px; }
.fab--top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-d1.is-in { transition-delay: .08s; }
.reveal-d2.is-in { transition-delay: .16s; }
.reveal-d3.is-in { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

body.is-locked { overflow: hidden; }

/* standalone heading matching .section-head h2 */
.h2 {
  margin-top: 18px;
  font-size: clamp(1.95rem, 1.2rem + 2.3vw, 2.95rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
