/* =========================================================
   BM Buildtech — Landing Page (Demo 2)
   ========================================================= */

:root {
  /* Brand palette from the BM Buildtech logo */
  --navy-950: #030f26;
  --navy-900: #061a3f;
  --navy-800: #0b2553;
  --navy-700: #15336a;
  --blue-600: #0b6bea;
  --blue-500: #2b86ff;
  --blue-400: #3d95ff;
  --cyan: #22c6f0;

  --text: #0f1d33;
  --muted: #55627a;
  --muted-light: #a8b6cc;
  --line: #dde5f0;
  --paper: #f3f7fd;
  --white: #ffffff;
  --wa: #25d366;

  --grad: linear-gradient(120deg, var(--blue-600) 0%, #1f9bff 100%);
  --grad-dark: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-800) 60%, #0d3478 100%);
  --grad-text: linear-gradient(90deg, var(--blue-600), #0aa3e0);
  --grad-text-light: linear-gradient(90deg, var(--blue-400), var(--cyan));

  --font-head: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(6, 26, 63, .06);
  --shadow: 0 18px 40px -16px rgba(6, 26, 63, .28);
  --shadow-lg: 0 34px 70px -24px rgba(6, 26, 63, .45);
  --shadow-blue: 0 16px 34px -12px rgba(11, 107, 234, .55);
  --ease: cubic-bezier(.22, .8, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --container: 1220px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
html, body { overflow-x: clip; } /* clip (not hidden) keeps position: sticky working */
body {
  margin: 0; font: 400 16.5px/1.68 var(--font-body);
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
main, .footer { overflow-x: clip; }
@supports not (overflow-x: clip) {
  body { overflow-x: hidden; }
  @media (max-width: 1000px) { main { overflow-x: hidden; } }
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.14; margin: 0 0 .5em; color: var(--navy-900); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue-600); color: var(--white); }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }

.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 9999; background: var(--blue-600); color: var(--white); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }

/* ---------- Type helpers ---------- */
h1, h2, .h2, .stat-num, .flip__no, .svc-card__no, .panel__no { font-stretch: 112%; }
.h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 800; }
.h2--light { color: var(--white); }
.lead { font-size: 1.12rem; color: var(--muted); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .grad-text, .why .grad-text, .h2--light .grad-text { background-image: var(--grad-text-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font: 700 .78rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue-600), var(--cyan)); }
.eyebrow--light { color: var(--blue-400); }
.eyebrow--white { color: var(--white); }
.eyebrow--white::before { background: var(--white); }

.section-head { max-width: 780px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.section-head--split .lead { margin: 0; }

.tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
  font: 700 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
}
.tag--glass { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: var(--white); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: ping 1.8s infinite; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .98rem/1.2 var(--font-body); white-space: nowrap;
  transition: transform .35s var(--spring), box-shadow .35s var(--ease), color .3s, background .3s, border-color .3s;
}
.btn .i { transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(5px); }
.btn:hover .i:first-child:not(:last-child) { transform: rotate(-14deg) scale(1.12); }
.btn:active { transform: translateY(0) scale(.98); }
/* shine sweep */
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn:hover::after { left: 130%; }

.btn--primary { background: var(--grad); color: var(--white); box-shadow: var(--shadow-blue); }
.btn--primary:hover { box-shadow: 0 22px 40px -12px rgba(11,107,234,.7); }
.btn--glass { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { background: var(--blue-600); color: var(--white); }
.btn--wa { background: var(--wa); color: var(--white); }
.btn--sm { padding: 10px 20px; font-size: .9rem; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: var(--white); transition: opacity .6s var(--ease), visibility .6s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; gap: 22px; justify-items: center; }
.preloader img { width: 322px; max-width: 80vw; height: auto; animation: breathe 1.6s ease-in-out infinite; }
.preloader__bar { width: 160px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--grad); border-radius: 4px; animation: loadbar 1.1s ease-in-out infinite; }
html:not(.js) .preloader { display: none; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue-600), var(--cyan)); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px rgba(34,198,240,.8); }

/* ---------- Header (floating) ---------- */
.header { position: fixed; top: 14px; left: 0; right: 0; z-index: 1000; padding: 0 var(--gutter); transition: top .4s var(--ease); }
.header__bar {
  max-width: calc(var(--container) + 40px); margin: 0 auto;
  display: flex; align-items: center; gap: 20px; justify-content: space-between;
  height: var(--header-h); padding: 0 14px 0 22px; border-radius: 22px;
  background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
  box-shadow: 0 10px 30px -12px rgba(6,26,63,.25);
  transition: height .4s var(--ease), box-shadow .4s, border-radius .4s;
}
.header.is-scrolled { top: 8px; }
.header.is-scrolled .header__bar { height: 76px; box-shadow: 0 16px 40px -14px rgba(6,26,63,.4); }
.brand { display: inline-flex; flex: none; }
/* Logo stays a fixed size with no transform: scaling or resizing a raster logo blurs its fine tagline */
.brand picture { display: block; }
.brand img { height: 64px; width: auto; transition: opacity .3s; }
.brand:hover img { opacity: .85; }

.nav { position: relative; }
.nav__list { position: relative; z-index: 1; display: flex; gap: 2px; }
.nav__list a { display: block; padding: 10px 13px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--text); transition: color .3s; }
.nav__list a:hover { color: var(--blue-600); }
.nav__list a.is-active { color: var(--white); }
.nav__pill { position: absolute; top: 0; left: 0; height: 100%; border-radius: 999px; background: var(--grad); box-shadow: var(--shadow-blue); transition: transform .45s var(--spring), width .45s var(--spring), opacity .3s; opacity: 0; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; color: var(--navy-900); transition: color .3s; }
.header__phone small { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; line-height: 1; margin-bottom: 3px; }
.header__phone-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(11,107,234,.1); color: var(--blue-600); transition: background .3s, color .3s, transform .4s var(--spring); }
.header__phone:hover .header__phone-icon { background: var(--blue-600); color: var(--white); transform: rotate(-15deg); }
.header__phone:hover { color: var(--blue-600); }

