/* ============================================================
   MASOAHLA CONSTRUCTION — Brand Stylesheet
   Same strength. New vision. Built to last.
   ============================================================ */

:root {
  --navy: #0b1f3a;
  --navy-deep: #071426;
  --navy-mid: #13294f;
  --steel: #8b95a6;
  --steel-light: #d6dae2;
  --steel-pale: #eef0f3;
  --gray: #4b5563;
  --gray-soft: #6b7280;
  --bg-light: #f4f5f7;
  --white: #ffffff;
  --line: #e4e6ea;
  --gold: #c9a24b;
  --gold-deep: #6e4a1a;
  --gold-bright: #e6c67e;
  --gold-line: rgba(201, 162, 75, 0.4);
  --gold-gradient: linear-gradient(120deg, var(--gold-deep) 0%, var(--gold) 55%, var(--gold-bright) 100%);
  --success: #1f8a52;
  --danger: #c0392b;

  /* Blueprint corner-register mark (architectural drafting motif), used as a
     background-image on ::before/::after — see .blueprint-frame() usages below. */
  --corner-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23c9a24b' stroke-width='2'%3E%3Cpath d='M2 22 V2 H22'/%3E%3Cpath d='M78 2 H98 V22'/%3E%3Cpath d='M98 78 V98 H78'/%3E%3Cpath d='M22 98 H2 V78'/%3E%3C/g%3E%3C/svg%3E");
  /* Drafting dimension-line tick, used on .eyebrow / footer headings */
  --dim-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 8'%3E%3Cg stroke='%23c9a24b' stroke-width='1.4' fill='none'%3E%3Cline x1='1' y1='1' x2='1' y2='7'/%3E%3Cline x1='25' y1='1' x2='25' y2='7'/%3E%3Cline x1='1' y1='4' x2='25' y2='4'/%3E%3C/g%3E%3C/svg%3E");
  /* Faint schematic tower-crane wireframe — the motif from the brand identity kit,
     reused here as a low-opacity architectural watermark on dark sections. */
  --crane-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23c9a24b' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='104' y1='212' x2='104' y2='50'/%3E%3Cline x1='120' y1='212' x2='120' y2='50'/%3E%3Cline x1='104' y1='212' x2='120' y2='192'/%3E%3Cline x1='120' y1='192' x2='104' y2='172'/%3E%3Cline x1='104' y1='172' x2='120' y2='152'/%3E%3Cline x1='120' y1='152' x2='104' y2='132'/%3E%3Cline x1='104' y1='132' x2='120' y2='112'/%3E%3Cline x1='120' y1='112' x2='104' y2='92'/%3E%3Cline x1='104' y1='92' x2='120' y2='72'/%3E%3Cline x1='120' y1='72' x2='104' y2='50'/%3E%3Cline x1='88' y1='224' x2='136' y2='224'/%3E%3Cline x1='104' y1='212' x2='88' y2='224'/%3E%3Cline x1='120' y1='212' x2='136' y2='224'/%3E%3Cline x1='112' y1='50' x2='112' y2='22'/%3E%3Cline x1='112' y1='22' x2='226' y2='50'/%3E%3Cline x1='112' y1='22' x2='58' y2='50'/%3E%3Cline x1='58' y1='50' x2='226' y2='50'/%3E%3Cline x1='58' y1='50' x2='70' y2='62'/%3E%3Cline x1='96' y1='50' x2='84' y2='62'/%3E%3Cline x1='150' y1='50' x2='162' y2='62'/%3E%3Cline x1='188' y1='50' x2='200' y2='62'/%3E%3Cline x1='198' y1='50' x2='198' y2='90'/%3E%3Cline x1='190' y1='90' x2='206' y2='90'/%3E%3Cline x1='198' y1='90' x2='198' y2='100'/%3E%3C/g%3E%3C/svg%3E");

  --font-head: "Playfair Display", "Cambria", Georgia, serif;
  --font-body: "Inter", "Calibri", Arial, sans-serif;
  --font-logo: "Oswald", "Inter", Arial, sans-serif; /* wordmark lockup only — matches the 2026 cards/letterhead */

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 15px;

  --shadow-sm: 0 2px 10px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 31, 58, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.18);

  --container: 1180px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--gray);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

