/* =====================================================================
   YKJ ENGINEERING — ACMV & M&E Contractor
   Aesthetic: refined industrial minimalism
   Palette sampled from brand logo (blue #0070C0 / charcoal)
   ===================================================================== */

:root {
  --blue:       #0070c0;
  --blue-600:   #015fa6;
  --blue-700:   #014e88;
  --blue-050:   #eaf4fb;
  --ink:        #14171c;
  --ink-2:      #1a1e25;
  --ink-3:      #272c35;
  --paper:      #ffffff;
  --mist:       #f4f6f9;
  --mist-2:     #eef1f5;
  --line:       #e2e7ec;
  --line-2:     #d3dae1;
  --text:       #2b323c;
  --muted:      #5d6671;
  --muted-2:    #8a929d;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(20,23,28,.04), 0 2px 8px rgba(20,23,28,.05);
  --shadow-md: 0 8px 24px rgba(20,23,28,.08), 0 2px 6px rgba(20,23,28,.05);
  --shadow-lg: 0 24px 60px rgba(15,40,66,.16), 0 6px 18px rgba(20,23,28,.08);

  --font-display: "Archivo", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

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

/* ----------------------------- reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--blue); color: #fff; }

/* --------------------------- utilities --------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--blue);
  display: inline-block;
}
.section { padding-block: clamp(72px, 10vw, 132px); position: relative; }
.section--mist { background: var(--mist); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 68px); }
.section-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: .1em;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
h2.title { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; margin-top: 18px; }
h3 { font-size: clamp(20px, 2.4vw, 24px); letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); margin-top: 22px; max-width: 620px; }

/* ----------------------------- buttons --------------------------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: .01em;
  padding: 14px 24px; border-radius: 999px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  box-shadow: 0 6px 18px rgba(0,112,192,.24);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,112,192,.30); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.btn--light:hover { --bg: var(--blue-050); --fg: var(--blue-700); }
.btn--block { width: 100%; justify-content: center; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; color: var(--blue-700);
  font-size: 15px;
}
.textlink svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* ----------------------------- header ---------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center;
  height: 76px;
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-header.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: auto; transition: height .3s; }
.site-header.scrolled .brand img { height: 42px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  color: var(--ink); padding: 10px 16px; border-radius: 8px; position: relative;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px;
  height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--blue-700); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--blue-700); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------ hero ----------------------------- */
.hero { position: relative; padding-top: 140px; padding-bottom: clamp(60px,8vw,110px); overflow: hidden; }
.hero::before {
  /* blueprint grid */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(0,112,192,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,112,192,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 35%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; top: -22%; right: -8%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, rgba(0,112,192,.13), transparent 62%);
  z-index: 0; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.hero-h1 {
  font-size: clamp(40px, 6.2vw, 76px); font-weight: 800; letter-spacing: -.035em;
  margin-top: 24px;
}
.hero-h1 em { font-style: normal; color: var(--blue); position: relative; }
.hero-copy { margin-top: 26px; font-size: clamp(16.5px,1.5vw,19px); color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-meta div { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted-2); text-transform: uppercase; }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 15px; color: var(--ink); letter-spacing: 0; text-transform: none; margin-top: 3px; font-weight: 600; }

.hero-figure { position: relative; }
.hero-figure .frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4;
  outline: 1px solid rgba(255,255,255,.5);
}
.hero-figure .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure .frame .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.hero-figure .frame .slide.active { opacity: 1; }
.hero-figure .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,18,30,.55));
}
.hero-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2; color: #fff;
}
.hero-tag span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.hero-tag strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-top: 2px; }
.hero-dots { position: absolute; right: 16px; bottom: 18px; z-index: 3; display: flex; gap: 7px; }
.hero-dots .dot { width: 7px; height: 7px; padding: 0; border: none; border-radius: 999px; background: rgba(255,255,255,.5); cursor: pointer; transition: width .35s var(--ease), background .25s; }
.hero-dots .dot.active { width: 22px; background: #fff; }
.hero-dots .dot:hover { background: rgba(255,255,255,.85); }
.corner { position: absolute; width: 26px; height: 26px; z-index: 2; border: 2px solid rgba(255,255,255,.85); }
.corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

/* ---------------------------- marquee ---------------------------- */
.clients { border-block: 1px solid var(--line); background: var(--paper); padding-block: 26px; overflow: hidden; }
.clients .label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); text-align: center; margin-bottom: 18px; }
.marquee { display: flex; gap: 56px; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px,2vw,24px); color: #aab2bc; letter-spacing: -.01em; white-space: nowrap; transition: color .3s; }
.marquee span:hover { color: var(--ink); }
.marquee-mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ----------------------------- about ----------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,80px); align-items: start; }
.about-copy p { color: var(--muted); margin-bottom: 18px; }
.about-copy p strong { color: var(--text); font-weight: 600; }
.mv-cards { display: grid; gap: 18px; }
.mv-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--paper); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.mv-card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mv-card .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: 10px; }
.mv-card .k svg { width: 20px; height: 20px; }
.mv-card h3 { font-size: 19px; margin: 14px 0 8px; }
.mv-card p { color: var(--muted); font-size: 15.5px; }

