/* ==========================================================================
   ABG EPCM FZCO — Premium Corporate Design System
   Colors sampled directly from the official logo:
     Navy  #092B58  (primary corporate blue)
     Red   #D1121A  (accent / flame mark)
   Pure HTML5 + CSS3 + Vanilla JS. No frameworks, no build step.
   ========================================================================== */

:root {
  /* Brand */
  --navy: #092b58;
  --navy-700: #0d3670;
  --navy-600: #12428c;
  --navy-deep: #051a38;
  --navy-900: #030f22;
  --red: #d1121a;
  --red-dark: #a30d13;
  --red-light: #ff4b53;

  /* Neutrals */
  --white: #ffffff;
  --light-gray: #f4f6f9;
  --light-gray-2: #eaeef3;
  --mid-gray: #8b93a1;
  --dark-gray: #2b3038;
  --text-body: #4a5162;
  --border-soft: rgba(9, 43, 88, 0.1);

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(5, 26, 56, 0.06);
  --shadow-md: 0 12px 32px rgba(5, 26, 56, 0.1);
  --shadow-lg: 0 24px 64px rgba(5, 26, 56, 0.16);
  --shadow-red: 0 12px 32px rgba(209, 18, 26, 0.25);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;

  /* Layout */
  --container: 1280px;
  --nav-height: 88px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: "Inter", "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

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

section {
  position: relative;
}

/* ---------- Utility ---------- */
.section-pad {
  padding: 110px 0;
}
@media (max-width: 768px) {
  .section-pad { padding: 72px 0; }
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(209, 18, 26, 0.25);
  background: rgba(209, 18, 26, 0.06);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
}
.section-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-top: 20px;
  max-width: 720px;
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--red);
}

.section-subtitle {
  margin-top: 18px;
  max-width: 620px;
  font-size: 1.125rem;
  color: var(--text-body);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* Centered variant of .section-head: stacked column, everything
   horizontally centered (overrides the base row/space-between/
   flex-end layout used for the default left-title + right-link header). */
.section-head.center {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(209, 18, 26, 0.35);
}

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

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-soft);
}
.btn-outline-navy:hover {
  border-color: var(--navy);
  background: rgba(9, 43, 88, 0.04);
}

.btn-sm { padding: 12px 24px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.navbar.is-solid {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  height: 76px;
}
/* Pages other than the homepage always show the solid nav (dark text)
   because their hero sections are not full-bleed under the nav in the
   same way — handled by body.subpage below */
body.subpage .navbar { background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); height: 76px; }
body.subpage .nav-link { color: var(--navy); }
body.subpage .nav-logo img { filter: none; }
body.subpage .nav-toggle span { background: var(--navy); }

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 46px;
  width: auto;
  transition: var(--transition);
}
.navbar:not(.is-solid) .nav-logo img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  position: relative;
  padding: 8px 0;
  transition: var(--transition);
}
.navbar.is-solid .nav-link { color: var(--navy); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover { color: var(--red); }
.navbar.is-solid .nav-link:hover { color: var(--red); }

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 1100;
}
.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.is-solid .nav-toggle span { background: var(--navy); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 992px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--navy-deep);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links .nav-link { color: var(--white) !important; font-size: 1.25rem; }
  .nav-cta { margin-left: 0; margin-top: 12px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  animation: heroZoom 24s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 26, 56, 0.75) 0%, rgba(5, 26, 56, 0.55) 40%, rgba(9, 43, 88, 0.92) 100%),
    linear-gradient(115deg, rgba(9, 43, 88, 0.6), rgba(209, 18, 26, 0.12) 60%);
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  animation: floatShape 10s ease-in-out infinite;
}
.hero-shape.s1 { width: 14px; height: 14px; background: var(--red); top: 22%; left: 10%; animation-delay: 0s; }
.hero-shape.s2 { width: 8px; height: 8px; background: var(--white); top: 65%; left: 18%; animation-delay: 1.5s; }
.hero-shape.s3 { width: 10px; height: 10px; background: var(--red); top: 40%; right: 14%; animation-delay: 3s; }
.hero-shape.s4 { width: 6px; height: 6px; background: var(--white); top: 78%; right: 22%; animation-delay: 2s; }
@keyframes floatShape {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-26px); }
}