.section-pad { padding: 108px 0; }
@media (max-width: 768px) {
  .section-pad { padding: 72px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 8px;
  background-image: var(--dim-line);
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--gray-soft); }

.bg-light { background: var(--bg-light); }
.bg-navy { background: var(--navy); color: var(--steel-light); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-solid {
  background: var(--navy);
  color: var(--white);
}
.btn-solid:hover { background: var(--navy-deep); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(201,162,75,0.12); border-color: var(--gold-bright); color: var(--gold-bright); transform: translateY(-3px); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-outline-navy:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
  background: linear-gradient(to bottom, rgba(7,20,38,0.85), rgba(7,20,38,0));
}
.site-header.is-scrolled {
  height: 72px;
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}
.brand img { height: 44px; width: auto; }
.brand-text { font-family: var(--font-logo); font-weight: 700; color: var(--white); font-size: 20px; line-height: 1.15; letter-spacing: 0.4px; }
.brand-text span {
  display: block; font-family: var(--font-logo); font-weight: 600; font-size: 10px; letter-spacing: 2.2px;
  color: var(--gold-bright); /* matches the CONSTRUCTION PTY (LTD) gold wordmark treatment on the cards/letterhead */
  background-image: var(--gold-gradient);
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not (background-clip: text) {
  .brand-text span { -webkit-text-fill-color: unset; color: var(--gold-bright); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: var(--steel-light);
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); background: rgba(255,255,255,0.1); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--white); font-weight: 700; font-size: 14px;
}
.header-phone i { color: var(--gold-bright); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  align-items: center; justify-content: center;
  font-size: 18px;
  z-index: 20;
}

@media (max-width: 980px) {
  .nav-links { position: fixed; top: 0; right: -100%; width: min(340px, 86%); height: 100vh;
    background: var(--navy-deep); flex-direction: column; align-items: stretch; justify-content: center;
    gap: 4px; padding: 40px 32px; transition: right 0.4s cubic-bezier(.2,.9,.3,1); box-shadow: -20px 0 60px rgba(0,0,0,0.35); }
  .nav-links.is-open { right: 0; }
  .nav-links a { padding: 14px 10px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,0.06); border-radius: 0; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(3,9,18,0.5); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; z-index: 15; }
  .nav-scrim.is-open { opacity: 1; pointer-events: auto; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(120% 120% at 78% 8%, #142c52 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--steel-light);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  animation: gridPan 40s linear infinite;
}
@keyframes gridPan { from { background-position: 0 0, 0 0; } to { background-position: 400px 0, 0 400px; } }

.hero-glow {
  position: absolute; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,75,0.14), transparent 65%);
  top: -280px; right: -260px; pointer-events: none;
}

/* Architect's-drawing crane watermark, faint, behind the hero copy */
.hero::before {
  content: "";
  position: absolute; left: -40px; bottom: -30px; width: 320px; height: 320px;
  background-image: var(--crane-mark);
  background-repeat: no-repeat; background-size: contain;
  opacity: 0.07; pointer-events: none; z-index: 0;
  transform: scaleX(-1);
}

.hero .container {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-top: 40px; padding-bottom: 60px;
}
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; padding-top: 10px; }
  .hero-visual { margin: 0 auto; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--white);
  margin-bottom: 26px;
}
.hero-badge .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--gold-gradient); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--navy-deep); }

.hero h1 {
  color: var(--white);
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.5px;
}
.hero h1 em { font-style: italic; color: var(--steel-light); }
.hero p.lead {
  margin-top: 22px; font-size: 18px; max-width: 560px; color: var(--steel-light);
}
@media (max-width: 980px) { .hero p.lead { margin-left: auto; margin-right: auto; } }

