/* ==========================================================================
   SMARTECH CONSTRUCTION LIMITED — Website stylesheet
   Brand: red #E31E2D on deep charcoal, diagonal-cut motif from company profile
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --red: #e31e2d;
  --red-600: #c8172a;
  --red-700: #a11020;
  --red-soft: rgba(227, 30, 45, 0.12);

  --ink: #0a0c0f;
  --ink-2: #101419;
  --ink-3: #171c23;
  --ink-4: #222831;

  --sand: #f6f4f1;
  --sand-2: #ece8e3;
  --white: #ffffff;

  --text: #e9ecf1;
  --text-dim: #a2acba;
  --text-ink: #14181e;
  --text-ink-dim: #5a6472;

  --line: rgba(255, 255, 255, 0.10);
  --line-ink: rgba(10, 12, 15, 0.10);

  --font-display: "Sora", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;

  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --radius-lg: 10px;

  --header-h: 84px;

  --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.18);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --shadow-red: 0 16px 40px rgba(227, 30, 45, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; }

::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Scrollbar (WebKit) */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--ink-2); }
::-webkit-scrollbar-thumb { background: #2c333d; border-radius: 99px; border: 3px solid var(--ink-2); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.h-xl { font-size: clamp(2.6rem, 7.2vw, 5.4rem); }
.h-lg { font-size: clamp(2.1rem, 4.8vw, 3.6rem); }
.h-md { font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
.h-sm { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }

/* Profile-style split heading: light word + bold word */
.split-title { text-transform: uppercase; }
.split-title .thin { font-weight: 300; display: block; opacity: 0.92; }
.split-title .bold { font-weight: 800; display: block; }
.split-title.inline .thin,
.split-title.inline .bold { display: inline; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
  flex: none;
}
.eyebrow.center::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
  flex: none;
}

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  color: var(--text-dim);
  line-height: 1.85;
}