.burger { display: none; position: relative; width: 48px; height: 48px; border-radius: 14px; background: var(--navy-900); }
.burger span { position: absolute; left: 14px; width: 20px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .4s var(--ease), opacity .3s, width .3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; width: 13px; }
.burger span:nth-child(3) { top: 29px; }
.burger:hover span:nth-child(2) { width: 20px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 999; display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 32px; background: var(--grad-dark);
  clip-path: circle(0% at calc(100% - 50px) 50px); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility .7s;
}
.mmenu.is-open { clip-path: circle(150% at calc(100% - 50px) 50px); visibility: visible; }
.mmenu__nav { display: grid; gap: 4px; }
.mmenu__nav a {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 0;
  font: 800 clamp(1.7rem, 7vw, 2.4rem)/1.15 var(--font-head); color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.mmenu__nav a span { font: 700 .8rem/1 var(--font-body); color: var(--blue-400); }
.mmenu__nav a:hover { color: var(--blue-400); }
.mmenu.is-open .mmenu__nav a { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__nav a:nth-child(1) { transition-delay: .15s; }
.mmenu.is-open .mmenu__nav a:nth-child(2) { transition-delay: .2s; }
.mmenu.is-open .mmenu__nav a:nth-child(3) { transition-delay: .25s; }
.mmenu.is-open .mmenu__nav a:nth-child(4) { transition-delay: .3s; }
.mmenu.is-open .mmenu__nav a:nth-child(5) { transition-delay: .35s; }
.mmenu.is-open .mmenu__nav a:nth-child(6) { transition-delay: .4s; }
.mmenu.is-open .mmenu__nav a:nth-child(7) { transition-delay: .45s; }
.mmenu.is-open .mmenu__nav a:nth-child(8) { transition-delay: .5s; }
.mmenu__foot { display: grid; gap: 12px; opacity: 0; transition: opacity .5s .4s; }
.mmenu.is-open .mmenu__foot { opacity: 1; }
.mmenu__foot p { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--muted-light); margin: 6px 0 0; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(100vh, 980px); min-height: min(100svh, 980px); display: flex; align-items: center; padding: 150px 0 120px; color: var(--white); overflow: hidden; background: var(--navy-950); }
.hero__slides { position: absolute; inset: 0; z-index: -3; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.4s ease, transform 7s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(11,107,234,.35), transparent 60%),
    linear-gradient(95deg, rgba(3,15,38,.95) 0%, rgba(6,26,63,.82) 45%, rgba(6,26,63,.35) 100%),
    linear-gradient(0deg, rgba(3,15,38,.75) 0%, transparent 35%);
}
.hero__grid-lines { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(circle at 30% 50%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(circle at 30% 50%, #000 0%, transparent 70%); }
.hero__inner { display: grid; grid-template-columns: 1.35fr .8fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 900; color: var(--white); letter-spacing: -.025em; margin: 22px 0 16px; max-width: 15ch; }
.hero__tagline { font: 700 clamp(1.05rem, 1.8vw, 1.3rem)/1.3 var(--font-head); color: var(--blue-400); margin-bottom: 10px; }
.hero__rotator { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.05rem; color: #cfd8e6; margin-bottom: 14px; }
.rotator { position: relative; display: inline-grid; height: 1.9em; overflow: hidden; padding: 0 14px; border-radius: 8px; background: rgba(61,149,255,.16); border: 1px solid rgba(61,149,255,.35); }
.rotator span { grid-area: 1 / 1; align-self: center; font-weight: 700; color: var(--white); white-space: nowrap; transform: translateY(110%); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.rotator span.is-active { transform: none; opacity: 1; }
.rotator span.is-out { transform: translateY(-110%); opacity: 0; }
.hero__lead { font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 56ch; color: #d4dceb; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__card {
  padding: 28px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  animation: floaty 6s ease-in-out infinite;
}
.hero__card-title { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 18px; }
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero__stats li { padding: 18px 16px; border-radius: var(--r); background: rgba(3,15,38,.45); border: 1px solid rgba(255,255,255,.1); transition: transform .4s var(--spring), background .3s, border-color .3s; }
.hero__stats li:hover { transform: translateY(-5px) scale(1.03); background: rgba(11,107,234,.35); border-color: rgba(61,149,255,.6); }
.hero__stats strong { display: block; font: 900 2.1rem/1 var(--font-head); font-stretch: 112%; color: var(--white); margin-bottom: 6px; }
.hero__stats li > span { font-size: .86rem; color: var(--muted-light); }

.hero__dots { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dots button { width: 10px; height: 10px; border-radius: 10px; background: rgba(255,255,255,.4); transition: width .4s var(--ease), background .3s; }
.hero__dots button:hover { background: rgba(255,255,255,.8); }
.hero__dots button.is-active { width: 34px; background: var(--blue-400); }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 32px; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; transition: border-color .3s; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--white); animation: scrollDot 1.8s infinite; }
.hero__scroll:hover { border-color: var(--blue-400); }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; background: var(--grad); padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin-top: -18px; box-shadow: var(--shadow); }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: flex; align-items: center; gap: 12px; padding: 0 30px; font: 800 1.05rem/1 var(--font-head); color: var(--white); white-space: nowrap; font-stretch: 110%; }
.marquee li::after { content: "✦"; margin-left: 30px; color: rgba(255,255,255,.55); }
.marquee .i { width: 24px; height: 24px; }

/* ---------- About ---------- */
.about { overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about__collage { position: relative; padding: 0 40px 70px 0; }
.about__img { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.about__img:hover img { transform: scale(1.08); }
.about__img--main { aspect-ratio: 4 / 4.6; }
.about__img--sub { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 8px solid var(--white); }
.about__collage::before { content: ""; position: absolute; left: -26px; top: -26px; width: 140px; height: 140px; border-radius: 24px; background-image: radial-gradient(var(--blue-400) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .5; z-index: -1; }
.badge-spin { position: absolute; left: -10px; bottom: 30px; width: 150px; height: 150px; border-radius: 50%; background: var(--navy-900); box-shadow: var(--shadow-lg); display: grid; place-items: center; transition: transform .5s var(--spring); }
.badge-spin:hover { transform: scale(1.08); }
.badge-spin svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 18s linear infinite; }
.badge-spin text { font: 700 13.5px var(--font-body); letter-spacing: 3.2px; fill: var(--white); }
.badge-spin__core { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--grad); color: var(--white); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; line-height: 1; text-align: center; }
.badge-spin__core strong { display: block; font: 900 1.5rem/1 var(--font-head); margin-bottom: 2px; }

.about__more p { color: var(--muted); }
.about__sign { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 16px 20px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); transition: transform .4s var(--spring), box-shadow .4s; }
.about__sign:hover { transform: translateX(8px); box-shadow: var(--shadow); }
.about__sign p { margin: 0; font: 800 1.08rem/1.3 var(--font-head); color: var(--navy-900); }
.about__sign-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--grad); color: var(--white); }