/* ---------------------------- services --------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 32px 32px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  overflow: hidden;
}
.svc::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover::before { transform: scaleY(1); }
.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.svc-ico { width: 54px; height: 54px; border-radius: 13px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; transition: background .3s, color .3s; }
.svc-ico svg { width: 28px; height: 28px; }
.svc:hover .svc-ico { background: var(--blue); color: #fff; }
.svc .idx { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.svc h3 { font-size: 21px; }
.svc > p { color: var(--muted); font-size: 15px; margin: 8px 0 18px; }
.svc ul { display: grid; gap: 9px; }
.svc li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--text); }
.svc li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px;
  background: var(--blue-050); border: 1px solid var(--blue); border-radius: 3px;
}
.svc li::after { content: ""; position: absolute; left: 4px; top: 11px; width: 4px; height: 7px; border: solid var(--blue); border-width: 0 1.6px 1.6px 0; transform: rotate(42deg); }

/* --------------------------- why / dark -------------------------- */
.why { background: var(--ink-2); color: #d7dde4; position: relative; overflow: hidden; }
.why::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(100% 100% at 0% 0%, #000, transparent 70%);
  mask-image: radial-gradient(100% 100% at 0% 0%, #000, transparent 70%);
}
.why .wrap { position: relative; z-index: 1; }
.why .eyebrow { color: #6fc0f3; }
.why .eyebrow::before { background: #6fc0f3; }
.why h2.title { color: #fff; }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px,6vw,90px); align-items: center; }
.why-list { display: grid; gap: 2px; margin-top: 30px; }
.why-list li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.why-list li:first-child { border-top: 1px solid rgba(255,255,255,.08); }
.why-list .n { font-family: var(--font-mono); font-size: 13px; color: #6fc0f3; padding-top: 3px; min-width: 30px; }
.why-list h4 { color: #fff; font-size: 17px; font-family: var(--font-display); font-weight: 600; }
.why-list p { font-size: 14.5px; color: #97a1ad; margin-top: 2px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--ink-2); padding: 30px 26px; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,5vw,46px); color: #fff; letter-spacing: -.03em; line-height: 1; display: block; }
.stat b .u { color: var(--blue); }
.stat span { font-size: 13.5px; color: #98a2ae; margin-top: 8px; display: block; }

/* --------------------------- projects ---------------------------- */
.proj-gallery { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.shot { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--mist-2); aspect-ratio: 4 / 3; flex: 0 1 calc(25% - 10.5px); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(8,16,26,.82)); transition: opacity .4s; }
.shot figcaption { position: absolute; left: 16px; bottom: 14px; right: 16px; z-index: 2; color: #fff; }
.shot figcaption span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #9fd2f5; }
.shot figcaption b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; margin-top: 3px; line-height: 1.25; }
.shot:hover img { transform: scale(1.06); }
.shot.feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

.proj-lists { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(34px,5vw,72px); margin-top: 60px; align-items: start; }
.proj-lists h3 { font-size: 15px; font-family: var(--font-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 22px; }
.ref-table { display: grid; gap: 0; }
.ref-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: baseline; padding: 15px 0; border-top: 1px solid var(--line); transition: padding-left .3s var(--ease); }
.ref-row:last-child { border-bottom: 1px solid var(--line); }
.ref-row:hover { padding-left: 8px; }
.ref-row .venue { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 16.5px; }
.ref-row .tenants { font-size: 14px; color: var(--muted); text-align: right; font-family: var(--font-mono); letter-spacing: .01em; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-size: 13px; font-family: var(--font-mono); color: var(--text); background: var(--paper); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; transition: all .25s; }
.chip:hover { border-color: var(--blue); color: var(--blue-700); background: var(--blue-050); }

/* ---------------------------- contact ---------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px,5vw,72px); align-items: stretch; }
.contact-info { display: grid; gap: 8px; align-content: start; }
.cinfo {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line);
}
.cinfo:first-of-type { border-top: 1px solid var(--line); }
.cinfo .ico { flex: none; width: 46px; height: 46px; border-radius: 11px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; }
.cinfo .ico svg { width: 22px; height: 22px; }
.cinfo .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.cinfo .v { font-size: 16px; color: var(--ink); margin-top: 3px; }
.cinfo .v a:hover { color: var(--blue-700); }
.contact-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px,3.5vw,40px); box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 22px; }
.form-card > p { color: var(--muted); font-size: 15px; margin: 6px 0 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  background: var(--mist); border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0,112,192,.1);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted-2); margin-top: 14px; text-align: center; }
.form-status { font-size: 14.5px; margin-top: 14px; padding: 12px 16px; border-radius: 10px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--blue-050); color: var(--blue-700); }

/* ----------------------------- footer ---------------------------- */
.site-footer { background: var(--ink); color: #aab2bd; padding-top: clamp(56px,7vw,84px); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.foot-brand .mark { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.foot-mark { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; }
.foot-mark .y { color: #fff; font-size: 30px; }
.foot-mark .e { color: #fff; font-size: 30px; }
.foot-wordmark { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 19px; letter-spacing: .02em; }
.foot-wordmark small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; color: #6b7682; text-transform: uppercase; margin-top: 3px; }
.foot-brand p { font-size: 14.5px; color: #8b94a0; max-width: 320px; }
.site-footer h5 { font-family: var(--font-mono); font-weight: 500; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #6b7682; margin-bottom: 18px; }
.foot-links { display: grid; gap: 11px; }
.foot-links a { font-size: 15px; color: #aab2bd; transition: color .2s, padding-left .25s; width: fit-content; }
.foot-links a:hover { color: #fff; padding-left: 5px; }
.foot-contact { display: grid; gap: 12px; font-size: 14.5px; }
.foot-contact a:hover { color: #fff; }
.foot-bar { border-top: 1px solid rgba(255,255,255,.08); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.foot-bar p { font-size: 13px; color: #6b7682; }
.foot-bar .reg { font-family: var(--font-mono); }

/* --------------------- floating actions / FAB -------------------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; flex-direction: column; gap: 12px; }
.fab a, .fab button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform .3s var(--ease); }
.fab a:hover, .fab button:hover { transform: translateY(-3px) scale(1.05); }
.fab .wa { background: #25d366; color: #fff; }
.fab .wa svg { width: 28px; height: 28px; }
.fab .top { background: #fff; color: var(--ink); border: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(8px); }
.fab .top.show { opacity: 1; pointer-events: auto; transform: none; }
.fab .top svg { width: 20px; height: 20px; }

/* --------------------------- animations -------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }

/* hero load stagger */
.hero .reveal { transform: translateY(20px); }

/* --------------------------- responsive -------------------------- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { max-width: 520px; margin-inline: auto; width: 100%; }
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .proj-lists { grid-template-columns: 1fr; }
  .proj-gallery .shot { flex-basis: calc(50% - 7px); }
  .stats { max-width: 520px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(255,255,255,.97); backdrop-filter: blur(12px); padding: 14px var(--gutter) 26px; gap: 2px;
    box-shadow: var(--shadow-md); border-top: 1px solid var(--line);
  }
  .nav.open a { padding: 14px 6px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav.open a::after { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 18px; }
  .stats { grid-template-columns: 1fr; }
}