.muted { color: var(--text-dim); }
.rule { width: 68px; height: 3px; background: var(--red); border-radius: 2px; margin: 22px 0; }
.rule.center { margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap-wide { max-width: 1560px; }

.section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.section-sm { padding: clamp(56px, 6vw, 84px) 0; }

.bg-ink { background: var(--ink); }
.bg-ink-2 { background: var(--ink-2); }
.bg-sand { background: var(--sand); color: var(--text-ink); }
.bg-sand .lead,
.bg-sand .muted { color: var(--text-ink-dim); }
.bg-sand .split-title { color: var(--text-ink); }

.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 62px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: clamp(20px, 2.6vw, 34px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* Blueprint grid texture used behind dark sections */
.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}

/* Diagonal red wedge — the signature shape from the printed profile */
.wedge {
  position: absolute;
  width: 42vw;
  aspect-ratio: 1;
  background: var(--red);
  pointer-events: none;
  z-index: 0;
}
.wedge.tr { top: 0; right: 0; clip-path: polygon(100% 0, 100% 100%, 0 0); }
.wedge.bl { bottom: 0; left: 0; clip-path: polygon(0 100%, 100% 100%, 0 0); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.3s ease;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-red); color: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(-1px); }
.btn svg { flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.btn-outline::before { background: var(--red); }
.btn-outline:hover { color: #fff; border-color: var(--red); box-shadow: var(--shadow-red); }

.btn-dark {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
}
.btn-dark::before { background: var(--red); }
.btn-dark:hover { color: #fff; }

.btn-sm { padding: 12px 22px; font-size: 0.72rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Text link with animated underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  position: relative;
  padding-bottom: 4px;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow svg { transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   6. Preloader
   -------------------------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-content: center;
  gap: 22px;
  justify-items: center;
  background: var(--ink);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.done { opacity: 0; visibility: hidden; }
#preloader .pl-bar {
  width: min(220px, 50vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
#preloader .pl-bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--red);
  animation: plslide 1.1s var(--ease-io) infinite;
}
@keyframes plslide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* --------------------------------------------------------------------------
   7. Logo
   -------------------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-mark polygon { transition: transform 0.5s var(--ease); transform-origin: center; }
.logo:hover .logo-mark polygon:nth-child(1) { transform: translateX(3px); }
.logo:hover .logo-mark polygon:nth-child(3) { transform: translateX(-3px); }
.logo-text { line-height: 1; }
.logo-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
}
.logo-sub {
  display: block;
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.31em;
  color: var(--red);
  margin-top: 3px;
}
.bg-sand .logo-name { color: var(--text-ink); }

/* --------------------------------------------------------------------------
   8. Header & navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-dim);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 42px;
}
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color 0.25s ease; }
.topbar a:hover { color: var(--red); }
.topbar-l { display: flex; gap: 26px; }
.topbar svg { color: var(--red); flex: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(10, 12, 15, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s ease, height 0.4s var(--ease);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}
.site-header.scrolled { background: rgba(10, 12, 15, 0.97); box-shadow: 0 10px 34px rgba(0, 0, 0, 0.4); }
.site-header.scrolled .wrap { height: 68px; }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  display: block;
  padding: 10px 16px;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.28s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.42s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a.active { color: #fff; }
.nav a.active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  flex: none;
}
.burger span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.4s var(--ease), opacity 0.25s ease, width 0.4s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; width: 14px; }
.burger span:nth-child(3) { top: 28px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 20px; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(380px, 88vw);
  background: var(--ink-2);
  border-left: 1px solid var(--line);
  z-index: 950;
  padding: 26px var(--gut) 40px;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer.open { transform: translateX(0); }
.drawer-top { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.drawer-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-content: center; }
.drawer a.d-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(24px);
  transition: color 0.25s ease;
}
.drawer.open a.d-link { animation: dIn 0.5s var(--ease) forwards; }
.drawer.open a.d-link:nth-child(1) { animation-delay: 0.08s; }
.drawer.open a.d-link:nth-child(2) { animation-delay: 0.14s; }
.drawer.open a.d-link:nth-child(3) { animation-delay: 0.2s; }
.drawer.open a.d-link:nth-child(4) { animation-delay: 0.26s; }
.drawer.open a.d-link:nth-child(5) { animation-delay: 0.32s; }
.drawer.open a.d-link:nth-child(6) { animation-delay: 0.38s; }
@keyframes dIn { to { opacity: 1; transform: translateX(0); } }
.drawer a.d-link:hover { color: var(--red); }
.drawer a.d-link span { color: var(--red); font-size: 0.7rem; font-family: var(--font-body); letter-spacing: 0.1em; }
.drawer .drawer-foot { margin-top: auto; padding-top: 32px; font-size: 0.85rem; color: var(--text-dim); display: grid; gap: 12px; }
.drawer .drawer-foot a { display: flex; gap: 10px; align-items: center; }
.drawer .drawer-foot svg { color: var(--red); flex: none; }

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 940;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.scrim.on { opacity: 1; visibility: visible; }

/* Scroll progress bar */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--red), #ff6b57);
  z-index: 999;
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(600px, 92vh, 940px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide.on { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}
.hero-slide.on img { animation: kenburns 9s linear forwards; }
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(-1.4%, -1.2%, 0); }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 12, 15, 0.95) 0%, rgba(10, 12, 15, 0.82) 38%, rgba(10, 12, 15, 0.42) 70%, rgba(10, 12, 15, 0.68) 100%),
    linear-gradient(to top, rgba(10, 12, 15, 0.95), transparent 45%);
}

.hero-inner { position: relative; z-index: 2; width: 100%; padding: calc(var(--header-h) - 20px) 0 40px; }
.hero-content { max-width: 830px; }

.hero h1 {
  font-size: clamp(2.5rem, 6.6vw, 5rem);
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero h1 .thin { font-weight: 300; }
.hero h1 .accent { color: var(--red); }

/* word-by-word reveal */
.reveal-words .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.reveal-words .w > i {
  display: inline-block;
  font-style: inherit;
  transform: translateY(105%);
  animation: wordUp 0.9s var(--ease) forwards;
}
@keyframes wordUp { to { transform: translateY(0); } }

.hero .lead { max-width: 620px; margin-bottom: 34px; color: #cdd5e0; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #dfe5ee;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 99px;
  backdrop-filter: blur(6px);
}
.hero-badges i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(227, 30, 45, 0.6);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(227, 30, 45, 0.6); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(227, 30, 45, 0); }
}