/* Numbers */
.numbers { margin-top: clamp(64px, 8vw, 100px); padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--grad-dark); color: var(--white); position: relative; overflow: hidden; }
.numbers::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(61,149,255,.45), transparent 70%); }
.numbers__title { position: relative; color: var(--white); font-size: 1.35rem; margin-bottom: 26px; }
.numbers__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.num-card { padding: 24px 22px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: transform .45s var(--spring), background .35s, border-color .35s; }
.num-card:hover { transform: translateY(-8px); background: rgba(11,107,234,.25); border-color: rgba(61,149,255,.6); }
.num-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(61,149,255,.18); color: var(--blue-400); margin-bottom: 16px; transition: transform .5s var(--spring), background .3s, color .3s; }
.num-card:hover .num-card__icon { transform: rotate(-12deg) scale(1.1); background: var(--white); color: var(--blue-600); }
.num-card > strong { display: block; font: 900 2.4rem/1 var(--font-head); font-stretch: 112%; background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.num-card b { display: block; font-size: 1rem; margin-bottom: 4px; }
.num-card > span:last-child:not(.num-card__icon) { font-size: .88rem; color: var(--muted-light); }
.numbers__note { position: relative; margin: 22px 0 0; font-size: .88rem; color: var(--muted-light); }

/* Timeline */
.journey { margin-top: clamp(72px, 9vw, 110px); }
.timeline { position: relative; display: grid; gap: 28px; }
.timeline__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--line); border-radius: 3px; }
.timeline__line span { display: block; width: 100%; height: 0; background: linear-gradient(var(--blue-600), var(--cyan)); border-radius: 3px; box-shadow: 0 0 12px rgba(34,198,240,.6); }
.tl-item { position: relative; width: 50%; padding-right: 54px; }
.tl-item:nth-child(odd) { margin-left: 50%; padding-right: 0; padding-left: 54px; }
.tl-item__dot { position: absolute; top: 28px; right: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 4px solid var(--blue-600); box-shadow: 0 0 0 6px rgba(11,107,234,.12); z-index: 1; transition: transform .4s var(--spring), background .3s; }
.tl-item:nth-child(odd) .tl-item__dot { right: auto; left: -11px; }
.tl-card { padding: 26px 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--spring), box-shadow .45s, border-color .45s; }
.tl-item:hover .tl-card { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-400); }
.tl-item:hover .tl-item__dot { transform: scale(1.35); background: var(--blue-600); }
.tl-card__tag { display: inline-block; padding: 6px 12px; border-radius: 8px; background: var(--grad); color: var(--white); font: 800 .76rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.tl-card h3 { font-size: 1.25rem; }
.tl-card p { margin: 0; color: var(--muted); }

/* ---------- Services overview ---------- */
.services { background: var(--paper); }
.services::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(11,107,234,.12) 1.2px, transparent 1.4px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 50%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 50%); pointer-events: none; }
.services .container { position: relative; }
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  min-height: 320px; padding: 32px 28px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--spring), box-shadow .5s, border-color .4s;
}
.svc-card__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,26,63,.55) 0%, rgba(3,15,38,.94) 75%); opacity: 0; transition: opacity .6s var(--ease); }
.svc-card__no { position: absolute; right: 24px; top: 20px; font: 900 3rem/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px var(--line); transition: -webkit-text-stroke-color .4s, transform .5s var(--spring); }
.svc-card__icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: var(--grad); color: var(--white); margin-bottom: 24px; box-shadow: var(--shadow-blue); transition: transform .5s var(--spring); }
.svc-card__icon .i { width: 28px; height: 28px; }
.svc-card h3 { font-size: 1.25rem; transition: color .4s; }
.svc-card p { color: var(--muted); font-size: .96rem; flex: 1; transition: color .4s; }
.svc-card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--blue-600); transition: gap .35s var(--ease), color .3s; }
.svc-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover .svc-card__bg { opacity: 1; transform: scale(1); }
.svc-card:hover::before { opacity: 1; }
.svc-card:hover .svc-card__icon { transform: rotate(-10deg) scale(1.08); }
.svc-card:hover .svc-card__no { -webkit-text-stroke-color: rgba(255,255,255,.5); transform: scale(1.1); }
.svc-card:hover h3 { color: var(--white); }
.svc-card:hover p { color: #d3dbe8; }
.svc-card:hover .svc-card__link { color: var(--blue-400); gap: 14px; }
.services__note { text-align: center; color: var(--muted); max-width: 640px; margin: 44px auto 0; font-style: italic; }

/* Mouse-follow glow (position set by JS) */
.glow { --mx: 50%; --my: 50%; }
.glow::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(61,149,255,.22), transparent 60%); opacity: 0; transition: opacity .4s; }
.glow:hover::after { opacity: 1; }

/* ---------- Service details / tabs ---------- */
.svc-detail { background: var(--navy-950); color: var(--white); overflow: hidden; }
.svc-detail__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 10% 0%, rgba(11,107,234,.35), transparent 70%), radial-gradient(40% 40% at 100% 100%, rgba(34,198,240,.18), transparent 70%); }
.svc-detail .container { position: relative; }
.svc-intro { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); margin-bottom: 30px; }
.svc-intro__body p { color: #c4cee0; }
.serve-strip { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--r-lg); background: linear-gradient(100deg, rgba(11,107,234,.28), rgba(34,198,240,.12)); border: 1px solid rgba(61,149,255,.35); margin-bottom: 48px; transition: transform .4s var(--spring); }
.serve-strip:hover { transform: translateY(-4px); }
.serve-strip p { margin: 0; flex: 1; color: #c4cee0; }
.serve-strip strong { display: block; color: var(--white); font-size: 1.05rem; }
.serve-strip__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--grad); flex: none; animation: bob 2.6s ease-in-out infinite; }
.serve-strip__icon .i { width: 24px; height: 24px; }

.tabs { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.tabs__list { display: grid; gap: 8px; position: sticky; top: 110px; }
.tabs__list button {
  position: relative; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 18px; border-radius: var(--r); font-weight: 700; color: #c4cee0;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--spring);
}
.tabs__list button span { font: 800 .8rem/1 var(--font-head); color: var(--blue-400); padding: 6px 8px; border-radius: 8px; background: rgba(61,149,255,.12); transition: background .3s, color .3s; }
.tabs__list button:hover { background: rgba(255,255,255,.07); color: var(--white); transform: translateX(6px); }
.tabs__list button[aria-selected="true"] { background: var(--grad); border-color: transparent; color: var(--white); box-shadow: var(--shadow-blue); }
.tabs__list button[aria-selected="true"] span { background: rgba(255,255,255,.2); color: var(--white); }

.tab-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.tab-panel.is-active { animation: panelIn .6s var(--ease); }
.tab-panel[hidden] { display: none; }
.tab-panel__media { position: relative; margin: 0; overflow: hidden; min-height: 320px; }
.tab-panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tab-panel:hover .tab-panel__media img { transform: scale(1.07); }
.tab-panel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(3,15,38,.6)); }
.tab-panel__body { padding: clamp(24px, 3vw, 38px); }
.kicker { display: inline-block; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--blue-400); margin-bottom: 10px; }
.tab-panel__body h3 { color: var(--white); font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 800; }
.tab-panel__body > p { color: #c4cee0; font-size: .97rem; }
.tab-panel__body h4 { color: var(--white); font-size: 1rem; margin: 18px 0 12px; }
.note { font-size: .93rem; color: var(--muted-light) !important; padding-left: 14px; border-left: 3px solid var(--blue-400); margin: 18px 0 24px; }

.ticks { display: grid; gap: 10px; }
.ticks--2col { grid-template-columns: 1fr 1fr; }
.ticks li { position: relative; padding-left: 32px; transition: transform .3s var(--ease); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .18em; width: 21px; height: 21px; border-radius: 7px; background: var(--grad) ; transition: transform .35s var(--spring); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: calc(.18em + 5px); width: 6px; height: 10px; border: solid var(--white); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.ticks li:hover { transform: translateX(6px); }
.ticks li:hover::before { transform: rotate(-12deg) scale(1.12); }
.svc-detail .ticks li { color: #e2e8f2; }

/* ---------- Machinery ---------- */
.machinery__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; margin-bottom: 48px; }
.machinery__photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg); }
.machinery__photo img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.machinery__photo figcaption { position: absolute; left: 18px; bottom: 18px; padding: 12px 18px; border-radius: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); color: var(--navy-900); font-weight: 600; box-shadow: var(--shadow); transition: transform .4s var(--spring); }
.machinery__photo:hover figcaption { transform: translateY(-6px); }
.machinery__photo figcaption strong { font: 900 1.4rem/1 var(--font-head); color: var(--blue-600); margin-right: 4px; }
.machinery__label { font-weight: 700; color: var(--navy-900); margin-bottom: 18px; }

