/* ============================================================
   T Monareng Projects (TMP) Construction & Mining Supply
   Palette: black · white · red   |   Dark industrial theme
   Display: Anton   ·   Body: Inter
   ============================================================ */

/* Self-hosted fonts (no external CDN) */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/anton-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  /* Core surfaces */
  --ink:        #0B0B0C;
  --surface:    #141416;
  --surface-2:  #1C1C1F;
  --line:       #2A2A2E;

  /* Brand red */
  --red:        #E11414;
  --red-600:    #C10F0F;
  --red-300:    #FF4B4B;
  --red-tint:   rgba(225, 20, 20, 0.12);

  /* Text */
  --white:      #FFFFFF;
  --bone:       #EDEDEA;
  --muted:      #9A9AA2;

  /* Light section */
  --paper:      #F5F5F3;
  --ink-on-paper: #111113;

  /* System */
  --radius:     14px;
  --radius-sm:  10px;
  --pad:        clamp(1.15rem, 3.5vw, 2.5rem);
  --maxw:       1200px;
  --nav-h:      74px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--red); color: #fff; }

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

/* ---------- Typography helpers ---------- */
.display {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: 0.01em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-300);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
}
.text-red { color: var(--red-300); }
.muted { color: var(--muted); }
.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 60ch; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(2.25rem, 4.5vw, 3.75rem); position: relative; }
.section-head { max-width: 640px; margin-bottom: 2.75rem; }
.section-head h2 { font-size: clamp(1.9rem, 5vw, 3.1rem); color: var(--white); margin-top: 0.9rem; }

.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
  opacity: 0.035; mix-blend-mode: overlay;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.5rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-600); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.35); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  background: #fff; border-bottom: 1px solid #e6e4de;
  transition: box-shadow 0.3s var(--ease);
}
.nav.scrolled { box-shadow: 0 6px 22px rgba(0,0,0,0.12); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-logo { height: 38px; width: auto; display: block; }
.footer-logo { height: 44px; margin-bottom: 0.4rem; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 9px;
  background: var(--red); color: #fff;
  display: grid; place-items: center;
  font-family: "Anton", sans-serif; font-size: 1.35rem; line-height: 1;
  box-shadow: 0 4px 16px rgba(225,20,20,0.35);
}
.brand .word { font-family: "Anton", sans-serif; font-size: 1.35rem; letter-spacing: 0.02em; color: #fff; }
.brand .word small { display: block; font-family: "Inter"; font-size: 0.56rem; font-weight: 600;
  letter-spacing: 0.28em; color: var(--muted); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a {
  font-size: 0.9rem; font-weight: 600; color: #33333a;
  position: relative; padding: 4px 0; transition: color 0.18s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--red); transition: width 0.22s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-mobile { display: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px auto; transition: 0.25s var(--ease); }
.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); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding-bottom: clamp(3rem, 7vw, 6rem); padding-top: calc(var(--nav-h) + 2rem); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media svg { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(11,11,12,0.94) 0%, rgba(11,11,12,0.72) 42%, rgba(11,11,12,0.35) 100%),
    linear-gradient(0deg, rgba(11,11,12,0.95) 2%, rgba(11,11,12,0) 45%);
}
.hero-inner { max-width: 760px; }
.hero h1 { font-size: clamp(2.9rem, 9vw, 6.4rem); color: #fff; margin: 1.1rem 0 1.3rem; }
.hero h1 .line { display: block; }
.hero p.sub { font-size: clamp(1.02rem, 1.8vw, 1.22rem); color: var(--bone); max-width: 52ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; color: var(--bone);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.badge strong { color: #fff; font-weight: 700; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-top { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem 3rem; align-items: end; margin-bottom: 2rem; }
.services-top h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); color: #fff; margin-top: 0.9rem; }
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.svc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
  position: relative; overflow: hidden;
}
.svc-card:hover { transform: translateY(-5px); border-color: var(--red); background: #17171a; }
.svc-icon {
  width: 54px; height: 54px; border-radius: 12px; background: var(--red-tint);
  display: grid; place-items: center; margin-bottom: 1.15rem;
  border: 1px solid rgba(225,20,20,0.25);
}
.svc-icon svg { width: 26px; height: 26px; stroke: var(--red-300); }
.svc-card h3 { font-size: 1.12rem; color: #fff; margin-bottom: 0.5rem; letter-spacing: 0.01em; }
.svc-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.1rem; }
.svc-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--red-300); }
.svc-link svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.svc-card:hover .svc-link svg { transform: translateX(4px); }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--surface); border-block: 1px solid var(--line); position: relative; overflow: hidden; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: clamp(2.4rem, 5vw, 3.4rem); }
.stat { display: flex; gap: 1rem; align-items: flex-start; min-width: 0; }
.stat > div { min-width: 0; }
.stat .num { overflow-wrap: anywhere; }
.stat .s-icon { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--red-tint);
  display: grid; place-items: center; border: 1px solid rgba(225,20,20,0.22); }