.hero-content {
  max-width: 760px;
  padding-top: var(--nav-height);
}

.hero-eyebrow {
  /* inline-block (not inline-flex) so multi-word/mixed-markup content
     wraps as normal prose on narrow screens instead of each text node
     becoming its own flex item */
  display: inline-block;
  padding: 9px 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.1s forwards;
}
.hero-eyebrow span { color: var(--red-light); margin: 0 6px; }

.hero-title {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin-top: 26px;
  line-height: 1.08;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.25s forwards;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(90deg, #ff8a8f, var(--red-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin-top: 26px;
  max-width: 620px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.4s forwards;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.55s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(rgba(255, 255, 255, 0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@media (max-width: 480px) {
  .hero-eyebrow {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    font-size: 0.68rem;
    padding: 8px 16px;
    letter-spacing: 0.1em;
  }
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Sub-page hero (shorter, used on inner pages) */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: var(--navy-deep);
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero-bg { animation: none; }
.page-hero .hero-overlay {
  background: linear-gradient(180deg, rgba(5, 26, 56, 0.82), rgba(9, 43, 88, 0.94));
}
.page-hero-content { padding: 60px 0; }
.breadcrumb {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb a:hover { color: var(--red-light); }
.breadcrumb span { margin: 0 8px; }

/* ==========================================================================
   Cards / Grids
   ========================================================================== */
.grid {
  display: grid;
  gap: 32px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Base icon-box (used standalone in cards not covered by a more
   specific rule below) — those rules override size/spacing as needed. */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(209, 18, 26, 0.08);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card {
  padding: 40px 32px;
  position: relative;
}
.service-card .icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(209, 18, 26, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 24px;
  transition: var(--transition);
}
.service-card:hover .icon-box {
  background: var(--red);
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.service-card p { font-size: 0.95rem; }
.service-card .learn-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 600;
  font-size: 0.88rem;
}

.media-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 340px;
}
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.media-card:hover img { transform: scale(1.08); }
.media-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 26, 56, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.media-card-overlay .tag {
  align-self: flex-start;
  padding: 5px 14px;
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 12px;
}
.media-card-overlay h3 { color: var(--white); font-size: 1.3rem; }
.media-card-overlay p { color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; margin-top: 6px; }

/* Industry cards */
.industry-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  isolation: isolate;
}
.industry-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s var(--ease);
}
.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(9,43,88,0.15), rgba(5,26,56,0.92));
}
.industry-card:hover img { transform: scale(1.1); }
.industry-card .icon-box {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  margin-bottom: 14px;
}
.industry-card h3 { color: var(--white); font-size: 1.2rem; }

/* Why choose us */
.feature-row {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.feature-row .icon-box {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(9, 43, 88, 0.06);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-row h4 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-row p { font-size: 0.92rem; }

/* ==========================================================================
   Stats counter
   ========================================================================== */
.stats-section {
  background: var(--navy);
  background-image: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-item { text-align: center; }
.stat-number {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.stat-number .suffix { color: var(--red-light); }
.stat-label {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(209,18,26,0.35), transparent 70%);
  top: -180px; right: -120px;
  z-index: -1;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.7); max-width: 560px; margin: 18px auto 0; }
.cta-band .btn-row { margin-top: 34px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-band { padding: 44px 26px; } }

/* Testimonials */
.testimonial-card {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--border-soft);
}
.testimonial-card .quote-mark { color: var(--red); font-size: 2.5rem; font-family: Georgia, serif; line-height: 1; }
.testimonial-card p { margin-top: 14px; font-style: italic; }
.testimonial-person { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: "Poppins", sans-serif;
}
.testimonial-person strong { display: block; color: var(--navy); font-size: 0.92rem; }
.testimonial-person span { font-size: 0.8rem; color: var(--mid-gray); }

/* News cards */
.news-card { }
.news-card .news-img { height: 200px; overflow: hidden; }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-card .news-body { padding: 26px; }
.news-date { font-size: 0.78rem; color: var(--red); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.news-card h3 { font-size: 1.1rem; margin-top: 10px; }
.news-card p { font-size: 0.9rem; margin-top: 10px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: 90px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-logo img { height: 42px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-col ul li { margin-bottom: 13px; }
.footer-col a { transition: var(--transition); font-size: 0.92rem; }
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 0.9rem; }
.footer-contact svg { flex-shrink: 0; color: var(--red); margin-top: 2px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.newsletter-form { display: flex; margin-top: 6px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid rgba(255,255,255,0.15); }
.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: none;
  padding: 13px 16px;
  color: var(--white);
  font-size: 0.88rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  background: var(--red);
  color: var(--white);
  padding: 0 20px;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--red-dark); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { margin-left: 20px; }
.footer-bottom a:hover { color: var(--white); }

/* ==========================================================================
   Scroll reveal animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { }

/* Loading screen */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring {
  width: 54px; height: 54px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 500;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 15px 18px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--light-gray);
  color: var(--navy);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
}
.form-note { font-size: 0.8rem; color: var(--mid-gray); margin-top: 6px; }
.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(9,43,88,0.06);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 0.92rem;
  margin-top: 20px;
}
.form-success.is-visible { display: block; }

/* ==========================================================================
   Misc page components
   ========================================================================== */
.value-card { text-align: center; padding: 36px 26px; }
.value-card .icon-box { margin: 0 auto 20px; }

.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--border-soft); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item::before {
  content: "";
  position: absolute; left: -32px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(209,18,26,0.15);
}
.timeline-year { color: var(--red); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; }
.timeline-item h4 { margin-top: 6px; font-size: 1.1rem; }
.timeline-item p { margin-top: 6px; font-size: 0.92rem; }

/* Filter tabs (Projects page) */
.filter-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-tab {
  padding: 11px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--border-soft);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}
.filter-tab:hover { border-color: var(--red); color: var(--red); }
.filter-tab.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.project-card { display: none; }
.project-card.is-shown { display: block; animation: fadeUp 0.5s var(--ease) forwards; }

/* Job listings (Careers) */
.job-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px 34px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
  transition: var(--transition);
}
.job-card:hover { border-color: var(--red); box-shadow: var(--shadow-sm); }
.job-card h3 { font-size: 1.1rem; }
.job-meta { display: flex; gap: 18px; margin-top: 10px; flex-wrap: wrap; }
.job-meta span { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--mid-gray); }
.job-meta svg { color: var(--red); }

/* Map placeholder */
.map-placeholder {
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--light-gray);
}
.map-placeholder iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

/* Policy list */
.policy-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 14px;
}
.policy-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--red);
  transform: rotate(45deg);
}

/* Two column 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-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); width: 100%; height: 480px; object-fit: cover; }
.split-media-badge {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}
@media (max-width: 640px) { .split-media-badge { left: 0; bottom: -20px; padding: 16px 20px; } }
.split-media-badge .num { font-family: "Poppins", sans-serif; font-size: 2rem; font-weight: 700; color: var(--navy); }
.split-media-badge .lbl { font-size: 0.78rem; color: var(--mid-gray); max-width: 110px; line-height: 1.3; }

.bg-light { background: var(--light-gray); }
.bg-navy { background: var(--navy); color: rgba(255,255,255,0.75); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }

.text-white { color: var(--white) !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

.skeleton-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
}
.skeleton-404 .code {
  font-family: "Poppins", sans-serif;
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  background: linear-gradient(120deg, var(--navy), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