.flip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flip { perspective: 1000px; height: 190px; }
.flip__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--spring); }
.flip:hover .flip__inner, .flip:focus-within .flip__inner, .flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__front, .flip__back { position: absolute; inset: 0; border-radius: var(--r-lg); backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.flip__front { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.flip__front h3 { font-size: 1.12rem; margin: 0; }
.flip__icon { position: absolute; top: 22px; left: 24px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(11,107,234,.1); color: var(--blue-600); }
.flip__icon .i { width: 28px; height: 28px; }
.flip__no { position: absolute; top: 20px; right: 22px; font: 900 1.9rem/1 var(--font-head); color: var(--line); }
.flip__back { transform: rotateY(180deg); background: var(--grad); color: var(--white); justify-content: center; align-items: flex-start; gap: 6px; box-shadow: var(--shadow-blue); }
.flip__back > .i { width: 34px; height: 34px; margin-bottom: 6px; }
.flip__back h3 { color: var(--white); font-size: 1.15rem; margin: 0; }
.flip__back span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; opacity: .95; }
.flip-cta a { display: flex; flex-direction: column; justify-content: center; height: 190px; padding: 24px; border-radius: var(--r-lg); background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; transition: transform .45s var(--spring), box-shadow .45s; }
.flip-cta a::before { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(61,149,255,.6), transparent 70%); transition: transform .6s var(--ease); }
.flip-cta span:first-child { position: relative; color: var(--muted-light); font-size: .9rem; }
.flip-cta strong { position: relative; font: 800 1.3rem/1.2 var(--font-head); margin-top: 4px; }
.flip-cta__arrow { position: absolute; right: 20px; top: 20px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); transition: transform .45s var(--spring); }
.flip-cta a:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.flip-cta a:hover::before { transform: scale(1.6); }
.flip-cta a:hover .flip-cta__arrow { transform: rotate(-45deg) scale(1.1); }
.machinery__note { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; color: var(--muted); font-size: .95rem; }
.machinery__note .i { color: var(--blue-600); }

/* ---------- Project timeline ---------- */
.projects { background: var(--paper); }
.pfilters { display: flex; flex-wrap: wrap; gap: 10px; margin: -14px 0 36px; }
.pfilters button { padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: .92rem; background: var(--white); border: 1px solid var(--line); color: var(--navy-900); transition: all .35s var(--spring); }
.pfilters button:hover { border-color: var(--blue-400); color: var(--blue-600); transform: translateY(-3px); }
.pfilters button.is-active { background: var(--grad); color: var(--white); border-color: transparent; box-shadow: var(--shadow-blue); }

.ptl { position: relative; display: grid; padding-left: 4px; }
.ptl::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--blue-600), var(--cyan)); }
.ptl__item {
  position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: start;
  padding: 28px 30px 28px 38px; border-bottom: 1px solid var(--line); border-radius: 0 var(--r) var(--r) 0;
  transition: background .35s, box-shadow .35s, transform .45s var(--spring), opacity .9s var(--ease);
}
.ptl__item:last-child { border-bottom: 0; }
.ptl__item::before {
  content: ""; position: absolute; left: -10px; top: 36px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--blue-600); box-shadow: 0 0 0 5px var(--paper);
  transition: background .3s, transform .4s var(--spring);
}
.ptl__year { font: 900 1.7rem/1.1 var(--font-head); font-stretch: 112%; color: var(--navy-900); transition: color .3s; }
.ptl__body h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 6px; }
.ptl__body p { color: var(--muted); margin: 0 0 12px; }
.ptl__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ptl__tags li { padding: 4px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: rgba(11,107,234,.08); color: var(--blue-600); transition: background .3s, color .3s; }
.ptl__item:hover { background: var(--white); box-shadow: var(--shadow); transform: translateX(8px); }
.ptl__item:hover::before { background: var(--blue-600); transform: scale(1.3); }
.ptl__item:hover .ptl__year { color: var(--blue-600); }
.ptl__item:hover .ptl__tags li { background: var(--blue-600); color: var(--white); }
.ptl__item--start .ptl__year { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ptl__item--start::before { background: var(--grad); border-color: var(--white); box-shadow: 0 0 0 5px var(--paper), 0 0 0 7px var(--blue-400); }
.ptl__item.is-hidden { display: none; }
.ptl__item.is-entering { animation: panelIn .5s var(--ease) both; }
.ptl__empty { margin: 20px 0 0; padding: 18px 22px; border-radius: var(--r); background: var(--white); border: 1px dashed var(--blue-400); color: var(--muted); }
.ptl__empty a { color: var(--blue-600); font-weight: 700; }

/* ---------- Why (bento) ---------- */
.why { background: var(--grad-dark); color: var(--white); overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; }
.why .container { position: relative; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 18px; }
.bento__item { position: relative; overflow: hidden; isolation: isolate; padding: 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: transform .5s var(--spring), border-color .4s, background .4s; }
.bento__item > * { position: relative; z-index: 1; }
.bento__item--hero { grid-column: span 2; grid-row: span 2; display: flex; align-items: flex-end; padding: 0; }
.bento__item--hero img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__item--hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 20%, rgba(3,15,38,.92)); }
.bento__item--hero .bento__content { padding: 32px; }
.bento__item--hero h3 { font-size: 1.8rem; }
.bento__item--hero:hover img { transform: scale(1.08); }
.bento__item--accent { grid-column: 1 / -1; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px 24px; background: var(--grad); border-color: transparent; }
.bento__item--accent .bento__icon, .bento__item--accent h3 { margin: 0; }
.bento__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(61,149,255,.18); color: var(--blue-400); margin-bottom: 18px; transition: transform .6s var(--spring), background .3s, color .3s; }
.bento__item--accent .bento__icon, .bento__item--hero .bento__icon { background: rgba(255,255,255,.18); color: var(--white); }
.bento__icon .i { width: 26px; height: 26px; }
.bento__item h3 { color: var(--white); font-size: 1.25rem; }
.bento__item p { color: var(--muted-light); margin: 0; }
.bento__item--accent p, .bento__item--hero p { color: #e1e9f6; }
.bento__item:hover { transform: translateY(-8px); border-color: rgba(61,149,255,.55); }
.bento__item:hover .bento__icon { transform: rotateY(180deg); background: var(--white); color: var(--blue-600); }

/* ---------- Vision / Mission / Values ---------- */
.vision__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.vision__sticky { position: sticky; top: 120px; }
.vision__sticky > p { color: var(--muted); }
.vision__img { margin: 26px 0 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg); }
.vision__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.vision__img:hover img { transform: scale(1.07); }
.vision__cards { display: grid; gap: 22px; }
.vm-card { position: relative; padding: clamp(26px, 3vw, 38px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: transform .45s var(--spring), box-shadow .45s; }
.vm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.vm-card--vision { background: var(--grad); border: 0; color: var(--white); overflow: hidden; }
.vm-card--vision::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(255,255,255,.1); transition: transform .8s var(--ease); }
.vm-card--vision:hover::after { transform: scale(1.3) rotate(45deg); }
.vm-card--vision h3 { color: var(--white); }
.vm-card--vision p { position: relative; z-index: 1; font: 600 1.2rem/1.55 var(--font-head); margin: 0; }
.vm-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--navy-900); color: var(--blue-400); margin-bottom: 18px; transition: transform .5s var(--spring); }
.vm-card--vision .vm-card__icon { background: rgba(255,255,255,.18); color: var(--white); }
.vm-card:hover .vm-card__icon { transform: rotate(-12deg) scale(1.08); }
.vm-card__icon .i { width: 26px; height: 26px; }
.vm-card h3 { font-size: 1.45rem; }
.mission { counter-reset: m; display: grid; gap: 12px; }
.mission li { counter-increment: m; position: relative; display: flex; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); color: var(--muted); transition: transform .35s var(--spring), border-color .3s, box-shadow .3s; }
.mission li::before { content: counter(m, decimal-leading-zero); flex: none; font: 900 1rem/1.6 var(--font-head); color: var(--blue-600); }
.mission li:hover { transform: translateX(8px); border-color: var(--blue-400); box-shadow: var(--shadow-sm); }

