/* =========================================================
   SAS Constructions — shared stylesheet
   ========================================================= */

:root {
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #334155;
  --navy-600: #475569;

  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --orange-800: #9a3412;
  --amber-500: #f59e0b;

  --red-600: #dc2626;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --green-600: #16a34a;

  --cream-50: #fdfaf6;
  --cream-100: #f7f1e9;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --white: #ffffff;

  --grad-brand: linear-gradient(115deg, var(--orange-600), var(--orange-800));
  --grad-brand-soft: linear-gradient(115deg, var(--orange-500), var(--amber-500));
  --grad-alert: linear-gradient(90deg, var(--red-600), var(--orange-600));

  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.08), 0 8px 24px -12px rgba(15, 23, 42, 0.18);
  --shadow-lift: 0 20px 40px -18px rgba(15, 23, 42, 0.35);

  --radius-md: 10px;
  --radius-lg: 16px;
  --container: 1180px;

  --font-body: "Source Sans 3", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--navy-800);
  background: var(--cream-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.28rem; }

p { margin: 0 0 1em; color: var(--white-600); }

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

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head p { font-size: 1.05rem; }

.eyebrow-rule {
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--grad-brand-soft);
  margin: 14px auto 0;
}
.section-head.align-left .eyebrow-rule { margin-left: 0; }
.section-head.align-left { text-align: left; margin-left: 0; }