.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
@media (max-width: 980px) { .hero-actions { justify-content: center; } }

.hero-meta {
  display: flex; gap: 34px; margin-top: 52px; flex-wrap: wrap;
}
@media (max-width: 980px) { .hero-meta { justify-content: center; } }
.hero-meta div strong { display: block; font-family: var(--font-head); font-size: 26px; color: var(--white); }
.hero-meta div span { font-size: 12.5px; color: var(--steel); letter-spacing: 0.5px; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual::before {
  content: "";
  position: absolute; inset: 6%;
  background-image: var(--corner-mark);
  background-repeat: no-repeat; background-size: 100% 100%;
  opacity: 0.55; pointer-events: none;
}
.hero-visual::after {
  content: "";
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,75,0.28), transparent 68%);
  filter: blur(2px); z-index: 0;
}
.hero-visual .crest-ring {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 1px dashed var(--gold-line);
  animation: spin 60s linear infinite;
}
.hero-visual .crest-ring.r2 { width: 500px; height: 500px; border-style: solid; border-color: rgba(201,162,75,0.16); animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual img.crest { width: 340px; filter: drop-shadow(0 26px 50px rgba(0,0,0,0.5)) drop-shadow(0 0 34px rgba(201,162,75,0.25)); animation: floatY 6s ease-in-out infinite; position: relative; z-index: 1; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.float-chip {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
  animation: floatY 7s ease-in-out infinite;
}
.float-chip.chip-1 { top: 6%; left: -6%; animation-delay: 0.3s; }
.float-chip.chip-2 { bottom: 10%; right: -8%; animation-delay: 1.1s; }
@media (max-width: 980px) { .float-chip { display: none; } }
.float-chip .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-gradient); color: var(--navy-deep); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.float-chip strong { display: block; color: var(--white); font-size: 15px; font-family: var(--font-head); }
.float-chip span { font-size: 11.5px; color: var(--steel-light); }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--steel); font-size: 11px; letter-spacing: 2px; z-index: 2;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--steel), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   STAT STRIP
   ============================================================ */
.stat-strip { background: var(--navy-deep); padding: 46px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 768px) { .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }
.stat-grid .num { font-family: var(--font-head); font-size: clamp(30px, 4vw, 42px); color: var(--white); font-weight: 700; }
.stat-grid .lbl { font-size: 12.5px; color: var(--gold-bright); letter-spacing: 1px; margin-top: 6px; text-transform: uppercase; }

/* ============================================================
   CARDS — services / values / generic
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.icon-badge {
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.icon-badge.light { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold-line); }
.card:hover .icon-badge { transform: scale(1.08) rotate(-4deg); box-shadow: 0 0 0 5px rgba(201,162,75,0.16); }
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { color: var(--gray-soft); font-size: 15px; }
.card ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.card ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--gray); }
.card ul li i { color: var(--steel); margin-top: 4px; font-size: 12px; }
.card .card-link { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 14.5px; }
.card .card-link i { transition: transform 0.25s ease; }
.card:hover .card-link i { transform: translateX(5px); }

.card-dark { background: var(--navy); border-color: transparent; color: var(--steel-light); }
.card-dark h3, .card-dark h4 { color: var(--white); }
.card-dark .icon-badge { background: rgba(255,255,255,0.1); }

/* value tiles */
.value-tile {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 34px 22px;
  text-align: center;
  color: var(--white);
  transition: transform 0.3s ease;
}
.value-tile:hover { transform: translateY(-6px); }
.value-tile .icon-badge.light { margin: 0 auto 18px; }
.value-tile h4 { color: var(--white); font-size: 17px; font-family: var(--font-body); font-weight: 700; }