.values { margin-top: clamp(72px, 9vw, 110px); }
.panels { display: flex; gap: 14px; height: 340px; }
.panel {
  position: relative; flex: 1; min-width: 0; overflow: hidden; cursor: pointer;
  padding: 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: flex .7s var(--ease), background .5s, color .5s, box-shadow .5s;
}
.panel h3 { font-size: 1.05rem; margin: 0; overflow-wrap: anywhere; hyphens: auto; transition: color .4s, font-size .4s; }
.panel p { max-height: 0; opacity: 0; margin: 0; color: #d3dbe8; transform: translateY(12px); transition: max-height .6s var(--ease), opacity .4s, transform .5s var(--ease), margin .4s; }
.panel__icon { position: absolute; top: 24px; left: 24px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: var(--white); box-shadow: var(--shadow-blue); transition: transform .5s var(--spring); }
.panel__icon .i { width: 26px; height: 26px; }
.panel__no { position: absolute; top: 22px; right: 22px; font: 900 2.4rem/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px var(--line); }
.panel.is-open { flex: 3.2; background: var(--grad-dark); border-color: transparent; box-shadow: var(--shadow-lg); }
.panel.is-open h3 { color: var(--white); font-size: 1.5rem; }
.panel.is-open p { max-height: 160px; opacity: 1; transform: none; margin-top: 10px; transition-delay: .2s; }
.panel.is-open .panel__icon { transform: rotate(-10deg) scale(1.08); }
.panel.is-open .panel__no { -webkit-text-stroke-color: rgba(255,255,255,.25); }

/* ---------- Leadership ---------- */
.leadership { background: var(--paper); }
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.leader {
  position: relative; padding: 34px; border-radius: var(--r-lg); background: var(--white);
  border: 2px solid transparent;
  background-image: linear-gradient(var(--white), var(--white)), linear-gradient(120deg, var(--line), var(--line));
  background-origin: border-box; background-clip: padding-box, border-box;
  transition: transform .5s var(--spring), box-shadow .5s;
}
.leader:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); background-image: linear-gradient(var(--white), var(--white)), linear-gradient(120deg, var(--blue-600), var(--cyan), var(--blue-600)); background-size: 100% 100%, 200% 200%; animation: borderFlow 3s linear infinite; }
.leader__top { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.leader__avatar { flex: none; display: grid; place-items: center; width: 86px; height: 86px; border-radius: 24px; background: var(--grad-dark); color: var(--white); font: 900 1.8rem/1 var(--font-head); box-shadow: inset 0 0 0 3px rgba(61,149,255,.5); transition: transform .5s var(--spring), border-radius .5s, background .5s; }
.leader:hover .leader__avatar { transform: rotate(-8deg) scale(1.06); border-radius: 50%; background: var(--grad); }
.leader h3 { font-size: 1.45rem; margin-bottom: 6px; }
.leader__role { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(11,107,234,.1); color: var(--blue-600); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.leader__short { font-weight: 600; color: var(--navy-900); }
.leader p:last-child { color: var(--muted); margin: 0; }
.leaders__note { text-align: center; max-width: 680px; margin: 40px auto 0; color: var(--muted); font-size: 1.06rem; }

/* ---------- Commitment ---------- */
.commitment { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 100px) 0; background: var(--grad); color: var(--white); }
.commitment__shapes span { position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); animation: drift 14s ease-in-out infinite; }
.commitment__shapes span:nth-child(1) { width: 380px; height: 380px; left: -120px; top: -160px; }
.commitment__shapes span:nth-child(2) { width: 220px; height: 220px; right: 8%; bottom: -100px; animation-delay: -4s; border-style: dashed; }
.commitment__shapes span:nth-child(3) { width: 90px; height: 90px; left: 45%; top: 14%; background: rgba(255,255,255,.08); border: 0; animation-delay: -8s; }
.commitment__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.commitment__text p { font-size: 1.1rem; color: #eef4ff; }
.commitment__card { padding: clamp(28px, 3.4vw, 42px); border-radius: var(--r-lg); background: var(--navy-900); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transition: transform .5s var(--spring); }
.commitment__card:hover { transform: translateY(-8px) rotate(-.6deg); }
.commitment__card h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
.commitment__card p { color: var(--muted-light); }
.commitment__phone { display: flex; align-items: center; gap: 12px; font: 800 1.2rem/1.2 var(--font-head); color: var(--white); margin: 6px 0 22px; transition: color .3s; }
.commitment__phone span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(61,149,255,.2); color: var(--blue-400); animation: ring 3s ease-in-out infinite; }
.commitment__phone:hover { color: var(--blue-400); }
.commitment__sig { margin: 22px 0 0; font-weight: 700; color: var(--white) !important; font-size: .92rem; }