.stat .s-icon svg { width: 22px; height: 22px; stroke: var(--red-300); }
.stat .num { font-family: "Anton", sans-serif; font-size: 1.85rem; color: #fff; line-height: 1; }
.stat .num .accent { color: var(--red-300); }
.stat .label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone); margin: 0.35rem 0 0.15rem; }
.stat .cap { font-size: 0.8rem; color: var(--muted); }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.projects-head h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); color: #fff; margin-top: 0.9rem; }
.grid-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.proj-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.proj-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--red);
  transform: scaleY(0); transform-origin: top; transition: transform 0.28s var(--ease); }
.proj-card:hover { transform: translateY(-5px); border-color: var(--red); background: #17171a; }
.proj-card:hover::before { transform: scaleY(1); }
.proj-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--red-tint);
  border: 1px solid rgba(225,20,20,0.25); display: grid; place-items: center; margin-bottom: 1.3rem; }
.proj-icon svg { width: 26px; height: 26px; stroke: var(--red-300); }
.proj-tag { display: inline-block; align-self: flex-start; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #fff; background: var(--red); padding: 0.3rem 0.6rem; border-radius: 6px; margin-bottom: 0.85rem; }
.proj-card h3 { font-size: 1.28rem; color: #fff; margin-bottom: 0.55rem; }
.proj-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.3rem; }
.proj-loc { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--bone); margin-top: auto; }
.proj-loc svg { width: 15px; height: 15px; stroke: var(--red-300); flex: none; }

/* Safety cards (no image) */
.safety-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.safety-card { background: #fff; border: 1px solid #e4e2dc; border-radius: var(--radius); padding: 1.7rem 1.5rem; }
.safety-card .sc-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(225,20,20,0.08);
  border: 1px solid rgba(225,20,20,0.2); display: grid; place-items: center; margin-bottom: 1.1rem; }
.safety-card .sc-icon svg { width: 24px; height: 24px; stroke: var(--red-600); }
.safety-card strong { display: block; color: var(--ink-on-paper); margin-bottom: 0.35rem; font-size: 1.05rem; }
.safety-card span { color: #54545a; font-size: 0.92rem; }

/* ============================================================
   TRUSTED BY
   ============================================================ */
.trusted { border-top: 1px solid var(--line); }
.trusted .container { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.trusted p.k { text-align: center; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.8rem; }
/* Animated logo marquee */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 1rem; width: max-content;
  animation: marquee-scroll 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-tile {
  flex: none; width: 176px; height: 88px; background: #fff;
  border: 1px solid #e4e2dc; border-radius: 12px;
  display: grid; place-items: center; padding: 0 1.5rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.logo-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,0.35); }
.logo-tile img { max-height: 42px; max-width: 100%; width: auto; object-fit: contain; }
.logo-tile .wm {
  font-family: "Anton", sans-serif; text-transform: uppercase; letter-spacing: 0.02em;
  color: #1b1b1e; font-size: 1.15rem; line-height: 0.95; text-align: center;
}
.logo-tile .wm small { display: block; font-size: 0.62rem; letter-spacing: 0.14em; color: #6a6a70; margin-top: 3px; }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
}

/* ============================================================
   GALLERY PAGE + LIGHTBOX
   ============================================================ */
.page-head { padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.7rem; }
.g-item {
  position: relative; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); cursor: zoom-in; background: var(--surface); padding: 0;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease); }
