/* ===================================================================
   ACRUX ENGINEERING SERVICES LIMITED — Design System
=================================================================== */

:root {
  --navy-900: #0a1526;
  --navy-800: #0f1e38;
  --navy-700: #17294a;
  --navy-600: #203760;
  --amber-600: #d98a12;
  --amber-500: #f2a93b;
  --amber-400: #ffc25c;
  --amber-100: #fdf1de;
  --gray-900: #12161f;
  --gray-700: #47516a;
  --gray-500: #6b7488;
  --gray-300: #d7dbe4;
  --gray-100: #eef1f6;
  --gray-50: #f7f8fb;
  --white: #ffffff;

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --container: 1220px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(15, 30, 56, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 30, 56, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 30, 56, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  margin: 0 0 .5em;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--gray-700); }
button { font-family: inherit; cursor: pointer; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--amber-500);
  display: inline-block;
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.section-head p { font-size: 17px; }

.section-pad { padding: 96px 0; }
.bg-navy { background: var(--navy-800); color: var(--white); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,.72); }
.bg-soft { background: var(--gray-50); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn-primary { background: var(--amber-500); color: var(--navy-900); box-shadow: 0 10px 24px rgba(242,169,59,.35); }
.btn-primary:hover { background: var(--amber-400); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(242,169,59,.4); }
.btn-dark { background: var(--navy-800); color: var(--white); }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); transform: translateY(-3px); }
.btn-outline-dark { background: transparent; border-color: var(--gray-300); color: var(--navy-800); }
.btn-outline-dark:hover { border-color: var(--navy-800); background: var(--navy-800); color: var(--white); transform: translateY(-3px); }
.btn:hover svg { transform: translateX(3px); }
.btn-block { width: 100%; justify-content: center; }

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-100);
  color: var(--amber-600);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-head);
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: transform, opacity;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-scale.in-view { opacity: 1; transform: scale(1); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-left.in-view { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-right.in-view { opacity: 1; transform: translateX(0); }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; background: var(--navy-900);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.loader-mark { width: 56px; height: 56px; position: relative; }
.loader-mark svg { width: 100%; height: 100%; animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(15,30,56,.06);
  transition: box-shadow .3s ease, padding .3s ease;
}
.navbar.scrolled { box-shadow: 0 8px 24px rgba(15,30,56,.1); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--navy-800); letter-spacing: .01em; }
.brand-text span { font-size: 10px; letter-spacing: .12em; color: var(--amber-600); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 10px 16px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--navy-700);
  border-radius: 999px;
  transition: color .3s ease, background .3s ease;
}
.nav-links a:hover { background: var(--gray-100); }
.nav-links a.active { color: var(--amber-600); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--amber-500); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy-800); }
.nav-phone svg { width: 18px; height: 18px; color: var(--amber-500); }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 160px 0 120px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(10,21,38,.94) 8%, rgba(10,21,38,.72) 45%, rgba(15,30,56,.55) 100%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--amber-400); }
.hero .eyebrow::before { background: var(--amber-400); }
.hero h1 { color: var(--white); font-size: clamp(38px, 5.6vw, 68px); max-width: 780px; }
.hero p.lead { color: rgba(255,255,255,.8); font-size: 18px; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-shapes .shape { position: absolute; opacity: .5; animation: float 8s ease-in-out infinite; }
.hero-shapes .shape:nth-child(2) { animation-delay: 1.4s; animation-duration: 10s; }
.hero-shapes .shape:nth-child(3) { animation-delay: 2.6s; animation-duration: 7s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(6deg); }
}

.hero-edge {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0;
}
.hero-edge svg { width: 100%; height: auto; display: block; }