.bg-navy { background: var(--navy-800); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: #cbd5e1; }
.bg-cream { background: var(--cream-100); }
.bg-slate-50 { background: #eef1f4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(194, 65, 12, 0.55);
}
.btn-primary:hover { box-shadow: 0 14px 28px -10px rgba(194, 65, 12, 0.65); }

.btn-white {
  background: var(--white);
  color: var(--orange-700);
}
.btn-white:hover { background: #fff7ed; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }

.btn-blue {
  background: var(--blue-600);
  color: var(--white);
}
.btn-blue:hover { background: var(--blue-700); }

.btn-green {
  background: var(--green-600);
  color: var(--white);
}
.btn-green:hover { background: #15803d; }

.btn-navy-outline {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn-navy-outline:hover { background: var(--navy-800); color: var(--white); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

/* =========================================================
   Top utility bar
   ========================================================= */
.topbar {
  background: var(--navy-900);
  color: #cbd5e1;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
}
.topbar a { color: #e2e8f0; }
.topbar .topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .topbar-left span { display: inline-flex; align-items: center; gap: 6px; }

/* =========================================================
   Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gray-200);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--navy-900);
}
.brand img { height: 44px; width: auto; border-radius: 6px; }
.brand .brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--gray-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 9px 15px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--navy-700);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: var(--gray-100); color: var(--orange-700); }
.nav-links a.active { color: var(--orange-700); background: #fff1e6; }

.nav-links a.nav-link-cta {
  background: var(--grad-brand-soft);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(234, 88, 12, 0.55);
}
.nav-links a.nav-link-cta:hover {
  box-shadow: 0 10px 22px -8px rgba(234, 88, 12, 0.7);
  color: #fff !important;
}
.nav-links a.nav-link-cta.active { background: var(--grad-brand-soft); color: #fff !important; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 20px; font-size: 0.92rem; }

.mobile-menu {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.ico-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff1e6;
  color: var(--orange-700);
  flex-shrink: 0;
  font-size: 1rem;
}

/* =========================================================
   Hero slider (home page)
   ========================================================= */
.hero-slider {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(15,23,42,0.86) 0%, rgba(15,23,42,0.62) 45%, rgba(154,52,18,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 120px 0 100px;
}
.hero-content .kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-content h1 { color: #fff; }
.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #fdba74, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-content p { color: #e2e8f0; font-size: 1.12rem; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

.hero-dots {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
}
.hero-dots button.active { background: var(--orange-500); width: 26px; border-radius: 6px; }

/* Sub-page hero (non-slider, single gradient banner) */
.page-hero {
  position: relative;
  color: #fff;
  padding: 96px 0 70px;
  background: var(--grad-brand);
  overflow: hidden;
}
.page-hero.has-image { background-size: cover; background-position: center; }
.page-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15,23,42,0.88), rgba(154,52,18,0.72));
}
.page-hero .decor-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.page-hero .decor-1 { width: 220px; height: 220px; top: -60px; left: -40px; }
.page-hero .decor-2 { width: 160px; height: 160px; bottom: -50px; right: 8%; }
.page-hero-inner { position: relative; z-index: 2; text-align: center; max-width: 720px; margin: 0 auto; }
.page-hero h1 { color: #fff; }
.page-hero h1 .accent { color: var(--amber-500); }
.page-hero p { color: #fde8d4; font-size: 1.08rem; }

.alert-strip {
  background: var(--grad-alert);
  color: #fff;
}
.alert-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 24px;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.95rem;
}
.alert-strip .container > div { display: flex; align-items: center; gap: 10px; }

/* =========================================================
   Stat cards
   ========================================================= */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.stat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.stat-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-weight: 700;
  font-size: 1.15rem;
  font-family: var(--font-head);
}
.stat-card h4 { margin: 0 0 6px; font-size: 1.05rem; }
.stat-card .stat-sub { font-size: 0.9rem; color: var(--gray-500); margin: 0; }
.stat-simple {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 12px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.stat-simple .num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--orange-600);
}
.stat-simple .lbl { font-size: 0.88rem; color: var(--gray-500); margin-top: 2px; }

/* =========================================================
   Service / feature cards
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: var(--navy-700);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  color: #e2e8f0;
}
.service-card .emoji-badge {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.service-card h3 { color: #fff; }
.service-card ul { list-style: none; padding: 0; margin: 14px 0 0; }
.service-card li { padding: 4px 0; color: #cbd5e1; font-size: 0.94rem; }
.service-card li::before { content: "• "; color: var(--orange-500); }

.light-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
}
.light-card .emoji-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  background: #fff1e6;
}
.light-card ul { list-style: none; padding: 0; margin: 12px 0 18px; }
.light-card li { padding: 3px 0; color: var(--gray-600); font-size: 0.93rem; }
.light-card li::before { content: "✓ "; color: var(--orange-600); font-weight: 700; }
.light-card .learn-more { font-weight: 700; color: var(--orange-700); }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  background: var(--grad-brand);
  color: #fff;
  text-align: center;
  padding: 68px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #fde8d4; max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   Contact section (shared: home + contact page)
   ========================================================= */
.contact-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.contact-info-panel {
  background: var(--grad-brand);
  color: #fff;
  padding: 44px 38px;
}
.contact-info-panel h3 { color: #fff; font-size: 1.5rem; }
.contact-info-panel > p { color: #fde8d4; }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-item .ico-circle { background: rgba(255,255,255,0.18); color: #fff; }
.contact-item h4 { color: #fff; font-size: 1rem; margin-bottom: 3px; }
.contact-item p { color: #ffe8d1; margin: 0; font-size: 0.94rem; }
.contact-divider { border: none; border-top: 1px solid rgba(255,255,255,0.28); margin: 22px 0; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.92rem; color: #ffe8d1; margin-bottom: 6px; }
.hours-row strong { color: #fff; font-weight: 600; }

.contact-form-panel {
  background: var(--white);
  padding: 44px 42px;
}
.contact-form-panel h3 { font-size: 1.5rem; }
.form-underline { width: 56px; height: 3px; background: var(--amber-500); border-radius: 2px; margin: 8px 0 18px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: var(--gray-100);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  background: #fff;
}
.form-note { font-size: 0.84rem; color: var(--gray-500); margin-top: 10px; }
.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-bottom: 16px;
}
.form-success.show { display: block; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: linear-gradient(135deg, #4a1a0a 0%, #2c1006 45%, #160a06 100%);
  color: #ffffff;
  border-top: 4px solid;
  border-image: var(--grad-alert) 1;
}
.footer-top { padding: 64px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 42px; border-radius: 6px; }
.footer-brand span { font-family: var(--font-head); color: #fff; font-size: 1.15rem; font-weight: 600; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col p { color: #ffffff; font-size: 0.93rem; }
.footer-col a:hover { color: var(--orange-500); }
.footer-stats { display: flex; gap: 24px; margin-top: 20px; }
.footer-stats div { text-align: left; }
.footer-stats .num { font-family: var(--font-head); font-size: 1.3rem; color: #fff; font-weight: 700; }
.footer-stats .lbl { font-size: 0.8rem; color: #ffffff; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item .ico-circle { background: rgba(249,115,22,0.16); color: var(--orange-500); width: 30px; height: 30px; font-size: 0.85rem; }
.footer-contact-item p { color: #ffffff; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.footer-social a:hover { background: var(--orange-600); }
.footer-certs { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.cert-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #ffffff;
}
.cert-pill strong { color: #fff; display: block; font-size: 0.86rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
  font-size: 0.85rem;
  color: #ffffff;
}
.footer-bottom a { color: #ffffff; }
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a:hover { color: #fff; }

/* =========================================================
   Floating action buttons
   ========================================================= */
.fab {
  position: fixed;
  bottom: 26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  z-index: 600;
}
.fab:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 14px 28px -8px rgba(0,0,0,0.5); }
.fab svg { width: 26px; height: 26px; fill: #fff; display: block; }
.fab-whatsapp { left: 22px; background: #25d366; }
.fab-call { right: 22px; background: var(--orange-600); }
.fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--red-600);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #fff;
}
@media (max-width: 480px) {
  .fab { width: 48px; height: 48px; bottom: 16px; }
  .fab svg { width: 22px; height: 22px; }
  .fab-whatsapp { left: 14px; }
  .fab-call { right: 14px; }
}

/* =========================================================
   Misc components
   ========================================================= */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-completed { background: #dcfce7; color: #166534; }
.badge-ongoing { background: #fef3c7; color: #92400e; }

.filter-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-tabs button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-700);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.filter-tabs button.active,
.filter-tabs button:hover {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 30px;
  border: 1px solid var(--gray-200);
  cursor: pointer;
}
.project-card .project-media {
  height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.project-card .project-media .badge { position: absolute; top: 16px; left: 16px; }
.project-card .project-media .duration {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(15,23,42,0.72);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.project-card .project-body { padding: 28px; }
.project-card .project-loc { color: var(--orange-600); font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.project-description-wrap { margin-bottom: 12px; }
.project-card-description { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; min-height: 3.2em; margin-bottom: 4px; padding-bottom: 0; }
.project-read-more { display: inline-block; margin: 0; padding: 0; border: 0; background: transparent; color: var(--gray-600); font-weight: 700; cursor: pointer; }
.project-read-more:hover { color: var(--navy-800); text-decoration: underline; }
.project-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.project-specs li { font-size: 0.88rem; color: var(--gray-600); }
.project-specs li::before { content: "▸ "; color: var(--orange-600); }
.enquiry-btn { margin-top: 8px; padding: 12px 22px; font-size: 0.92rem; }

.project-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.54);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  animation: project-modal-fade .24s ease-out;
}
.project-detail-modal.open { display: flex; }
.project-detail-dialog {
  position: relative;
  width: min(1200px, 100%);
  max-height: 94vh;
  overflow: auto;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lift);
  animation: project-dialog-rise .3s cubic-bezier(.22,.8,.25,1);
}
.project-detail-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--navy-800);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.project-detail-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); gap: 38px; }
.project-detail-media { position: relative; isolation: isolate; }
.project-detail-media::before,.project-detail-media::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 18%; pointer-events: none; border-radius: var(--radius-md); }
.project-detail-media::before { left: 0; background: linear-gradient(90deg, rgba(15,23,42,.42), transparent); }
.project-detail-media::after { right: 0; background: linear-gradient(270deg, rgba(15,23,42,.42), transparent); }
.project-detail-media > img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius-md); background: var(--gray-100); box-shadow: 0 18px 42px -24px rgba(15,23,42,.65); }
.project-detail-media > img.slide-in-left { animation: project-image-from-left .32s cubic-bezier(.22,.8,.25,1); }
.project-detail-media > img.slide-in-right { animation: project-image-from-right .32s cubic-bezier(.22,.8,.25,1); }
.project-detail-arrow { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; transform: translateY(-50%); background: rgba(15,23,42,.58); backdrop-filter: blur(8px); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px rgba(15,23,42,.22); transition: transform .2s ease, background .2s ease, opacity .2s ease; }
.project-detail-arrow:hover:not(:disabled) { transform: translateY(-50%) scale(1.1); background: var(--orange-600); }
.project-detail-arrow:disabled { opacity: .3; cursor: not-allowed; box-shadow: none; }
.project-detail-prev { left: 12px; }
.project-detail-next { right: 12px; }
.project-detail-content { max-height: 500px; overflow-y: auto; padding: 12px 18px 18px 0; scrollbar-width: thin; scrollbar-color: var(--orange-500) var(--gray-100); }
.project-detail-content::-webkit-scrollbar { width: 8px; }
.project-detail-content::-webkit-scrollbar-track { background: var(--gray-100); border-radius: 8px; }
.project-detail-content::-webkit-scrollbar-thumb { background: var(--orange-500); border-radius: 8px; }
.project-detail-content .kicker { color: var(--orange-700); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.project-detail-content h2 { margin-top: 10px; }
.project-detail-content p { color: var(--gray-600); }
.project-detail-specifications { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.project-detail-specifications h3 { font-size: 1.1rem; }
.project-detail-specifications ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.project-detail-specifications li { color: var(--gray-600); font-size: 0.92rem; }
.project-detail-specifications li::before { content: "▸ "; color: var(--orange-600); }
@keyframes project-image-from-left { from { opacity: .35; transform: translateX(-18px) scale(.985); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes project-image-from-right { from { opacity: .35; transform: translateX(18px) scale(.985); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes project-modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes project-dialog-rise { from { opacity: 0; transform: translateY(18px) scale(.975); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .project-detail-media > img,.project-detail-modal,.project-detail-dialog { animation: none!important; } .project-detail-arrow { transition: none; } }

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.pricing-card.featured { border: 2px solid var(--orange-500); transform: translateY(-8px); }
.pricing-card .popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: #fff;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.pricing-card .price { font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; color: var(--navy-900); margin: 8px 0 2px; }
.pricing-card .price-sub { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 18px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.pricing-card li { padding: 6px 0; font-size: 0.92rem; color: var(--gray-600); border-bottom: 1px dashed var(--gray-200); }
.pricing-card li:last-child { border: none; }
.pricing-card li::before { content: "✓ "; color: var(--green-600); font-weight: 700; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.process-step { text-align: center; padding: 0 10px; }
.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.value-card { text-align: left; }
.value-card .emoji-badge { background: #fff1e6; }

.timeline-marker {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}
.timeline-marker .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--orange-600); margin-top: 6px; flex-shrink: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

.gallery-filter { margin-bottom: 34px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.tall { grid-row: span 2; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 900;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 10px; }
.lightbox-title { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: 80vw; padding: 8px 16px; border-radius: 6px; background: rgba(15,23,42,.78); color: #fff; font-weight: 600; text-align: center; }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
}
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

.dept-card {
  background: var(--navy-700);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  color: #e2e8f0;
}
.dept-card .ico-circle-lg {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}
.dept-card h3 { color: #fff; }
.dept-card a { color: var(--orange-400, #fb923c); font-weight: 700; }

.founder-quote {
  background: var(--white);
  border-left: 4px solid var(--orange-500);
  padding: 22px 26px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--navy-700);
  box-shadow: var(--shadow-card);
}

/* =========================================================
   About page — Who We Are / chips / safety
   ========================================================= */
.section-kicker {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: #fef3e2;
  color: var(--orange-600);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.info-chip-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.info-chip {
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
}
.info-chip strong { font-family: var(--font-head); font-size: 1.05rem; margin-right: 4px; }

.who-media { position: relative; }
.who-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}
.who-media-center {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 82%;
  text-align: center;
}
.who-media-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-card);
}
.who-media-caption .cap-title {
  display: inline-block;
  background: var(--blue-700);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}
.who-media-caption .cap-sub {
  color: #fff;
  font-size: 0.92rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.safety-section { background: var(--grad-brand); color: #fff; }
.safety-section h2 { color: #fff; }
.section-divider-white { width: 64px; height: 3px; background: #fff; border-radius: 2px; margin: 14px 0 20px; }
.safety-list { list-style: none; padding: 0; margin: 0; }
.safety-list li { padding: 7px 0; color: #fde8d4; display: flex; align-items: center; gap: 12px; }
.safety-list li::before {
  content: "✓";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #bbf7d0;
  font-size: 0.78rem;
  font-weight: 700;
}
.safety-stat-box {
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
}
.safety-stat-box .safety-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.safety-stat-box .safety-lbl { color: #fff; font-size: 1rem; margin-bottom: 6px; }

@media (max-width: 640px) {
  .project-detail-modal { padding: 12px; }
  .project-detail-dialog { padding: 28px 18px 20px; }
  .project-detail-grid { grid-template-columns: 1fr; gap: 18px; }
  .project-detail-media > img { height: 300px; }
  .project-detail-arrow { width: 36px; height: 36px; font-size: 1.7rem; }
  .project-detail-content { max-height: 300px; padding: 0 10px 12px 0; }
  .project-detail-specifications ul { grid-template-columns: 1fr; }
  .who-media-icon { width: 46px; height: 46px; font-size: 1.2rem; }
  .who-media-caption .cap-title { font-size: 0.9rem; padding: 6px 12px; }
  .who-media-caption .cap-sub { font-size: 0.82rem; }
  .info-chip { padding: 10px 14px; font-size: 0.82rem; }
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 1.5rem; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-close { top: 10px; right: 14px; font-size: 1.6rem; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-block { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .site-header .navbar { position: relative; }
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-card);
    padding: 12px 24px 20px;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--gray-100);
    font-weight: 600;
    color: var(--navy-800);
  }
  .mobile-menu a.active { color: var(--orange-700); }
  .mobile-menu a[href="contact.html"] {
    background: var(--grad-brand-soft);
    color: #fff;
    border-radius: 8px;
    text-align: center;
    border-bottom: none;
    margin-top: 6px;
  }

  .topbar .topbar-left span:nth-child(2) { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .stat-grid, .stat-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .hero-content { padding: 90px 0 70px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-actions, .cta-actions { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .contact-info-panel, .contact-form-panel { padding: 32px 24px; }
  .pricing-card.featured { transform: none; }
  .alert-strip .container { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-stats { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-grid, .stat-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2rem; }
  .brand span { display: none; }
  .brand .brand-sub { display: none; }
}

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