/* ============================================================
   ABOUT / STORY SPLIT
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split-visual { position: relative; }
.timeline-card {
  background: var(--navy); border-radius: var(--radius-lg); padding: 44px 38px; color: var(--white);
  position: relative; overflow: hidden;
}
.timeline-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 0%, rgba(201,162,75,0.14), transparent 55%);
}
.timeline-card::after {
  content: ""; position: absolute; inset: 14px;
  background-image: var(--corner-mark);
  background-repeat: no-repeat; background-size: 100% 100%;
  opacity: 0.5; pointer-events: none;
}
.timeline-card .crest { width: 92px; opacity: 0.9; margin-bottom: 26px; position: relative; z-index: 1; }
.timeline-row { position: relative; z-index: 1; }
.timeline-row { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.timeline-row:first-of-type { border-top: none; }
.timeline-row .yr { font-family: var(--font-head); font-size: 20px; color: var(--steel-light); width: 76px; flex-shrink: 0; }
.timeline-row p { color: var(--steel-light); font-size: 14.5px; margin: 0; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill { background: var(--bg-light); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--gray); }

/* quote / mission-vision */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 700px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card { background: var(--bg-light); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; position: relative; overflow: hidden; }
.mv-card::after {
  content: ""; position: absolute; inset: 10px;
  background-image: var(--corner-mark);
  background-repeat: no-repeat; background-size: 100% 100%;
  opacity: 0.35; pointer-events: none;
}
.mv-card .icon-badge, .mv-card h3, .mv-card p { position: relative; z-index: 1; }

/* ============================================================
   TEAM
   ============================================================ */
.team-card { text-align: center; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 20px;
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 30px; font-weight: 700;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
  outline: 1px solid var(--line);
}
.avatar img { width: 52px; height: auto; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.45)); }
.team-card h4 { font-size: 18px; }
.team-card span { font-size: 13.5px; color: var(--steel); font-weight: 600; letter-spacing: 0.4px; }

/* ============================================================
   CLIENTS
   ============================================================ */
.client-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  aspect-ratio: 16 / 9; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.client-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.client-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.client-tile.text-fallback {
  font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 16px;
  text-align: center; padding: 10px 14px;
}
.marquee-track .client-tile { min-width: 220px; aspect-ratio: auto; height: 108px; }

.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track .client-tile { min-width: 220px; }

/* ============================================================
   INDUSTRY LIST / CHECK GRID
   ============================================================ */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