/* Hero stat strip along the bottom */
.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(10, 12, 15, 0.55);
  backdrop-filter: blur(10px);
}
.hero-stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stats .hs {
  padding: 26px 26px 26px 0;
  border-right: 1px solid var(--line);
}
.hero-stats .hs:last-child { border-right: 0; }
.hero-stats .hs:not(:first-child) { padding-left: 26px; }
.hero-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stats b .suf { color: var(--red); }
.hero-stats small {
  display: block;
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.scroll-cue i {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  padding: clamp(96px, 13vw, 168px) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
  background: var(--ink-2);
}
.page-hero .ph-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; transform: scale(1.05); }
.page-hero .ph-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(10, 12, 15, 0.96) 12%, rgba(10, 12, 15, 0.6) 65%, rgba(10, 12, 15, 0.9) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { text-transform: uppercase; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.crumbs a:hover { color: var(--red); }
.crumbs svg { color: var(--red); }

/* --------------------------------------------------------------------------
   10. Marquee
   -------------------------------------------------------------------------- */
.marquee {
  background: var(--red);
  overflow: hidden;
  padding: 16px 0;
  border-block: 1px solid rgba(0, 0, 0, 0.12);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marq 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.5vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  transform: rotate(45deg);
  flex: none;
}
@keyframes marq { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   11. Media frames & collages
   -------------------------------------------------------------------------- */
.frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-3);
}
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.frame:hover img { transform: scale(1.05); }
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 12, 15, 0.55), transparent 55%);
  pointer-events: none;
}

.collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}
.collage .frame:nth-child(1) { grid-column: 1 / 2; aspect-ratio: 3 / 4; }
.collage .frame:nth-child(2) { grid-column: 2 / 3; aspect-ratio: 3 / 4; margin-top: 46px; }
.collage .frame:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 8; }