.hero.small { min-height: 56vh; padding: 150px 0 90px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.breadcrumb svg { width: 14px; height: 14px; }
.breadcrumb .current { color: var(--amber-400); font-weight: 600; }

/* ---------- Stats strip ---------- */
.facts-strip {
  position: relative; z-index: 4;
  margin-top: -64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.facts-strip .fact { padding: 30px 26px; border-right: 1px solid var(--gray-100); }
.facts-strip .fact:last-child { border-right: none; }
.facts-strip .fact .icon { width: 40px; height: 40px; color: var(--amber-500); margin-bottom: 14px; }
.facts-strip .fact h4 { font-size: 16px; margin-bottom: 4px; }
.facts-strip .fact p { font-size: 13.5px; margin: 0; color: var(--gray-500); }

/* ---------- About snippet / split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.media-frame { position: relative; }
.media-frame::before {
  content: ""; position: absolute; top: -20px; left: -20px; width: 100%; height: 100%;
  border: 2px solid var(--amber-400); border-radius: var(--radius-md); z-index: 1;
}
.media-badge {
  position: absolute; bottom: -24px; right: -24px; z-index: 3;
  background: var(--navy-800); color: var(--white);
  padding: 20px 26px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-head);
}
.media-badge .icon { width: 34px; height: 34px; color: var(--amber-400); flex: none; }
.media-badge strong { display: block; font-size: 15px; }
.media-badge span { font-size: 12.5px; color: rgba(255,255,255,.65); }

.check-list { margin: 22px 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--navy-800); font-size: 15px; }
.check-list .tick { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--amber-100); color: var(--amber-600); display: flex; align-items: center; justify-content: center; }
.check-list .tick svg { width: 12px; height: 12px; }

/* ---------- Cards: Services ---------- */
.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: 24px; }

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 38px 30px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px;
  background: var(--amber-100); border-radius: 50%; opacity: 0; transition: opacity .4s ease, transform .5s ease;
  transform: scale(.6);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { opacity: 1; transform: scale(1); }
.service-card .num { position: absolute; top: 28px; right: 30px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--gray-300); }
.service-icon {
  width: 62px; height: 62px; border-radius: 16px;
  background: var(--navy-800); color: var(--amber-400);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; position: relative; z-index: 2;
  transition: background .4s ease, transform .4s ease;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card:hover .service-icon { background: var(--amber-500); color: var(--navy-900); transform: rotate(-6deg) scale(1.05); }
.service-card h3 { font-size: 20px; position: relative; z-index: 2; }
.service-card p { font-size: 14.5px; position: relative; z-index: 2; margin-bottom: 18px; }
.service-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy-800); position: relative; z-index: 2; }
.service-link svg { width: 16px; height: 16px; transition: transform .3s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- Values ---------- */
.value-card { text-align: center; padding: 36px 24px; }
.value-icon {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 22px;
  background: linear-gradient(145deg, var(--amber-100), var(--white));
  border: 1px solid var(--amber-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-600);
  transition: transform .4s var(--ease);
}
.value-card:hover .value-icon { transform: translateY(-6px) rotate(-4deg); }
.value-icon svg { width: 32px; height: 32px; }
.value-card h3 { font-size: 18px; }
.value-card p { font-size: 14px; }

/* ---------- Projects / gallery ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-bar button {
  background: var(--white); border: 1px solid var(--gray-300); color: var(--gray-700);
  padding: 10px 20px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  transition: all .3s ease;
}
.filter-bar button.active, .filter-bar button:hover { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-grid .g-item.tall { grid-row: span 2; }
.g-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); aspect-ratio: 4/3.4; }
.gallery-grid .tall img { aspect-ratio: 4/8.2; }
.g-item::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,21,38,.86) 0%, rgba(10,21,38,0) 55%);
  opacity: 0; transition: opacity .4s ease; z-index: 1;
}
.g-item:hover::before { opacity: 1; }
.g-item:hover img { transform: scale(1.08); }
.g-caption {
  position: absolute; left: 20px; right: 20px; bottom: -30px; z-index: 2;
  opacity: 0; transition: opacity .4s ease, bottom .4s ease; color: var(--white);
}
.g-item:hover .g-caption { opacity: 1; bottom: 20px; }
.g-caption .tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-400); font-weight: 700; }
.g-caption strong { display: block; font-family: var(--font-head); font-size: 16px; margin-top: 4px; }
.g-expand {
  position: absolute; top: 16px; right: 16px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  color: var(--white); opacity: 0; transform: scale(.8); transition: all .35s ease;
}
.g-item:hover .g-expand { opacity: 1; transform: scale(1); }
.g-expand svg { width: 16px; height: 16px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(8,14,26,.94); z-index: 3000;
  display: flex; align-items: center; justify-content: center; padding: 40px;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(90vw, 1000px); max-height: 82vh; border-radius: 12px; box-shadow: var(--shadow-lg); transform: scale(.94); transition: transform .35s ease; }
.lightbox.open img { transform: scale(1); }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: var(--white);
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .3s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-close { top: 28px; right: 28px; }
.lightbox-nav.prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-nav svg, .lightbox-close svg { width: 20px; height: 20px; }
.lightbox-caption { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-family: var(--font-head); font-size: 14px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 64px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.cta-banner .cta-text h2 { color: var(--white); font-size: clamp(24px,3vw,34px); margin-bottom: 10px; }
.cta-banner .cta-text p { color: rgba(255,255,255,.7); margin: 0; max-width: 460px; }
.cta-banner .cta-actions { display: flex; gap: 14px; flex-shrink: 0; }
.cta-decor { position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; opacity: .5; }

/* ---------- Timeline / delivery ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.timeline .step { position: relative; padding: 34px 26px 26px; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--gray-100); }
.timeline .step .step-no {
  width: 44px; height: 44px; border-radius: 12px; background: var(--navy-800); color: var(--amber-400);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; margin-bottom: 18px;
}
.timeline .step h4 { font-size: 16px; }
.timeline .step p { font-size: 13.5px; margin: 0; }
.timeline .step:not(:last-child)::after {
  content: ""; position: absolute; top: 55px; right: -26px; width: 26px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gray-300) 0 6px, transparent 6px 12px);
  display: none;
}
@media (min-width: 900px) { .timeline .step:not(:last-child)::after { display: block; } }

/* ---------- HSE policy ---------- */
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.policy-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-md); padding: 34px; }
.policy-card .service-icon { background: var(--amber-100); color: var(--amber-600); }