@media (max-width: 600px) { .check-grid { grid-template-columns: 1fr; } }
.check-item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--gray); font-weight: 500; }
.check-item .ic { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  color: var(--white);
  position: relative; overflow: hidden;
  border: 1px solid var(--gold-line);
}
.cta-banner::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,75,0.16), transparent 70%);
}
.cta-banner::before {
  content: ""; position: absolute; inset: 16px;
  background-image: var(--corner-mark);
  background-repeat: no-repeat; background-size: 100% 100%;
  opacity: 0.4; pointer-events: none;
}
.cta-banner h3 { color: var(--white); font-size: clamp(24px,3vw,32px); max-width: 520px; position: relative; z-index: 1; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 760px) { .cta-banner { flex-direction: column; text-align: center; padding: 42px 28px; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: var(--steel); padding-top: 76px; position: relative; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute; top: -10px; right: -20px; width: 260px; height: 260px;
  background-image: var(--crane-mark);
  background-repeat: no-repeat; background-size: contain;
  opacity: 0.05; pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 40px; }
.footer-brand strong { color: var(--white); font-family: var(--font-logo); font-weight: 600; letter-spacing: 0.6px; font-size: 17px; }
.site-footer p { font-size: 14px; line-height: 1.75; }
.site-footer h5 {
  color: var(--white); font-family: var(--font-body); font-size: 13.5px; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 20px; padding-left: 12px; border-left: 2px solid var(--gold);
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14.5px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 16px; font-size: 14px; align-items: flex-start; }
.footer-contact i { color: var(--steel-light); margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 13px; flex-wrap: wrap; gap: 10px; }
.footer-bottom .regs { color: var(--steel); opacity: 0.85; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, transform 0.2s ease; }
.social-row a:hover { background: var(--gold-gradient); color: var(--navy-deep); transform: translateY(-3px); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: radial-gradient(120% 160% at 15% 0%, #142c52 0%, var(--navy) 50%, var(--navy-deep) 100%);
  padding: calc(var(--header-h) + 74px) 0 90px;
  color: var(--steel-light);
  position: relative; overflow: hidden;
}
.page-hero .hero-grid { opacity: 0.7; }
.page-hero::before {
  content: "";
  position: absolute; top: 6%; right: 3%; width: 240px; height: 240px;
  background-image: var(--crane-mark);
  background-repeat: no-repeat; background-size: contain;
  opacity: 0.08; pointer-events: none; z-index: 0;
}
.page-hero::after {
  content: "";
  position: absolute; right: -6%; bottom: -18%; width: 460px; height: 460px;
  background-image: url("/assets/img/logo-icon-gold.png");
  background-repeat: no-repeat; background-size: contain;
  opacity: 0.1; pointer-events: none; z-index: 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(32px, 4.4vw, 50px); position: relative; z-index: 1; }
.page-hero p { margin-top: 16px; max-width: 620px; font-size: 17px; position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--steel); margin-bottom: 20px; position: relative; z-index: 1; }
.breadcrumb a:hover { color: var(--white); }

/* ============================================================
   FORMS (contact)
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: 0.3px; }
.field input, .field select, .field textarea {
  padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--white); color: var(--gray); font-size: 15px; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,31,58,0.08); }
.field textarea { resize: vertical; min-height: 140px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.form-msg { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 600; margin-bottom: 22px; display: none; }
.form-msg.show { display: block; }
.form-msg.success { background: #e8f6ee; color: var(--success); border: 1px solid #b7e4c7; }
.form-msg.error { background: #fdecea; color: var(--danger); border: 1px solid #f6c4bd; }

.contact-info-card { background: var(--navy); border-radius: var(--radius-lg); padding: 40px 34px; color: var(--white); position: relative; overflow: hidden; }
.contact-info-card::after {
  content: ""; position: absolute; inset: 14px;
  background-image: var(--corner-mark);
  background-repeat: no-repeat; background-size: 100% 100%;
  opacity: 0.5; pointer-events: none;
}
.contact-info-card .row { position: relative; z-index: 1; display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.contact-info-card .row:first-of-type { border-top: none; padding-top: 0; }
.contact-info-card .ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid var(--gold-line); color: var(--gold-bright); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card .row h5 { color: var(--steel); font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.contact-info-card .row p, .contact-info-card .row a { color: var(--white); font-size: 15px; }
.qr-chip {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 16px;
  margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06); border: 1px solid var(--gold-line);
}
.qr-chip img { border-radius: 4px; background: #fff; padding: 4px; flex-shrink: 0; }
.qr-chip h5 { color: var(--gold-bright); font-size: 12.5px; letter-spacing: 0.6px; text-transform: none; margin-bottom: 3px; }
.qr-chip p { color: var(--steel-light); font-size: 13.5px; margin: 0; }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 26px; }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ============================================================
   MISC — floating action, back to top, reveal animations
   ============================================================ */
.fab-stack { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--white); box-shadow: var(--shadow-lg); font-size: 22px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.fab:hover { transform: translateY(-4px) scale(1.05); background: var(--navy-deep); }
.fab.whatsapp { background: #25d366; }
.fab.whatsapp:hover { background: #1ebc59; }
.fab.top { width: 44px; height: 44px; font-size: 16px; opacity: 0; pointer-events: none; transform: translateY(10px); }
.fab.top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* IMPORTANT: .reveal/.reveal-stagger are VISIBLE by default (no JS required) —
   this keeps content accessible to no-JS browsers, search crawlers, and print.
   main.js opts elements into the hide-then-reveal animation by adding
   .js-armed at runtime; only then does the opacity/transform hiding apply. */
.reveal.js-armed { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.js-armed.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.js-armed > * { opacity: 0; }
.reveal-stagger.js-armed.is-visible > * { animation: revealUp 0.6s ease forwards; }
.reveal-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { animation-delay: 0.15s; }
.reveal-stagger > *:nth-child(3) { animation-delay: 0.25s; }
.reveal-stagger > *:nth-child(4) { animation-delay: 0.35s; }
@keyframes revealUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.watermark-crest {
  position: absolute; right: -60px; bottom: -60px; width: 280px; opacity: 0.04; pointer-events: none;
}

/* breadcrumb-style page badge & misc text helpers */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.muted { color: var(--gray-soft); }
.divider { height: 1px; background: var(--line); margin: 60px 0; }

/* 404 */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--bg-light); padding: 40px 20px; }
.error-page h1 { font-size: clamp(70px, 14vw, 140px); color: var(--navy); line-height: 1; }

::selection { background: var(--navy); color: var(--white); }

/* Loading skeleton spinner for form submit */
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,0.4); border-top-color: #fff; animation: rotate 0.7s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: 0.75; }
@keyframes rotate { to { transform: rotate(360deg); } }

/* ============================================================
   PROJECT GALLERY — filter tabs, cards, lightbox
   ============================================================ */

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.filter-tab:hover { border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }
.filter-tab.is-active { background: var(--navy); border-color: var(--gold); color: var(--white); }
.filter-tab .count { font-size: 12px; font-weight: 700; opacity: 0.65; }
.filter-tab.is-active .count { opacity: 0.85; color: var(--gold-bright); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.project-grid-compact { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .project-grid { grid-template-columns: 1fr; } }

.project-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover, .project-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); outline: none; }
.project-card.is-hidden { display: none; }

