/* ==========================================================================
   RM Engineers — Stylesheet
   Innovation · Structure · Quality
   ========================================================================== */

:root {
  --red: #d9321f;
  --red-dark: #b22418;
  --blue: #0b5a92;
  --blue-dark: #083f69;
  --blue-deep: #06263f;
  --ink: #16212b;
  --ink-soft: #4a5a68;
  --paper: #ffffff;
  --mist: #f4f7fa;
  --mist-2: #eaf0f5;
  --line: #e1e8ee;
  --gold: #f2a93b;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(6, 38, 63, 0.07);
  --shadow-md: 0 12px 32px rgba(6, 38, 63, 0.12);
  --shadow-lg: 0 24px 60px rgba(6, 38, 63, 0.18);

  --maxw: 1200px;
  --ff: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --ff-head: "Sora", "Manrope", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -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(--ff-head);
  line-height: 1.18;
  margin: 0 0 .5em;
  color: var(--blue-deep);
  font-weight: 800;
  overflow-wrap: break-word;
  word-break: break-word;
}
p { margin: 0 0 1em; color: var(--ink-soft); }
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.section-head { max-width: 680px; margin: 0 0 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(217,50,31,.3); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(217,50,31,.38); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--blue-deep); color: #fff; }
.btn-dark:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost { background: var(--mist-2); color: var(--blue-deep); }
.btn-ghost:hover { background: var(--line); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--blue-deep);
  color: #cfe0ee;
  font-size: .83rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-links { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-links a, .topbar-item { display: inline-flex; align-items: center; gap: 7px; color: #cfe0ee; }
.topbar-links a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; opacity: .85; flex: none; }
.topbar-ids { display: flex; gap: 18px; flex-wrap: wrap; opacity: .9; }
.topbar-ids b { color: #fff; font-weight: 700; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; font-family: var(--ff-head); font-weight: 800; font-size: 1.12rem; color: var(--blue-deep); letter-spacing: .01em; }
.brand-text span { display: block; font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .94rem;
  color: var(--ink);
  transition: background .18s ease, color .18s ease;
}
.nav-links a:hover { background: var(--mist-2); color: var(--blue-deep); }
.nav-links a.active { background: var(--blue-deep); color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .phone { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue-deep); font-size: .92rem; }
.nav-cta .phone svg { width: 18px; height: 18px; color: var(--red); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--blue-deep); position: relative; transition: all .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 960px) {
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 84vw);
    background: #fff; flex-direction: column; align-items: stretch; padding: 100px 22px 24px;
    box-shadow: -18px 0 40px rgba(6,38,63,.18); transition: right .28s ease; gap: 4px; }
  .nav-links.open { right: 0; }
  .nav-links a { padding: 14px 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta .phone span.phone-label { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(6,38,63,.45); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 90; }
  .nav-backdrop.open { opacity: 1; pointer-events: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 85% -10%, #0f76b8 0%, var(--blue-deep) 55%, #041b2e 100%);
  color: #fff;
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; right: -10%; top: 10%;
  width: 620px; height: 620px;
  background: conic-gradient(from 90deg, var(--red), var(--gold), var(--blue), var(--red));
  filter: blur(120px);
  opacity: .22;
  border-radius: 50%;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: 8px 16px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #d9ecfb; margin-bottom: 22px;
}
.hero-badge svg { width: 14px; height: 14px; color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { color: #cfe0ee; font-size: 1.12rem; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 46px; max-width: 560px; }
.hero-stats div strong { display: block; font-family: var(--ff-head); font-size: 1.7rem; color: #fff; }
.hero-stats div span { font-size: .78rem; color: #aecbe2; text-transform: uppercase; letter-spacing: .07em; }

.hero-art {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.15);
  aspect-ratio: 4/3.1;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(195deg, rgba(6,38,63,0) 40%, rgba(6,38,63,.75) 100%);
}
.hero-art .tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(255,255,255,.95); color: var(--blue-deep);
  padding: 10px 16px; border-radius: 12px; font-weight: 800; font-size: .85rem;
  display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-sm);
}
.hero-art .tag svg { width: 16px; height: 16px; color: var(--red); }

/* ---------- Marquee / trust strip ---------- */
.trust-strip { background: var(--mist); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 28px 44px; align-items: center; justify-content: center; padding: 22px 24px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--blue-deep); font-size: .92rem; }
.trust-item svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.trust-item small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .76rem; text-transform: none; }

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

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .thumb img { transform: scale(1.07); }
.product-card .thumb .num {
  position: absolute; top: 14px; left: 14px;
  background: var(--red); color: #fff; font-weight: 800; font-size: .78rem;
  padding: 5px 11px; border-radius: 999px;
}
.product-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.product-card p { font-size: .92rem; margin-bottom: 14px; }
.product-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.product-card .tags span { background: var(--mist-2); color: var(--blue-deep); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.product-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--red); font-size: .88rem; }
.product-card .more svg { width: 15px; height: 15px; transition: transform .18s ease; }
.product-card:hover .more svg { transform: translateX(4px); }

.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  box-shadow: 0 10px 20px rgba(11,90,146,.25);
}
.feature-card .icon svg { width: 26px; height: 26px; color: #fff; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: .92rem; margin-bottom: 0; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split.reverse .media { order: 2; }
.media { position: relative; }
.media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3.1; object-fit: cover; }
.media .frame {
  position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 2px solid var(--line); border-radius: var(--radius);
  background: var(--mist);
}
.check-list { margin: 20px 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 600; font-size: .96rem; }
.check-list svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 1px; }