/* ---------- Team / testimonial-free info panels ---------- */
.info-badge-row { display: flex; gap: 16px; flex-wrap: wrap; }
.info-badge {
  display: flex; align-items: center; gap: 12px; background: var(--white);
  border: 1px solid var(--gray-100); border-radius: 999px; padding: 10px 20px 10px 12px; box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--navy-800);
}
.info-badge .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--amber-100); color: var(--amber-600); display: flex; align-items: center; justify-content: center; }
.info-badge .dot svg { width: 15px; height: 15px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.contact-card-list { display: flex; flex-direction: column; gap: 18px; }
.contact-info-card {
  display: flex; gap: 18px; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-md);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease;
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-info-card .service-icon { margin-bottom: 0; flex: none; width: 52px; height: 52px; border-radius: 14px; }
.contact-info-card .service-icon svg { width: 24px; height: 24px; }
.contact-info-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.contact-info-card p { font-size: 14px; margin: 0; }
.contact-info-card a { color: var(--navy-800); font-weight: 600; }

.contact-form-wrap { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; position: relative; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--navy-800); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--gray-300);
  font-family: var(--font-body); font-size: 14.5px; color: var(--navy-800); background: var(--gray-50);
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber-500); background: var(--white); box-shadow: 0 0 0 4px rgba(242,169,59,.15);
}
.field .error-msg { display: none; color: #d64545; font-size: 12.5px; margin-top: 6px; font-weight: 500; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d64545; }
.field.invalid .error-msg { display: block; }
.form-success {
  display: none; align-items: center; gap: 14px; background: #eafaf0; border: 1px solid #bdeccd; color: #1c7a44;
  padding: 18px 22px; border-radius: var(--radius-sm); margin-top: 18px; font-weight: 600; font-size: 14px;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-top: 30px; height: 340px; position: relative; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.15); }

/* ---------- Footer ---------- */
footer { background: var(--navy-900); color: rgba(255,255,255,.65); padding-top: 80px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand-text strong, .footer-brand .brand-text span { color: var(--white); }
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.55); max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center; transition: background .3s ease, transform .3s ease;
}
.footer-social a:hover { background: var(--amber-500); color: var(--navy-900); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }
footer h4 { color: var(--white); font-family: var(--font-head); font-size: 15px; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14.5px; transition: color .3s ease, padding-left .3s ease; }
.footer-links a:hover { color: var(--amber-400); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; font-size: 14px; margin-bottom: 16px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--amber-400); flex: none; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 13px; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--amber-400); }
.footer-mark { position: absolute; right: -40px; bottom: -40px; width: 260px; opacity: .05; }

.back-to-top {
  position: fixed; right: 26px; bottom: 26px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--amber-500); color: var(--navy-900); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); border: none; z-index: 500; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .35s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--amber-400); transform: translateY(-4px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Page header (about/services/contact) ---------- */
.page-hero { background: var(--navy-800); }

/* ---------- Decorative dot grid ---------- */
.dot-grid { position: absolute; width: 140px; height: 140px; opacity: .5; }

/* ---------- Misc animations ---------- */
.pulse-ring {
  position: absolute; border: 1px solid rgba(242,169,59,.4); border-radius: 50%;
  animation: pulse 3s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.marquee-strip { background: var(--navy-800); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 13.5px; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 16px; }
.marquee-track span svg { width: 16px; height: 16px; color: var(--amber-500); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================================================================
   Responsive
=================================================================== */
@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .facts-strip { grid-template-columns: repeat(2, 1fr); }
  .facts-strip .fact:nth-child(2) { border-right: none; }
  .facts-strip .fact:nth-child(odd) { }
  .contact-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .policy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .g-item.tall { grid-row: span 1; }
  .gallery-grid .tall img { aspect-ratio: 4/3.4; }
}
@media (max-width: 820px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .navbar.mobile-open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--white); padding: 16px 24px 24px; box-shadow: var(--shadow-md); gap: 4px;
  }
  .navbar.mobile-open .nav-links a { padding: 14px 16px; }
  .cta-banner { flex-direction: column; text-align: center; padding: 48px 30px; }
  .cta-banner .cta-actions { flex-wrap: wrap; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section-pad { padding: 64px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .facts-strip { grid-template-columns: 1fr; margin-top: 24px; }
  .facts-strip .fact { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .gallery-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 80px; min-height: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-block-mobile { width: 100%; justify-content: center; }
}