.project-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-light);
}
.project-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card-media img, .project-card:focus-visible .project-card-media img { transform: scale(1.08); }
.project-card-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,20,38,0) 45%, rgba(7,20,38,0.78) 100%);
  opacity: 0.55;
  transition: opacity 0.3s ease;
}
.project-card:hover .project-card-media::after, .project-card:focus-visible .project-card-media::after { opacity: 0.8; }
.project-card-zoom {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(11, 31, 58, 0.55);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  opacity: 0; transform: scale(0.8);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  backdrop-filter: blur(2px);
}
.project-card:hover .project-card-zoom, .project-card:focus-visible .project-card-zoom { opacity: 1; transform: scale(1); }
.project-card-zoom:hover { background: var(--gold); }

.project-card figcaption { padding: 18px 20px 20px; }
.project-card .tag {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.project-card h3 { font-size: 16.5px; line-height: 1.35; color: var(--navy); }

/* Cards that are plain links (homepage "featured" grid) skip the figure semantics */
.project-card-link figcaption { padding: 16px 18px 18px; }

@media (max-width: 980px) { .project-grid-compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .project-grid-compact { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(5, 13, 28, 0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 24px;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lb-stage {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  display: flex; flex-direction: column;
  align-items: center;
  transform: scale(0.96);
  transition: transform 0.25s ease;
  position: relative;
  padding: 20px;
}
.lb-stage::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--corner-mark);
  background-repeat: no-repeat; background-size: 100% 100%;
  opacity: 0.6; pointer-events: none;
}
.lightbox.is-open .lb-stage { transform: scale(1); }
.lb-stage picture { display: flex; max-height: 72vh; }
.lb-stage img {
  max-width: 100%; max-height: 72vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.lb-caption { text-align: center; margin-top: 20px; max-width: 640px; }
.lb-caption .tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.lb-caption h3 { color: var(--white); font-size: 19px; margin-bottom: 6px; }
.lb-caption p { color: var(--steel-light); font-size: 14px; }

.lb-close, .lb-nav {
  position: absolute;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,0.18); transform: scale(1.06); }
.lb-close { top: 22px; right: 22px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
@media (max-width: 700px) {
  .lb-close { top: 12px; right: 12px; width: 42px; height: 42px; }
  .lb-nav { width: 42px; height: 42px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