/* ---------- Gallery ---------- */
.gallery__hint { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .95rem; margin: 0; }
.gallery__hint .i { color: var(--blue-600); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -18px 0 40px; }
.filters button { padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: .92rem; background: var(--paper); border: 1px solid var(--line); color: var(--navy-900); transition: all .35s var(--spring); }
.filters button:hover { border-color: var(--blue-400); color: var(--blue-600); transform: translateY(-3px); }
.filters button.is-active { background: var(--grad); color: var(--white); border-color: transparent; box-shadow: var(--shadow-blue); }

.masonry { columns: 3 300px; column-gap: 18px; }
.g-card { break-inside: avoid; margin: 0 0 18px; border-radius: var(--r); overflow: hidden; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.g-card.is-hidden { display: none; }
.g-card.is-entering { animation: popIn .55s var(--spring) both; }
.g-card__btn { position: relative; display: block; width: 100%; cursor: zoom-in; border-radius: inherit; overflow: hidden; }
.g-card img { width: 100%; height: auto; transition: transform .9s var(--ease), filter .6s; }
.g-card__btn::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(3,15,38,.9) 0%, rgba(6,26,63,.15) 55%, rgba(11,107,234,.2) 100%); opacity: 0; transition: opacity .5s; }
.g-card figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; text-align: left; color: var(--white); font: 800 1.12rem/1.25 var(--font-head); transform: translateY(20px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.g-card figcaption span { display: block; font: 700 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-400); margin-bottom: 6px; }
.g-card__zoom { position: absolute; top: 16px; right: 16px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--blue-600); transform: scale(0) rotate(-90deg); transition: transform .5s var(--spring); }
.g-card__btn:hover img, .g-card__btn:focus-visible img { transform: scale(1.08); filter: saturate(1.15); }
.g-card__btn:hover::before, .g-card__btn:focus-visible::before { opacity: 1; }
.g-card__btn:hover figcaption, .g-card__btn:focus-visible figcaption { transform: none; opacity: 1; }
.g-card__btn:hover .g-card__zoom, .g-card__btn:focus-visible .g-card__zoom { transform: scale(1) rotate(0); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-rows: auto 1fr auto; background: rgba(3,10,26,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .35s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); }
.lightbox__count { font: 700 .95rem/1 var(--font-body); color: var(--white); padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.1); letter-spacing: .06em; }
.lightbox__btn, .lightbox__nav { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.2); transition: background .3s, transform .35s var(--spring); }
.lightbox__btn:hover { background: var(--white); color: var(--navy-900); transform: rotate(90deg); }
.lightbox__btn .i, .lightbox__nav .i { width: 24px; height: 24px; }
.lightbox__nav { position: absolute; top: 50%; z-index: 2; margin-top: -26px; }
.lightbox__nav--prev { left: var(--gutter); }
.lightbox__nav--next { right: var(--gutter); }
.lightbox__nav:hover { background: var(--blue-600); border-color: var(--blue-600); transform: scale(1.12); }
.lightbox__stage { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 90px; min-height: 0; touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 260px); max-height: calc(100svh - 260px); width: auto; height: auto; border-radius: var(--r); box-shadow: 0 40px 80px -20px rgba(0,0,0,.7); transition: transform .45s var(--ease), opacity .3s; user-select: none; -webkit-user-drag: none; }
.lightbox.is-open .lightbox__stage img { animation: zoomIn .5s var(--spring); }
.lightbox__stage img.is-changing { opacity: 0; transform: scale(.96); }
.lightbox__stage figcaption { margin-top: 16px; text-align: center; color: var(--white); }
.lightbox__stage figcaption span { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-400); margin-bottom: 4px; }
.lightbox__stage figcaption strong { font: 800 1.2rem/1.3 var(--font-head); }
.lightbox__thumbs { display: flex; gap: 10px; justify-content: center; padding: 16px var(--gutter) 22px; overflow-x: auto; scrollbar-width: none; }
.lightbox__thumbs::-webkit-scrollbar { display: none; }
.lightbox__thumbs button { flex: none; width: 72px; height: 52px; border-radius: 10px; overflow: hidden; opacity: .45; border: 2px solid transparent; transition: opacity .3s, border-color .3s, transform .3s var(--spring); }
.lightbox__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumbs button:hover { opacity: .85; transform: translateY(-3px); }
.lightbox__thumbs button.is-active { opacity: 1; border-color: var(--blue-400); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.faq__side { position: sticky; top: 120px; }
.faq__side > p { color: var(--muted); }
.faq__help { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); margin: 24px 0; transition: transform .4s var(--spring), box-shadow .4s; }
.faq__help:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.faq__help small { display: block; color: var(--muted); font-weight: 600; }
.faq__help a { font: 800 1.15rem/1.2 var(--font-head); color: var(--navy-900); }
.faq__help a:hover { color: var(--blue-600); }
.faq__help-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--grad); color: var(--white); animation: ring 3s ease-in-out infinite; }
.faq__switch { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.faq__switch button { padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--muted); transition: background .35s, color .35s; }
.faq__switch button:hover { color: var(--blue-600); }
.faq__switch button.is-active { background: var(--grad); color: var(--white); box-shadow: var(--shadow-blue); }
.acc-group { display: none; }
.acc-group.is-active { display: grid; gap: 12px; animation: panelIn .5s var(--ease); }
.acc { border-radius: var(--r); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.acc:hover { border-color: var(--blue-400); }
.acc.is-open { border-color: var(--blue-400); box-shadow: var(--shadow); }
.acc__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 22px; text-align: left; font: 700 1.03rem/1.4 var(--font-head); color: var(--navy-900); transition: color .3s; }
.acc__q:hover { color: var(--blue-600); }
.acc__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); color: var(--navy-900); transition: transform .45s var(--spring), background .3s, color .3s; }
.acc.is-open .acc__icon { transform: rotate(135deg); background: var(--grad); color: var(--white); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.acc__a a { color: var(--blue-600); font-weight: 600; border-bottom: 1px dashed currentColor; }

/* ---------- Quote banner ---------- */
.quote { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 10vw, 130px) 0; color: var(--white); }
.quote__bg { position: absolute; left: 0; top: -15%; z-index: -2; width: 100%; height: 130%; object-fit: cover; }
.quote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(3,15,38,.95) 0%, rgba(6,26,63,.82) 55%, rgba(11,107,234,.55) 100%); }
.quote__inner { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
.quote h2 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
.quote p { color: #d3dbe8; max-width: 60ch; }
.quote__actions { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__sub { font-size: 1.25rem; margin: 26px 0 16px; }
.c-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 14px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--spring), box-shadow .45s, border-color .3s; }
.c-card__icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: var(--white); transition: transform .5s var(--spring); }
.c-card__icon .i { width: 24px; height: 24px; }
.c-card small { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.c-card strong { color: var(--navy-900); line-height: 1.4; }
.c-card > span:nth-child(2) { flex: 1; }
.c-card__go { color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.c-card--wa .c-card__icon { background: var(--wa); }
.c-card--wa strong { font-weight: 600; font-size: .96rem; }
.c-card:hover { transform: translateX(8px); box-shadow: var(--shadow); border-color: var(--blue-400); }
.c-card--wa:hover { border-color: var(--wa); }
.c-card:hover .c-card__icon { transform: rotate(-12deg) scale(1.08); }
.c-card:hover .c-card__go { transform: translateX(4px); color: var(--blue-600); }
.map { position: relative; margin-top: 20px; border-radius: var(--r-lg); overflow: hidden; height: 240px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); transition: filter .4s; }
.map:hover iframe { filter: none; }
.map__tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--navy-900); color: var(--white); font-size: .86rem; font-weight: 700; box-shadow: var(--shadow); pointer-events: none; }
.map__tag .i { color: var(--blue-400); }