/* Floating badge card */
.float-card {
  position: absolute;
  right: -14px;
  bottom: 62px;
  z-index: 3;
  background: var(--red);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  max-width: 220px;
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}
.float-card small {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

/* Two-column feature layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.split.wide-left { grid-template-columns: 1.08fr 0.92fr; }

/* --------------------------------------------------------------------------
   12. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  padding: clamp(26px, 3vw, 38px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s ease, background 0.4s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.card:hover { transform: translateY(-8px); border-color: rgba(227, 30, 45, 0.4); background: var(--ink-3); }
.card:hover::before { transform: scaleX(1); }

.bg-sand .card { background: #fff; border-color: var(--line-ink); }
.bg-sand .card:hover { background: #fff; box-shadow: var(--shadow-sm); }

.card-num {
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 4.4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  transition: color 0.45s ease;
}
.bg-sand .card-num { color: rgba(10, 12, 15, 0.05); }
.card:hover .card-num { color: rgba(227, 30, 45, 0.16); }

.card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-content: center;
  border-radius: var(--radius);
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 22px;
  transition: background 0.4s ease, transform 0.5s var(--ease);
}
.card:hover .card-icon { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.06); }
.card h3 { margin-bottom: 12px; font-size: 1.16rem; }
.card p { font-size: 0.94rem; color: var(--text-dim); line-height: 1.8; }
.bg-sand .card p { color: var(--text-ink-dim); }
.card .card-link { margin-top: 20px; display: inline-flex; }

/* Ticked feature list */
.ticks { display: grid; gap: 14px; margin-top: 8px; }
.ticks li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.bg-sand .ticks li { color: var(--text-ink-dim); }
.ticks li svg { flex: none; color: var(--red); margin-top: 4px; }
.ticks.two { grid-template-columns: 1fr 1fr; gap: 14px 28px; }

/* Vision / mission blocks (mirrors the printed profile) */
.vm-block { position: relative; padding-left: 0; }
.vm-tag {
  display: inline-block;
  padding: 11px 24px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.vm-tag em { font-style: normal; font-weight: 400; opacity: 0.9; }
.vm-block p { line-height: 1.9; }

/* Stats band */
.stats-band { position: relative; overflow: hidden; }
.stat { text-align: center; padding: 12px; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.stat b .suf { color: var(--red); }
.stat small {
  display: block;
  margin-top: 12px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.stat .stat-rule { width: 34px; height: 2px; background: var(--red); margin: 16px auto 0; }

/* Process steps */
.steps { position: relative; }
.steps-line {
  position: absolute;
  top: 46px;
  left: 8%;
  right: 8%;
  height: 2px;
  z-index: 0;
}
.steps-line svg { width: 100%; height: 2px; overflow: visible; }
.steps-line path {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 2;
  stroke-dasharray: 10 12;
  fill: none;
}
.steps-line path.run {
  stroke: var(--red);
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
}
.steps-line.in path.run { animation: draw 2.4s var(--ease-io) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.step { position: relative; z-index: 1; text-align: center; }
.step .dot {
  width: 92px;
  height: 92px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: var(--red);
  position: relative;
  transition: transform 0.5s var(--ease), background 0.4s ease, color 0.4s ease;
}
.step .dot::after {
  content: attr(data-step);
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-content: center;
  font-family: var(--font-display);
}
.step:hover .dot { transform: translateY(-6px); background: var(--red); color: #fff; }
.step h3 { font-size: 1.06rem; margin-bottom: 10px; }
.step p { font-size: 0.9rem; color: var(--text-dim); }

/* Divisions (construction vs technology) */
.division {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  padding: clamp(26px, 3.4vw, 42px);
  border: 1px solid var(--line);
  isolation: isolate;
}
.division .dv-bg { position: absolute; inset: 0; z-index: -2; }
.division .dv-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.division::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(10, 12, 15, 0.96) 12%, rgba(10, 12, 15, 0.55) 55%, rgba(10, 12, 15, 0.3));
  transition: background 0.5s ease;
}
.division:hover .dv-bg img { transform: scale(1.07); }
.division:hover::after { background: linear-gradient(to top, rgba(163, 16, 32, 0.9) 6%, rgba(10, 12, 15, 0.72) 60%, rgba(10, 12, 15, 0.35)); }
.division .dv-body { position: relative; }
.division h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.division p { color: #cfd6e0; font-size: 0.96rem; max-width: 46ch; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.division .dv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.division .dv-chips span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 99px;
  backdrop-filter: blur(4px);
}
.division .dv-index {
  position: absolute;
  top: clamp(22px, 3vw, 34px);
  left: clamp(26px, 3.4vw, 42px);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #fff;
  background: var(--red);
  padding: 6px 12px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   13. Gallery
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: clamp(28px, 4vw, 46px);
}
.filters button {
  padding: 11px 22px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 99px;
  transition: color 0.3s ease, background 0.35s ease, border-color 0.3s ease, transform 0.35s var(--ease);
}
.filters button:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }
.filters button.on { background: var(--red); border-color: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.filters button i {
  font-style: normal;
  opacity: 0.6;
  margin-left: 7px;
  font-size: 0.68rem;
}

.gallery {
  columns: 3;
  column-gap: 18px;
}
.g-item {
  position: relative;
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-3);
  cursor: zoom-in;
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.g-item.in { opacity: 1; transform: none; }
.g-item.hide { display: none; }
.g-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.85s var(--ease), filter 0.5s ease;
}
.g-item:hover img { transform: scale(1.06); }
.g-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 46px 20px 20px;
  background: linear-gradient(to top, rgba(10, 12, 15, 0.93), transparent);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s ease;
}
.g-item:hover .g-cap { transform: translateY(0); opacity: 1; }
.g-cap strong { display: block; font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; color: #fff; }
.g-cap span {
  display: inline-block;
  margin-top: 7px;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.g-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: rgba(227, 30, 45, 0.94);
  color: #fff;
  opacity: 0;
  transform: scale(0.7) rotate(-25deg);
  transition: opacity 0.4s ease, transform 0.5s var(--ease);
}
.g-item:hover .g-zoom { opacity: 1; transform: none; }

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 7, 9, 0.96);
  backdrop-filter: blur(8px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.lb.on { opacity: 1; visibility: visible; }
.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gut);
  border-bottom: 1px solid var(--line);
}
.lb-count { font-size: 0.78rem; letter-spacing: 0.16em; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.lb-count b { color: #fff; }
.lb-close, .lb-nav {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-content: center;
  color: #fff;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: var(--red); border-color: var(--red); transform: scale(1.08); }
.lb-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 20px var(--gut);
  min-height: 0;
}
.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
  animation: lbIn 0.5s var(--ease);
}
@keyframes lbIn { from { opacity: 0; transform: scale(0.96); } }
.lb-nav.prev, .lb-nav.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}
.lb-nav.prev { left: 14px; }
.lb-nav.next { right: 14px; }
.lb-nav.prev:hover, .lb-nav.next:hover { transform: translateY(-50%) scale(1.08); }
.lb-foot { padding: 16px var(--gut) 26px; text-align: center; border-top: 1px solid var(--line); }
.lb-foot strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.lb-foot span { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); }

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 0 22px, transparent 22px 44px);
}
.cta-band .wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: clamp(48px, 6vw, 78px);
}
.cta-band h2 { text-transform: uppercase; max-width: 20ch; }
.cta-band p { max-width: 46ch; opacity: 0.94; margin-top: 12px; }
.cta-band .btn { --btn-bg: #fff; --btn-fg: var(--ink); }
.cta-band .btn::before { background: var(--ink); }
.cta-band .btn:hover { color: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3); }
.cta-band .btn-outline { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.55); }
.cta-band .btn-outline::before { background: #fff; }
.cta-band .btn-outline:hover { color: var(--ink); border-color: #fff; }

/* --------------------------------------------------------------------------
   15. Contact
   -------------------------------------------------------------------------- */
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease), border-color 0.35s ease;
}
.contact-card:hover { transform: translateY(-6px); border-color: rgba(227, 30, 45, 0.45); }
.contact-card .cc-icon {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: var(--red);
  color: #fff;
  transition: transform 0.5s var(--ease);
}
.contact-card:hover .cc-icon { transform: rotate(-8deg) scale(1.07); }
.contact-card h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; font-weight: 700; font-family: var(--font-body); }
.contact-card p, .contact-card a { font-size: 0.96rem; color: var(--text); line-height: 1.65; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--red); }