/* ---------- Section backgrounds ---------- */
.section-alt { background: var(--mist); }
.section-dark {
  background: linear-gradient(160deg, var(--blue-deep), #0a3253 60%, var(--blue-deep));
  color: #d9ecfb;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #b9d2e5; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, #c22a19 60%, #9c1f12 100%);
  color: #fff; border-radius: 24px; padding: 54px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255,255,255,.12);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band p { color: #ffe0da; margin: 0; max-width: 460px; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.6); }

/* ---------- Timeline (About) ---------- */
.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--line); display: grid; gap: 30px; }
.timeline .step { position: relative; }
.timeline .step::before {
  content: ""; position: absolute; left: -35px; top: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line);
}
.timeline h4 { margin-bottom: 4px; font-size: 1.02rem; }
.timeline .yr { color: var(--red); font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2,1fr); } }
.stat-row .stat strong { display: block; font-family: var(--ff-head); font-size: 2.2rem; color: var(--blue-deep); }
.stat-row .stat span { font-size: .84rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }

/* ---------- Certification badges ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .cert-grid { grid-template-columns: 1fr; } }
.cert-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow-sm);
}
.cert-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--mist-2); display: flex; align-items: center; justify-content: center; flex: none; }
.cert-card .ic svg { width: 22px; height: 22px; color: var(--blue); }
.cert-card h4 { font-size: .95rem; margin-bottom: 4px; }
.cert-card .code { font-family: "SFMono-Regular", Consolas, monospace; font-size: .86rem; color: var(--red); font-weight: 700; word-break: break-all; }

/* ---------- Values ---------- */
.value-card { text-align: center; padding: 10px; }
.value-card .ring {
  width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: conic-gradient(from 180deg, var(--red), var(--gold), var(--blue), var(--red));
  padding: 4px;
}
.value-card .ring span { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.value-card .ring svg { width: 30px; height: 30px; color: var(--blue-deep); }
.value-card h3 { font-size: 1rem; }
.value-card p { font-size: .88rem; }

/* ---------- Product detail sections (products.html) ---------- */
.product-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.product-jump a {
  padding: 9px 18px; border-radius: 999px; background: var(--mist-2); font-weight: 700; font-size: .86rem;
  color: var(--blue-deep); border: 1px solid transparent; transition: all .18s ease;
}
.product-jump a:hover { border-color: var(--blue); background: #fff; }

.product-detail { border-top: 1px solid var(--line); padding: 72px 0; scroll-margin-top: 96px; }
.product-detail:first-of-type { border-top: none; }
.product-detail .split { align-items: flex-start; }
.product-detail .kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.product-detail .kicker .idx {
  width: 40px; height: 40px; border-radius: 12px; background: var(--blue-deep); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--ff-head);
}
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; margin: 22px 0; }
.spec-grid div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.spec-grid div b { color: var(--blue-deep); }
.spec-grid div span { color: var(--ink-soft); text-align: right; }

/* ---------- Industries / applications chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--mist-2); color: var(--blue-deep); font-weight: 700; font-size: .84rem; padding: 8px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
.chip svg { width: 15px; height: 15px; color: var(--red); }

/* ---------- Process steps ---------- */
.process-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
@media (max-width: 920px) { .process-row { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .process-row { grid-template-columns: 1fr; } }
.process-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; position: relative; }
.process-step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: .9rem; }
.process-step h4 { font-size: .9rem; margin-bottom: 4px; }
.process-step p { font-size: .78rem; margin: 0; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; gap: 16px; box-shadow: var(--shadow-sm);
}
.info-card .ic { width: 50px; height: 50px; border-radius: 13px; background: var(--mist-2); display: flex; align-items: center; justify-content: center; flex: none; }
.info-card .ic svg { width: 22px; height: 22px; color: var(--red); }
.info-card h3 { font-size: 1rem; margin-bottom: 6px; }
.info-card a, .info-card p { font-size: .94rem; }
.info-card a { color: var(--blue); font-weight: 700; }
.info-card a:hover { text-decoration: underline; }
.info-stack { display: grid; gap: 18px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); height: 100%; min-height: 360px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours-table td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--blue-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: #b9d2e5; padding-top: 68px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-brand .logo-chip {
  background: #fff; border-radius: 10px; padding: 6px 10px;
  display: flex; align-items: center; box-shadow: var(--shadow-sm);
}
.footer-brand img { height: 32px; width: auto; display: block; }
.footer-brand strong { color: #fff; font-family: var(--ff-head); font-size: 1.05rem; }
.site-footer p { color: #9fbdd4; font-size: .9rem; }
.site-footer h4 { color: #fff; font-size: .88rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: #b9d2e5; font-size: .92rem; transition: color .15s ease, padding-left .15s ease; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-bottom: 14px; color: #b9d2e5; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #87a7bf; }
.footer-bottom .ids { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--blue-deep), #0a3253 60%, #041b2e);
  color: #fff; padding: 76px 0 60px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 42px 42px; mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 90%);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: #9fbdd4; margin-bottom: 16px; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-hero p { color: #cfe0ee; max-width: 640px; font-size: 1.02rem; margin: 0; }

/* ---------- Misc ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.divider-icon { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--line); margin: 6px 0 30px; }
.divider-icon svg { width: 18px; height: 18px; color: var(--red); }
.divider-icon::before, .divider-icon::after { content: ""; height: 1px; width: 70px; background: var(--line); }
.back-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue-deep); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all .25s ease; z-index: 80; border: none; cursor: pointer;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top svg { width: 20px; height: 20px; }