.form { position: relative; padding: clamp(26px, 4vw, 42px); border-radius: var(--r-lg); background: var(--grad-dark); color: var(--white); box-shadow: var(--shadow-lg); overflow: hidden; }
.form::before { content: ""; position: absolute; right: -100px; top: -100px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(61,149,255,.4), transparent 70%); pointer-events: none; }
.form__head { position: relative; margin-bottom: 24px; }
.form__head h3 { color: var(--white); font-size: 1.7rem; margin-bottom: 6px; }
.form__head p { color: var(--muted-light); margin: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fl { position: relative; margin-bottom: 16px; }
.fl input, .fl select, .fl textarea {
  width: 100%; padding: 24px 16px 10px; border-radius: 14px; appearance: none;
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.14); color: var(--white);
  font: 500 1rem/1.4 var(--font-body); transition: border-color .3s, background .3s, box-shadow .3s;
}
.fl textarea { resize: vertical; min-height: 120px; }
.fl select option { color: var(--navy-900); background: var(--white); }
.fl label { position: absolute; left: 17px; top: 17px; color: var(--muted-light); font-size: .98rem; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label,
.fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label,
.fl select:focus + label, .fl select:valid + label { transform: translateY(-10px) scale(.76); color: var(--blue-400); font-weight: 700; }
.fl input:hover, .fl select:hover, .fl textarea:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.09); }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: none; border-color: var(--blue-400); background: rgba(255,255,255,.1); box-shadow: 0 0 0 4px rgba(61,149,255,.2); }
.fl.is-invalid input, .fl.is-invalid select { border-color: #ff6b6b; animation: shake .4s; }
.fl__chev { position: absolute; right: 16px; top: 50%; margin-top: -10px; width: 20px; height: 20px; color: var(--blue-400); pointer-events: none; }
.form .btn { margin-top: 4px; }
.form__hint { text-align: center; margin: 16px 0 0; color: var(--muted-light); font-size: .9rem; }
.form__hint a { color: var(--blue-400); font-weight: 700; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--navy-950); color: var(--muted-light); padding-top: clamp(70px, 8vw, 100px); margin-top: 0; }
.footer__wave { position: absolute; top: -1px; left: 0; width: 100%; height: 60px; transform: scaleY(-1); }
.footer__wave path { fill: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.25fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { display: inline-block; padding: 14px 16px; border-radius: var(--r); background: var(--white); transition: box-shadow .45s; }
.footer__logo img { height: 86px; width: auto; }
.footer__logo:hover { box-shadow: 0 0 0 3px var(--blue-400), 0 18px 34px -12px rgba(61,149,255,.55); }
.footer__brand p { margin: 20px 0; font-size: .94rem; }
.footer__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__chips li { padding: 7px 12px; border-radius: 10px; font-size: .84rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: transform .35s var(--spring), border-color .3s; }
.footer__chips li:hover { transform: translateY(-4px); border-color: var(--blue-400); }
.footer__chips strong { color: var(--blue-400); }
.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--grad); transition: width .45s var(--ease); }
.footer__col:hover h4::after { width: 70px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a, .footer__col span { display: inline-flex; align-items: center; gap: 10px; font-size: .94rem; transition: color .3s, transform .35s var(--ease); }
.footer__col ul a:hover { color: var(--blue-400); transform: translateX(6px); }
.footer__contact .i { color: var(--blue-400); }
.footer__col .btn { margin-top: 22px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 22px; padding-bottom: 22px; font-size: .88rem; }
.footer__bottom p { margin: 0; }
.footer__bottom p:last-child { color: var(--blue-400); font-weight: 600; }

/* ---------- Floating actions ---------- */
.fab { position: fixed; left: 20px; bottom: 20px; z-index: 900; display: grid; gap: 12px; }
.fab__btn { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--white); box-shadow: 0 12px 26px -8px rgba(0,0,0,.45); transition: transform .4s var(--spring); }
.fab__btn .i { width: 26px; height: 26px; }
.fab__btn--wa { background: var(--wa); animation: pulseWa 2.4s infinite; }
.fab__btn--call { background: var(--grad); }
.fab__btn:hover { transform: scale(1.12) rotate(-8deg); }
.fab__btn::after { content: attr(data-tip); position: absolute; left: calc(100% + 12px); top: 50%; padding: 8px 12px; border-radius: 10px; background: var(--navy-900); color: var(--white); font-size: .84rem; font-weight: 600; white-space: nowrap; opacity: 0; transform: translate(-8px, -50%); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.fab__btn:hover::after { opacity: 1; transform: translate(0, -50%); }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy-900); color: var(--white); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8); transition: opacity .4s, visibility .4s, transform .45s var(--spring), background .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-600); }
.to-top:hover > .i { animation: bob .8s ease-in-out infinite; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 3; }
.to-top__ring circle:first-child { stroke: rgba(255,255,255,.12); }
.to-top__ring circle:last-child { stroke: var(--cyan); stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: 132; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 3000; max-width: calc(100% - 32px); padding: 14px 22px; border-radius: 14px; background: var(--navy-900); color: var(--white); font-weight: 600; box-shadow: var(--shadow-lg); border-left: 4px solid var(--cyan); transform: translate(-50%, 150%); opacity: 0; transition: transform .5s var(--spring), opacity .4s; }
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Tilt (JS sets transform) ---------- */
.tilt { transition: transform .5s var(--ease); transform-style: preserve-3d; will-change: transform; }