.form {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 17px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.field textarea { resize: vertical; min-height: 148px; }
.field input::placeholder, .field textarea::placeholder { color: #6d7684; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--ink-3);
  box-shadow: 0 0 0 4px rgba(227, 30, 45, 0.12);
}
.field .err { font-size: 0.75rem; color: #ff8a8a; display: none; }
.field.invalid input,
.field.invalid textarea,
.field.invalid select { border-color: #ff5c5c; }
.field.invalid .err { display: block; }

.form-note { font-size: 0.82rem; color: var(--text-dim); grid-column: 1 / -1; }
.form-status {
  grid-column: 1 / -1;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: rgba(227, 30, 45, 0.1);
  border: 1px solid rgba(227, 30, 45, 0.35);
  font-size: 0.9rem;
  display: none;
}
.form-status.on { display: block; animation: wordUp 0.4s var(--ease); }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(1) invert(0.9) contrast(0.86);
  transition: filter 0.5s ease;
  line-height: 0;
}
.map-embed:hover { filter: grayscale(0) invert(0) contrast(1); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 58px;
  width: 100%;
  height: 120px;
  color: rgba(255, 255, 255, 0.028);
  pointer-events: none;
}
.footer-skyline svg { width: 100%; height: 100%; }
.footer-main {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(56px, 7vw, 88px);
}
.footer-main h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
  font-family: var(--font-body);
  position: relative;
  padding-bottom: 14px;
}
.footer-main h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--red);
}
.footer-main p, .footer-main a { font-size: 0.92rem; color: var(--text-dim); line-height: 1.85; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { display: inline-flex; align-items: center; gap: 9px; transition: color 0.28s ease, transform 0.35s var(--ease); }
.footer-links a::before { content: ""; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); flex: none; opacity: 0.7; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.f-contact li { display: flex; gap: 13px; margin-bottom: 16px; align-items: flex-start; }
.f-contact svg { color: var(--red); flex: none; margin-top: 4px; }
.f-contact a:hover { color: #fff; }
.f-brand .logo { margin-bottom: 20px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-content: center;
  color: var(--text-dim);
  transition: background 0.35s ease, color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease);
}
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-4px); }
.footer-bottom {
  position: relative;
  border-top: 1px solid var(--line);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-bottom a:hover { color: var(--red); }

#toTop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 800;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-content: center;
  box-shadow: var(--shadow-red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.45s var(--ease), background 0.3s ease;
}
#toTop.on { opacity: 1; visibility: visible; transform: none; }
#toTop:hover { background: var(--ink); transform: translateY(-4px); }

/* Floating WhatsApp / call button */
.float-call {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 15px;
  border-radius: 99px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), background 0.35s ease;
}
.float-call svg { color: var(--red); flex: none; }
.float-call:hover { transform: translateY(-4px); background: var(--red); }
.float-call:hover svg { color: #fff; }

/* --------------------------------------------------------------------------
   17. Illustrations
   -------------------------------------------------------------------------- */
.illus { width: 100%; height: auto; overflow: visible; }
.illus .dash-move {
  stroke-dasharray: 16 14;
  animation: dashRun 2.4s linear infinite;
}
@keyframes dashRun { to { stroke-dashoffset: -60; } }
.illus .glow { animation: glowPulse 3.2s ease-in-out infinite; transform-origin: center; }
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.08); }
}
.illus .blink { animation: blink 2.6s ease-in-out infinite; }
.illus .blink.d1 { animation-delay: 0.4s; }
.illus .blink.d2 { animation-delay: 0.9s; }
.illus .blink.d3 { animation-delay: 1.4s; }
@keyframes blink {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}
.illus .rise { animation: rise 4.5s ease-in-out infinite; }
.illus .rise.d1 { animation-delay: 0.7s; }
.illus .rise.d2 { animation-delay: 1.5s; }
@keyframes rise {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.illus .spin { animation: spin 16s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Decorative parallax shapes */
.shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.shape.dot-grid {
  width: 180px;
  height: 180px;
  background-image: radial-gradient(var(--red) 1.6px, transparent 1.6px);
  background-size: 18px 18px;
  opacity: 0.24;
}
.shape.ring {
  width: 220px;
  height: 220px;
  border: 1px solid rgba(227, 30, 45, 0.3);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   18. Scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal="up"] { transform: translateY(42px); }
[data-reveal="down"] { transform: translateY(-32px); }
[data-reveal="left"] { transform: translateX(-52px); }
[data-reveal="right"] { transform: translateX(52px); }
[data-reveal="scale"] { transform: scale(0.93); }
[data-reveal="clip"] { clip-path: inset(0 100% 0 0); opacity: 1; }
[data-reveal].in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: block; margin-left: auto; }
  .header-cta .btn { display: none; }
  .topbar-l a:nth-child(3) { display: none; }
  .split { grid-template-columns: 1fr; }
  .split.wide-left { grid-template-columns: 1fr; }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .hs:nth-child(2) { border-right: 0; }
  .hero-stats .hs:nth-child(3) { border-top: 1px solid var(--line); }
  .hero-stats .hs:nth-child(4) { border-top: 1px solid var(--line); }
  .steps-line { display: none; }
  .float-card { right: 10px; bottom: 20px; }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .topbar { display: none; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .ticks.two { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .collage { gap: 12px; }
  .collage .frame:nth-child(2) { margin-top: 24px; }
  .float-card { position: relative; right: auto; bottom: auto; margin-top: 18px; max-width: none; animation: none; }
  .hero { min-height: 88vh; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr; }
  .float-call span { display: none; }
  .float-call { padding: 14px; }
  .lb-nav.prev { left: 6px; }
  .lb-nav.next { right: 6px; }
  .filters button { padding: 9px 16px; font-size: 0.68rem; }
}

@media (max-width: 480px) {
  .hero-stats .wrap { grid-template-columns: 1fr; }
  .hero-stats .hs { border-right: 0; border-top: 1px solid var(--line); padding-left: 0 !important; }
  .hero-stats .hs:first-child { border-top: 0; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
}

/* --------------------------------------------------------------------------
   20. Motion preferences & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .g-item { opacity: 1; transform: none; }
  .hero-slide.on img { animation: none; transform: scale(1.02); }
}

@media print {
  .site-header, .drawer, .scrim, #toTop, .float-call, .marquee, #preloader, .lb { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 20px 0; }
}