.g-item:hover img { transform: scale(1.07); }
.g-item::after {
  content: ""; position: absolute; inset: 0; background: rgba(225,20,20,0);
  transition: background 0.2s var(--ease); pointer-events: none;
}
.g-item:hover::after { background: rgba(225,20,20,0.12); }
@media (max-width: 640px) { .gallery-thumbs { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; } }
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none; place-items: center;
  background: rgba(6,6,7,0.94); padding: clamp(1rem, 4vw, 3rem); backdrop-filter: blur(6px);
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: 0.2s var(--ease);
}
.lb-close svg, .lb-prev svg, .lb-next svg { width: 24px; height: 24px; stroke: #fff; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--red); border-color: var(--red); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev { left: 0.5rem; } .lb-next { right: 0.5rem; } }

/* ============================================================
   CAPABILITY TABS
   ============================================================ */
/* Interactive capability tabs */
.tabs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.tab-bar { display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.5rem 0.5rem 0; border-bottom: 1px solid var(--line); }
.tab {
  padding: 0.85rem 1.15rem; font-size: 0.92rem; font-weight: 600; color: var(--muted);
  border-radius: 10px 10px 0 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.tab:hover { color: var(--bone); background: rgba(255,255,255,0.03); }
.tab.active { color: #fff; border-bottom-color: var(--red); background: var(--red-tint); }
.tab-panels { padding: clamp(1.5rem, 3.5vw, 2.4rem); }
.tab-panel { animation: tab-fade 0.3s var(--ease); }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { color: #fff; font-size: 1.25rem; margin-bottom: 0.5rem; }
.tab-panel p { color: var(--muted); max-width: 60ch; margin-bottom: 1.2rem; }
.tab-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem 1.5rem; }
.tab-list li { position: relative; padding-left: 1.5rem; color: var(--bone); font-size: 0.95rem; }
.tab-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px;
  background: var(--red); border-radius: 2px;
}
@keyframes tab-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tab-panel { animation: none; } }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.why-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; }
.why-card .w-icon { width: 46px; height: 46px; border-radius: 11px; background: var(--red-tint);
  display: grid; place-items: center; border: 1px solid rgba(225,20,20,0.22); margin-bottom: 1.1rem; }