/* ---------- Scroll reveal ---------- */
.js [data-anim] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-anim="fade-up"] { transform: translateY(46px); }
.js [data-anim="fade-left"] { transform: translateX(60px); }
.js [data-anim="fade-right"] { transform: translateX(-60px); }
.js [data-anim="zoom"] { transform: scale(.88); }
.js [data-anim].is-in { opacity: 1; transform: none; }
.js [data-delay="1"] { transition-delay: .1s; }
.js [data-delay="2"] { transition-delay: .2s; }
.js [data-delay="3"] { transition-delay: .3s; }
.js [data-delay="4"] { transition-delay: .4s; }
/* elements that also animate on hover keep a snappy hover transition once revealed */
.js .svc-card.is-in, .js .flip.is-in, .js .bento__item.is-in, .js .leader.is-in { transition: transform .5s var(--spring), box-shadow .5s, border-color .4s, opacity .9s var(--ease); transition-delay: 0s; }
.js .ptl__item.is-in { transition: background .35s, box-shadow .35s, transform .45s var(--spring), opacity .9s var(--ease); transition-delay: 0s; }

/* ---------- Keyframes ---------- */
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34,198,240,.7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(34,198,240,0); } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .65; } }
@keyframes loadbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(18px); opacity: 0; } 100% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.85) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: scale(1); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(30px, -24px) rotate(30deg); } }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } 80% { transform: rotate(12deg); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(6deg); } }
@keyframes borderFlow { to { background-position: 0 0, 200% 0; } }
@keyframes pulseWa { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

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

/* ---------- Responsive ---------- */
@media (max-width: 1300px) {
  .header__phone { display: none; }
}

@media (max-width: 1120px) {
  .header__cta { display: none; }
  .header__bar .nav__list a { padding: 10px 9px; font-size: .9rem; }
}

@media (max-width: 1180px) {
  .nav__list a { padding: 10px 11px; font-size: .92rem; }
  .flip-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1000px) {
  /* side-slide reveals push past the screen edge on narrow layouts: rise from below instead */
  .js [data-anim="fade-left"], .js [data-anim="fade-right"] { transform: translateY(46px); }
  .marquee { transform: rotate(-1deg); }
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 520px; }
  .section-head--split, .about__grid, .svc-intro, .machinery__top, .vision__grid, .faq__grid,
  .contact__grid, .commitment__inner, .quote__inner { grid-template-columns: 1fr; }
  .vision__sticky, .faq__side { position: static; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .tabs { grid-template-columns: 1fr; }
  .tabs__list { position: static; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__list button { flex: none; scroll-snap-align: start; white-space: nowrap; }
  .tabs__list button:hover { transform: none; }
  .tab-panel { grid-template-columns: 1fr; }
  .tab-panel__media { min-height: 0; aspect-ratio: 16 / 9; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none !important; min-height: 92px; padding-left: 96px; justify-content: center; }
  .panel__icon { top: 50%; margin-top: -27px; }
  .panel.is-open .panel__icon { margin-top: 0; top: 24px; }
  .panel.is-open { padding-top: 26px; }
  .panel p { max-height: 0; }
  .panel.is-open p { max-height: 220px; }
  .quote__actions { flex-direction: row; flex-wrap: wrap; }
  .about__collage { max-width: 560px; }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }
  body { font-size: 16px; }
  .header { top: 10px; }
  .header__bar { padding: 0 10px 0 16px; border-radius: 18px; }
  .brand img { height: 50px; }
  .header.is-scrolled .header__bar { height: 64px; }
  .hero { padding: 120px 0 100px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .hero .tag { font-size: .68rem; letter-spacing: .08em; }
  .svc-cards, .bento, .flip-grid, .form__row, .ticks--2col, .leaders { grid-template-columns: 1fr; }
  .flip-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .flip, .flip-cta a { height: 160px; }
  .flip__front, .flip__back, .flip-cta a { padding: 18px; }
  .flip__icon { top: 16px; left: 18px; width: 46px; height: 46px; }
  .flip__no { top: 16px; right: 16px; font-size: 1.4rem; }
  .flip__front h3, .flip__back h3 { font-size: 1rem; }
  .bento__item--hero { grid-column: auto; grid-row: auto; min-height: 300px; }
  .bento__item--accent { display: block; }
  .pfilters { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px 2px; scrollbar-width: none; }
  .pfilters::-webkit-scrollbar { display: none; }
  .pfilters button { flex: none; }
  .ptl__item { grid-template-columns: 1fr; gap: 6px; padding: 22px 16px 22px 28px; }
  .ptl__item::before { top: 27px; }
  .ptl__year { font-size: 1.35rem; }
  .ptl__item:hover { transform: none; }
  .bento__item--accent .bento__icon { margin-bottom: 18px; }
  .bento__item--accent h3 { margin-bottom: .5em; }
  .svc-card { min-height: 0; }
  .numbers__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .num-card { padding: 18px 16px; }
  .num-card > strong { font-size: 1.9rem; }
  .timeline__line { left: 18px; }
  .tl-item, .tl-item:nth-child(odd) { width: 100%; margin-left: 0; padding: 0 0 0 52px; }
  .tl-item__dot, .tl-item:nth-child(odd) .tl-item__dot { left: 8px; right: auto; }
  .about__collage { padding: 0 24px 50px 0; }
  .badge-spin { width: 120px; height: 120px; left: -6px; bottom: 16px; }
  .badge-spin text { font-size: 15px; }
  .badge-spin__core { width: 60px; height: 60px; }
  .badge-spin__core strong { font-size: 1.2rem; }
  .serve-strip { flex-wrap: wrap; }
  .serve-strip .btn { width: 100%; }
  .masonry { columns: 2 150px; column-gap: 12px; }
  .g-card { margin-bottom: 12px; }
  .g-card figcaption { opacity: 1; transform: none; left: 12px; right: 12px; bottom: 10px; font-size: .9rem; }
  .g-card figcaption span { font-size: .62rem; }
  .g-card__btn::before { opacity: 1; background: linear-gradient(0deg, rgba(3,15,38,.85), transparent 55%); }
  .g-card__zoom { transform: scale(.8); width: 34px; height: 34px; top: 10px; right: 10px; }
  .lightbox__stage { padding: 0 12px; }
  .lightbox__nav { top: auto; bottom: 96px; margin: 0; width: 46px; height: 46px; }
  .lightbox__thumbs button { width: 56px; height: 42px; }
  .faq__switch { display: flex; width: 100%; }
  .faq__switch button { flex: 1; padding: 10px 8px; font-size: .84rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .fab { left: auto; right: 14px; bottom: 76px; gap: 10px; }
  .fab__btn, .to-top { width: 50px; height: 50px; }
  .fab__btn .i { width: 23px; height: 23px; }
  .to-top { right: 14px; bottom: 14px; }
  .fab__btn::after { display: none; }
  .marquee li { font-size: .92rem; padding: 0 20px; }
  .marquee li::after { margin-left: 20px; }
}

@media (hover: none) {
  .svc-card__bg { opacity: .14; transform: none; }
}