.why-card .w-icon svg { width: 22px; height: 22px; stroke: var(--red-300); }
.why-card h3 { font-size: 1.02rem; color: #fff; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.9rem; color: var(--muted); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { background: var(--surface); border-block: 1px solid var(--line); position: relative; overflow: hidden; }
.testi .inner { max-width: 780px; margin-inline: auto; text-align: center; }
.testi .qmark { font-family: "Anton", sans-serif; font-size: 4rem; color: var(--red); line-height: 0.6; }
.testi-track { position: relative; min-height: 170px; }
.testi-slide {
  position: absolute; inset: 0; opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); pointer-events: none;
}
.testi-slide.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.testi-slide blockquote { font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: #fff; line-height: 1.45; font-weight: 500; margin-bottom: 1.5rem; }
.testi-who strong { display: block; color: #fff; font-size: 1rem; }
.testi-who span { font-size: 0.85rem; color: var(--red-300); }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.testi-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: 0.2s var(--ease); }
.testi-arrow:hover { border-color: var(--red); background: var(--red-tint); }
.testi-arrow svg { width: 20px; height: 20px; stroke: #fff; }
.testi-dots { display: flex; gap: 0.5rem; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: 0.2s; }
.testi-dots button.active { background: var(--red); width: 26px; border-radius: 5px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem 3.5rem; align-items: start; }
.contact-left h2 { font-size: clamp(1.9rem, 5vw, 3rem); color: #fff; margin: 0.9rem 0 1.1rem; }
.contact-list { margin-top: 2rem; display: grid; gap: 1.1rem; }
.contact-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-item .ci { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--red-tint);
  display: grid; place-items: center; border: 1px solid rgba(225,20,20,0.22); }
.contact-item .ci svg { width: 20px; height: 20px; stroke: var(--red-300); }
.contact-item .k { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-item .v { color: #fff; font-weight: 500; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--bone); margin-bottom: 0.45rem; }
.field label .req { color: var(--red-300); }
.field input, .field textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem; color: #fff; font-size: 0.95rem; font-family: inherit;
  min-height: 48px; transition: border-color 0.18s, box-shadow 0.18s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6c6c74; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }
.field.invalid input, .field.invalid textarea { border-color: var(--red-300); }
.field .err { display: none; font-size: 0.78rem; color: var(--red-300); margin-top: 0.4rem; }
.field.invalid .err { display: block; }
.form-status { font-size: 0.9rem; margin-top: 0.4rem; min-height: 1.2rem; }
.form-status.ok { color: #52d17a; }
.form-status.bad { color: var(--red-300); }
.btn-submit { width: 100%; justify-content: center; margin-top: 0.3rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: #0a0a0b; }
.footer .container { padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-about p { color: var(--muted); font-size: 0.9rem; max-width: 34ch; margin: 1.1rem 0 1.3rem; }
.foot-social { display: flex; gap: 0.6rem; }
.foot-social a { width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; transition: 0.2s; }
.foot-social a:hover { border-color: var(--red); background: var(--red-tint); }
.foot-social svg { width: 18px; height: 18px; stroke: #fff; fill: none; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-300); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a { font-size: 0.9rem; color: var(--muted); transition: color 0.18s; }
.footer-col a:hover { color: #fff; }
.news p { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; }
.news form { display: flex; gap: 0.5rem; }
.news input { flex: 1; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem; color: #fff; min-height: 46px; }
.news input:focus { outline: none; border-color: var(--red); }
.news button { flex: none; width: 48px; border-radius: var(--radius-sm); background: var(--red); color: #fff; display: grid; place-items: center; }
.news button:hover { background: var(--red-600); }
.news button svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 1.5rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.footer-bottom p, .footer-bottom a { font-size: 0.8rem; color: var(--muted); }
.footer-bottom .certs { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-bottom .certs strong { color: var(--bone); font-weight: 700; }
.footer-bottom .certs .sub { font-size: 0.75rem; color: #6f6f77; margin-top: -0.2rem; }
.footer-bottom .links { display: flex; gap: 1.2rem; }
.footer-bottom .links a:hover { color: #fff; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }
.reveal.d4 { transition-delay: 0.24s; }
.reveal.d5 { transition-delay: 0.30s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .grid-projects { grid-template-columns: repeat(2, 1fr); }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .services-top { grid-template-columns: 1fr; align-items: start; }
  .safety-cards { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: block; }
  .nav-mobile {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
    background: #fff; border-bottom: 1px solid #e6e4de;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    display: grid; gap: 0.25rem; padding: 1rem var(--pad) 1.6rem;
    transform: translateY(-120%); transition: transform 0.32s var(--ease);
  }
  .nav-mobile.open { transform: none; }
  .nav-mobile a { padding: 0.85rem 0.5rem; font-size: 1.05rem; font-weight: 600; color: #33333a; border-bottom: 1px solid #ececec; }
  .nav-mobile .btn { color: #fff; }
  .nav-mobile .btn { margin-top: 0.8rem; justify-content: center; }
  .grid-services { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .svc-card { padding: 1.15rem 1rem; }
  .svc-card p { font-size: 0.85rem; }
  .svc-icon { width: 44px; height: 44px; margin-bottom: 0.85rem; }
  .grid-projects { grid-template-columns: 1fr; }
  .safety-cards { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .proj-card { aspect-ratio: 3 / 4; }
  .tab-list { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .stat { gap: 0.65rem; }
  .stat .num { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
