/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: #222b3a; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── TOKENS ── */
:root {
  --blue:    #1a3a6b;
  --blue2:   #1e4fa0;
  --yellow:  #f5a800;
  --ylight:  #ffc93c;
  --offwhite:#f4f6fb;
  --muted:   #5a6a82;
  --border:  #dce4f0;
  --white:   #fff;
  --text:    #222b3a;
}

/* ══════════════════════════════════
   TOP BAR
══════════════════════════════════ */
.topbar {
  background: var(--blue);
  color: #b8ccee;
  font-size: 13px;
  padding: 7px 0;
}
.topbar .wrap {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px;
}
.topbar .left i { color: var(--yellow); margin-right: 6px; }
.topbar .right a { color: #b8ccee; margin-left: 14px; font-size: 13px; transition: color .2s; }
.topbar .right a:hover { color: var(--yellow); }

/* ══════════════════════════════════
   HEADER UPPER
══════════════════════════════════ */
.header-upper { background: #fff; border-bottom: 1px solid var(--border); padding: 16px 0; }
.header-upper .wrap {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.logo-wrap { display: flex; align-items: center; gap: 14px; }
.logo-icon {
  width: 62px; height: 62px; background: var(--blue2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-icon i { color: var(--yellow); font-size: 26px; }
.logo-text .brand { font-family: 'Raleway', sans-serif; font-size: 24px; font-weight: 900; color: var(--blue); line-height: 1.1; }
.logo-text .sub { font-size: 10.5px; color: var(--muted); letter-spacing: 3px; text-transform: uppercase; }
.contact-chips { display: flex; gap: 22px; flex-wrap: wrap; }
.chip { display: flex; align-items: center; gap: 12px; }
.chip-ico {
  width: 42px; height: 42px; background: var(--offwhite);
  border: 2px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.chip-ico i { color: var(--blue2); font-size: 15px; }
.chip-info strong { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.chip-info span { font-size: 14px; font-weight: 700; color: var(--blue); }

/* ══════════════════════════════════
   NAVIGATION  (with dropdown)
══════════════════════════════════ */
.main-nav {
  background: #fff;
  border-bottom: 3px solid var(--yellow);
  position: sticky; top: 0; z-index: 999;
  box-shadow: 0 2px 14px rgba(26,58,107,.09);
}
.main-nav .wrap {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: stretch;
}

/* ─ Menu list ─ */
.nav-menu { list-style: none; display: flex; align-items: stretch; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 0 17px; height: 56px;
  font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
  color: var(--text); transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-menu > li > a .arr { font-size: 10px; margin-top: 1px; transition: transform .25s; }
.nav-menu > li:hover > a { color: var(--blue2); background: var(--offwhite); }
.nav-menu > li.active > a { color: var(--blue2); border-bottom: 3px solid var(--yellow); }

/* ─ Dropdown L1 ─ */
.nav-menu > li > ul {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; min-width: 240px;
  box-shadow: 0 8px 32px rgba(0,0,0,.13);
  border-top: 3px solid var(--yellow);
  list-style: none; z-index: 1000;
}
.nav-menu > li:hover > ul { display: block; }
.nav-menu > li:hover > a .arr { transform: rotate(180deg); }

.nav-menu > li > ul > li { position: relative; }
.nav-menu > li > ul > li > a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 18px; font-size: 13px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--border); transition: background .15s, color .15s;
}
.nav-menu > li > ul > li > a:hover { background: var(--offwhite); color: var(--blue2); padding-left: 22px; }

/* ─ Dropdown L2 ─ */
.nav-menu > li > ul > li > ul {
  display: none; position: absolute; top: 0; left: 100%;
  background: #fff; min-width: 230px;
  box-shadow: 6px 6px 20px rgba(0,0,0,.12);
  border-top: 3px solid var(--yellow);
  list-style: none; z-index: 1001;
}
.nav-menu > li > ul > li:hover > ul { display: block; }
.nav-menu > li > ul > li > ul > li > a {
  display: block; padding: 10px 16px; font-size: 13px; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--border); transition: background .15s, color .15s;
}
.nav-menu > li > ul > li > ul > li > a:hover { background: var(--offwhite); color: var(--blue2); }

/* Dropdown L3 */
.nav-menu > li > ul > li > ul > li { position: relative; }
.nav-menu > li > ul > li > ul > li > ul {
  display: none; position: absolute; top: 0; left: 100%;
  background: #fff; min-width: 220px;
  box-shadow: 6px 6px 20px rgba(0,0,0,.12);
  border-top: 3px solid var(--yellow);
  list-style: none; z-index: 1002;
}
.nav-menu > li > ul > li > ul > li:hover > ul { display: block; }
.nav-menu > li > ul > li > ul > li > ul > li > a {
  display: block; padding: 10px 16px; font-size: 13px; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--border); transition: background .15s;
}
.nav-menu > li > ul > li > ul > li > ul > li > a:hover { background: var(--offwhite); color: var(--blue2); }

/* chevron for items that have children */
.has-sub > a::after { content: '›'; margin-left: auto; padding-left: 10px; font-size: 15px; color: var(--muted); }

/* Quote button */
.btn-quote {
  align-self: center; margin-left: 12px;
  background: var(--yellow); color: var(--blue) !important;
  padding: 10px 22px; font-size: 13px; font-weight: 800;
  border-radius: 2px; white-space: nowrap; transition: background .2s;
  display: flex; align-items: center; gap: 7px;
}
.btn-quote:hover { background: var(--ylight); }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 12px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--blue); margin: 5px 0; transition: .3s; }

/* ══════════════════════════════════
   HERO / SLIDER (static)
══════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #0d2246 0%, #1a3a6b 55%, #1e4fa0 100%);
  min-height: 520px; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 80px 24px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg,rgba(255,255,255,.015) 0,rgba(255,255,255,.015) 1px,transparent 1px,transparent 22px);
}
.hero-content { max-width: 640px; position: relative; z-index: 2; }
.hero-eyebrow { font-size: 12px; color: var(--yellow); letter-spacing: 4px; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.hero h1 { font-family: 'Raleway', sans-serif; font-size: clamp(32px,5vw,56px); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { color: var(--yellow); }
.hero p { font-size: 16px; color: #aac2e8; line-height: 1.7; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-btns a {
  padding: 13px 30px; font-size: 14px; font-weight: 700; border-radius: 2px;
  transition: background .2s, color .2s;
}
.btn-solid { background: var(--yellow); color: var(--blue); }
.btn-solid:hover { background: var(--ylight); }
.btn-outline { border: 2px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }

/* Slider dots */
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: background .2s; }
.hero-dots span.on { background: var(--yellow); }

.btn-quote {
  background: var(--yellow); color: var(--blue) !important;
  padding: 11px 26px !important; font-weight: 800 !important;
  border-radius: 2px; transition: background .2s !important;
  white-space: nowrap;
}
.btn-quote:hover { background: var(--yellow-lt) !important; }

/* ── PAGE TITLE / HERO ── */
.page-hero {
  background: var(--blue);
  background-image: linear-gradient(135deg, #0d2246 0%, #1a3a6b 60%, #1e4fa0 100%);
  padding: 64px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.015) 0, rgba(255,255,255,.015) 1px, transparent 1px, transparent 20px);
}
.page-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(28px, 5vw, 46px); font-weight: 900;
  color: var(--white); letter-spacing: 1px;
  position: relative;
}
.page-hero h1 span { color: var(--yellow); }
.breadcrumb-bar { margin-top: 16px; font-size: 13px; color: #99b4d8; position: relative; }
.breadcrumb-bar a { color: var(--yellow); }
.breadcrumb-bar span { margin: 0 8px; }

/* ── CONTENT CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── INTRO SECTION ── */
.intro-section { padding: 60px 0 40px; }
.intro-section h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 26px; font-weight: 800; color: var(--blue);
  border-left: 4px solid var(--yellow); padding-left: 16px; margin-bottom: 18px;
}
.intro-section p { font-size: 15px; line-height: 1.8; color: #444; margin-bottom: 14px; }

/* ── BULLET GRID ── */
.bullet-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px; margin: 24px 0 32px;
}
.bullet-item {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--offwhite); border-left: 3px solid var(--yellow);
  padding: 12px 14px; border-radius: 2px;
  font-size: 14px; font-weight: 600; color: var(--blue);
}
.bullet-item i { color: var(--yellow); margin-top: 2px; flex-shrink: 0; }

/* ── SECTION DIVIDER ── */
.sec-title {
  font-family: 'Raleway', sans-serif; font-size: 20px; font-weight: 800;
  color: var(--blue-mid); text-transform: uppercase; letter-spacing: 1px;
  border-bottom: 2px solid var(--yellow); padding-bottom: 8px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.sec-title i { color: var(--yellow); font-size: 18px; }

/* ── KEY FEATURES ── */
.features-section { background: var(--offwhite); padding: 56px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--white); border-radius: 4px;
  border-top: 4px solid var(--yellow);
  padding: 24px 20px;
  box-shadow: 0 2px 10px rgba(26,58,107,.07);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26,58,107,.12); }
.feature-card .icon {
  width: 48px; height: 48px; background: var(--blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature-card .icon i { color: var(--yellow); font-size: 20px; }
.feature-card h4 { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.feature-card ul { list-style: none; padding: 0; }
.feature-card ul li {
  font-size: 13px; color: #555; padding: 4px 0;
  border-bottom: 1px dashed var(--border);
  display: flex; gap: 8px; align-items: flex-start;
}
.feature-card ul li:last-child { border-bottom: none; }
.feature-card ul li::before { content: '›'; color: var(--yellow); font-weight: 700; flex-shrink: 0; }

/* ── SERVICES SECTION ── */
.services-section { padding: 60px 0; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media(max-width:768px){ .services-grid { grid-template-columns: 1fr; } }
.service-block { }
.service-items { list-style: none; padding: 0; }
.service-items li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; font-size: 14px; color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.service-items li:hover { background: var(--offwhite); }
.service-items li .num {
  width: 28px; height: 28px; background: var(--blue);
  color: var(--white); font-size: 12px; font-weight: 700;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ── BENEFITS SECTION ── */
.benefits-section {
  background: var(--blue);
  background-image: linear-gradient(135deg, #0d2246 0%, #1a3a6b 100%);
  padding: 60px 0;
}
.benefits-section h3 {
  font-family: 'Raleway', sans-serif; font-size: 28px; font-weight: 900;
  color: var(--white); text-align: center; margin-bottom: 40px;
}
.benefits-section h3 span { color: var(--yellow); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.benefit-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px; padding: 24px 18px; text-align: center;
  transition: background .2s;
}
.benefit-card:hover { background: rgba(255,255,255,.13); }
.benefit-card i { font-size: 32px; color: var(--yellow); margin-bottom: 12px; display: block; }
.benefit-card p { font-size: 13px; color: #ccdaee; line-height: 1.5; }

/* ── AIM SECTION ── */
.aim-section { padding: 60px 0; background: var(--offwhite); }
.aim-section .aim-title {
  text-align: center; font-family: 'Raleway', sans-serif;
  font-size: 26px; font-weight: 900; color: var(--blue); margin-bottom: 36px;
}
.aim-section .aim-title span { color: var(--yellow); }
.aim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media(max-width:640px){ .aim-grid { grid-template-columns: 1fr; } }
.aim-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--white); padding: 14px 16px;
  border-radius: 3px; border-left: 3px solid var(--blue-mid);
  font-size: 14px; color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.aim-item .num { color: var(--yellow); font-weight: 800; flex-shrink: 0; }

/* ── FOOTER ── */
footer {
  background: #0d1f3c;
  color: #8aabcf;
  padding: 48px 0 0;
}
footer .foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 32px;
  padding-bottom: 40px; flex-wrap: wrap;
}
@media(max-width:900px){ footer .foot-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:540px){ footer .foot-grid { grid-template-columns: 1fr; } }
footer h4 { color: var(--white); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
footer p { font-size: 13px; line-height: 1.8; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 8px; font-size: 13px; }
footer ul li a:hover { color: var(--yellow); }
footer .contact-li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 13px; }
footer .contact-li i { color: var(--yellow); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0; text-align: center; font-size: 12px; color: #4a6a8a;
}
.foot-logo { font-family: 'Raleway', sans-serif; font-size: 20px; font-weight: 900; color: var(--white); margin-bottom: 12px; }
.foot-logo span { color: var(--yellow); }

/* ══════════════════════════════════
   ABOUT SECTION
══════════════════════════════════ */
.about-section { padding: 80px 0; background: #fff; }
.about-section .wrap {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
@media(max-width:860px){ .about-section .wrap { grid-template-columns: 1fr; } }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; border-radius: 4px; object-fit: cover; min-height: 360px; background: var(--offwhite); }
.exp-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--yellow); color: var(--blue);
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Raleway', sans-serif; font-weight: 900;
  box-shadow: 0 6px 24px rgba(245,168,0,.4);
}
.exp-badge .num { font-size: 30px; line-height: 1; }
.exp-badge .lab { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; text-align: center; line-height: 1.2; }
.about-content .eyebrow { font-size: 12px; color: var(--yellow); letter-spacing: 4px; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.about-content h2 { font-family: 'Raleway', sans-serif; font-size: 32px; font-weight: 900; color: var(--blue); margin-bottom: 16px; }
.about-content h2 span { color: var(--blue2); }
.about-divider { width: 48px; height: 4px; background: var(--yellow); margin-bottom: 18px; border-radius: 2px; }
.about-content p { font-size: 14.5px; color: #444; line-height: 1.8; margin-bottom: 14px; }
.about-features { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.feat-box { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.feat-box i { color: var(--yellow); }
.about-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn-pro {
  background: var(--blue); color: #fff;
  padding: 12px 28px; border-radius: 2px; font-size: 14px; font-weight: 700;
  transition: background .2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-pro:hover { background: var(--blue2); }
.call-info { display: flex; align-items: center; gap: 10px; }
.call-info i { color: var(--yellow); font-size: 22px; }
.call-info small { display: block; font-size: 11px; color: var(--muted); }
.call-info strong { font-size: 15px; color: var(--blue); }

/* ══════════════════════════════════
   PRODUCTS SECTION
══════════════════════════════════ */
.products-section { padding: 70px 0; background: var(--offwhite); }
.products-section .wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-family: 'Raleway', sans-serif; font-size: 32px; font-weight: 900; color: var(--blue); margin-bottom: 10px; }
.section-head h2 span { color: var(--blue2); }
.section-head p { color: var(--muted); font-size: 15px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 24px; }
.prod-card {
  background: #fff; border-radius: 4px;
  border-top: 4px solid var(--yellow);
  box-shadow: 0 2px 12px rgba(26,58,107,.07);
  overflow: hidden; transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(26,58,107,.13); }
.prod-img {
  height: 180px; background: var(--offwhite);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-img .ico { font-size: 54px; color: var(--border); }
.prod-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.prod-body h5 { font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 800; color: var(--blue); margin-bottom: 12px; }
.prod-body ul { list-style: none; padding: 0; margin-bottom: 18px; flex: 1; }
.prod-body ul li {
  font-size: 13px; color: #555; padding: 4px 0;
  border-bottom: 1px dashed var(--border); display: flex; gap: 7px;
}
.prod-body ul li::before { content: '›'; color: var(--yellow); font-weight: 700; }
.prod-body .btn-learn {
  align-self: flex-start;
  background: var(--blue); color: #fff;
  padding: 8px 20px; font-size: 13px; font-weight: 700;
  border-radius: 20px; transition: background .2s;
}
.prod-body .btn-learn:hover { background: var(--blue2); }

/* ══════════════════════════════════
   LEGACY / STATS SECTION
══════════════════════════════════ */
.legacy-section {
  background: linear-gradient(135deg, #0d2246 0%, #1a3a6b 100%);
  padding: 80px 0; position: relative; overflow: hidden;
}
.legacy-section::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg,rgba(255,255,255,.015) 0,rgba(255,255,255,.015) 1px,transparent 1px,transparent 22px);
}
.legacy-section .wrap {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
@media(max-width:860px){ .legacy-section .wrap { grid-template-columns: 1fr; } }
.legacy-eyebrow { font-size: 12px; color: var(--yellow); letter-spacing: 5px; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.legacy-section h2 { font-family: 'Raleway', sans-serif; font-size: clamp(28px,3.5vw,42px); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 20px; }
.legacy-section h2 span { color: var(--yellow); }
.legacy-section p { font-size: 14.5px; color: #aac2e8; line-height: 1.8; margin-bottom: 32px; }
.stats-row { display: flex; gap: 32px; flex-wrap: wrap; }
.stat-item { }
.stat-item .num { font-family: 'Raleway', sans-serif; font-size: 36px; font-weight: 900; color: var(--yellow); line-height: 1; }
.stat-item .lab { font-size: 12px; color: #8aabcf; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.legacy-img { position: relative; }
.legacy-img img { width: 100%; border-radius: 4px; object-fit: cover; min-height: 320px; background: rgba(255,255,255,.05); }
.legacy-frame {
  position: absolute; inset: -12px;
  border: 2px solid rgba(245,168,0,.3);
  border-radius: 4px; pointer-events: none;
}

/* ══════════════════════════════════
   CLIENTS SECTION
══════════════════════════════════ */
.clients-section { padding: 52px 0; background: #fff; border-top: 1px solid var(--border); }
.clients-section .wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.clients-title { text-align: center; margin-bottom: 28px; }
.clients-title h4 { font-family: 'Raleway', sans-serif; font-size: 18px; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.clients-title .bar { width: 40px; height: 3px; background: var(--yellow); margin: 0 auto; border-radius: 2px; }
.clients-track-wrap { overflow: hidden; }
.clients-track {
  display: flex; gap: 32px; align-items: center;
  animation: scroll-clients 28s linear infinite;
  width: max-content;
}
.clients-track:hover { animation-play-state: paused; }
.client-logo {
  height: 52px; min-width: 120px; background: var(--offwhite);
  border: 1px solid var(--border); border-radius: 3px;
  display: flex; align-items: center; justify-content: center; padding: 8px 18px;
  font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 1px;
  flex-shrink: 0;
}
@keyframes scroll-clients {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════
   FOOTER (alt block – duplicate definitions retained from source)
══════════════════════════════════ */
footer .wrap {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.8fr; gap: 36px;
  padding-bottom: 44px;
}
@media(max-width:900px){ footer .wrap { grid-template-columns: 1fr 1fr; } }
@media(max-width:540px){ footer .wrap { grid-template-columns: 1fr; } }
.foot-logo-text { font-family: 'Raleway', sans-serif; font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 12px; }
.foot-logo-text span { color: var(--yellow); }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 13px; line-height: 1.6; }
.foot-contact li i { color: var(--yellow); margin-top: 2px; flex-shrink: 0; }
.footer-bottom .socials a { color: #4a6a8a; margin-left: 12px; font-size: 14px; transition: color .2s; }
.footer-bottom .socials a:hover { color: var(--yellow); }

/* iframe */
.map-frame { width: 100%; height: 200px; border: 0; border-radius: 3px; margin-top: 8px; }

/* ── Mobile nav ── */
@media(max-width:900px){
  .nav-menu { display: none; flex-direction: column; width: 100%; }
  .nav-menu.open { display: flex; }
  .main-nav .wrap { flex-wrap: wrap; padding: 0; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; margin-left: auto; }
  .nav-menu > li > a { padding: 0 20px; height: 46px; border-bottom: 1px solid var(--border); }
  .nav-menu > li > ul { position: static; border-top: none; box-shadow: none; display: none; background: var(--offwhite); }
  .nav-menu > li.open > ul { display: block; }
  .nav-menu > li > ul > li > ul { position: static; box-shadow: none; display: none; }
  .nav-menu > li > ul > li.open > ul { display: block; }
  .btn-quote { margin: 10px 20px; }
}
.fmcw-box{
    background:#fff;
    border-left:4px solid #f7931e;
    padding:20px;
    margin-bottom:20px;
    box-shadow:0 3px 10px rgba(0,0,0,0.08);
    border-radius:6px;
    transition:0.3s;
}
.fmcw-box:hover{
    transform:translateY(-5px);
}
.fmcw-box h5{
    margin-bottom:10px;
    color:#0b3b75;
    font-weight:600;
}
  .custom-features-section {
            padding: 40px 0;
            background-color: #ffffff;
        }
        .section-eyebrow {
            color: #1a3a6b;
            font-size: 14px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 5px;
        }
        .section-title {
            color: #222222;
            font-weight: 700;
            margin-bottom: 25px;
        }
        .section-title span {
            color: #1a3a6b;
        }
        /* मुख्य फ्लेक्स बॉक्स जो नेहमी शेजारी-शेजारी ठेवेल */
        .flex-side-by-side {
            display: flex;
            align-items: flex-start;
            gap: 30px;
        }
        .content-side {
            width: 60%;
        }
        .image-side {
            width: 40%;
            text-align: center;
        }
        /* वैशिष्ट्यांचे आकर्षक डिझाइन */
        .feat-item {
            background-color: #f8fafc;
            border-left: 3px solid #1a3a6b;
            padding: 10px 12px;
            margin-bottom: 8px;
            border-radius: 0 4px 4px 0;
            font-size: 14px;
            font-weight: 600;
            color: #334155;
            display: flex;
            align-items: center;
        }
        .feat-item i {
            color: #1a3a6b;
            margin-right: 10px;
            font-size: 16px;
        }
        /* इमेजचा बाह्य कव्हर बॉक्स */
        .radar-img-box {
            border: 1px solid #e2e8f0;
            padding: 15px;
            border-radius: 6px;
            background: #ffffff;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        /* ══════════════════════════════════
   MOBILE HORIZONTAL SCROLL FIX
   Add this AT THE END of your existing CSS file
   (or paste at the very top, right after the RESET block)
══════════════════════════════════ */

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* .flex-side-by-side had no mobile breakpoint —
   60%/40% fixed split was forcing extra width on small screens */
@media (max-width: 768px) {
  .flex-side-by-side {
    flex-direction: column;
    gap: 16px;
  }
  .content-side,
  .image-side {
    width: 100%;
  }
}

/* exp-badge sticks out -20px on each side; pull it in on mobile */
@media (max-width: 768px) {
  .exp-badge {
    right: 10px;
    bottom: -14px;
    width: 84px;
    height: 84px;
  }
  .exp-badge .num { font-size: 22px; }
  .exp-badge .lab { font-size: 8px; }

  .legacy-frame { inset: -6px; }
}

/* ══════════════════════════════════
   MOBILE HORIZONTAL SCROLL FIX
   Add this AT THE END of your existing CSS file
   (or paste at the very top, right after the RESET block)
══════════════════════════════════ */

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* .flex-side-by-side had no mobile breakpoint —
   60%/40% fixed split was forcing extra width on small screens */
@media (max-width: 768px) {
  .flex-side-by-side {
    flex-direction: column;
    gap: 16px;
  }
  .content-side,
  .image-side {
    width: 100%;
  }
}

/* Footer .wrap has an INLINE style in the HTML
   (style="grid-template-columns:1.1fr 0.9fr 1.6fr 1.2fr")
   which beats normal CSS media queries — !important needed here */
@media (max-width: 768px) {
  footer .wrap {
    grid-template-columns: 1fr !important;
  }
  footer .wrap ul[style*="column-count"] {
    column-count: 1 !important;
  }
}

/* exp-badge sticks out -20px on each side; pull it in on mobile */
@media (max-width: 768px) {
  .exp-badge {
    right: 10px;
    bottom: -14px;
    width: 84px;
    height: 84px;
  }
  .exp-badge .num { font-size: 22px; }
  .exp-badge .lab { font-size: 8px; }

  .legacy-frame { inset: -6px; }
}

/* ══════════════════════════════════════════════════════════════
   MEGI IMS PAGE ADDITIONS (moved from inline <style> in megi-ims.html)
   Appended after the sitewide rules above so page-specific overrides
   (e.g. the hover-dropdown nav, IMS-only sections) still win as before.
══════════════════════════════════════════════════════════════ */

:root {
  --blue:    #1a3a6b;
  --blue2:   #1e4fa0;
  --yellow:  #f5a800;
  --ylight:  #ffc93c;
  --offwhite:#f4f6fb;
  --muted:   #5a6a82;
  --border:  #dce4f0;
  --white:   #fff;
  --text:    #222b3a;
}

/* TOP BAR */
.topbar {background: var(--blue);color: #ffffff;font-size: 13px;padding: 7px 0;}
.topbar .wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar .left i { color: var(--yellow); margin-right: 6px; }
.topbar .right a { color: #b8ccee; margin-left: 14px; font-size: 13px; transition: color .2s; }
.topbar .right a:hover { color: var(--yellow); }

/* HEADER UPPER */
.header-upper { background: #fff; border-bottom: 1px solid var(--border); padding: 16px 0; }
.header-upper .wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.logo-wrap { display: flex; align-items: center; gap: 14px; }
.logo-wrap img { height: 90px; }
.contact-chips { display: flex; gap: 22px; flex-wrap: wrap; }
.chip { display: flex; align-items: center; gap: 12px; }
.chip-ico { width: 42px; height: 42px; background: var(--offwhite); border: 2px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.chip-ico i { color: var(--blue2); font-size: 15px; }
.chip-info strong { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.chip-info span { font-size: 14px; font-weight: 700; color: var(--blue); }

/* NAV */
.main-nav { background: #fff; border-bottom: 3px solid var(--yellow); position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 14px rgba(26,58,107,.09); }
.main-nav .wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: stretch; position: relative; }
.nav-menu { list-style: none; display: flex; align-items: stretch; flex-wrap: wrap; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: flex; align-items: center; gap: 5px; padding: 0 13px; height: 56px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .2px; color: var(--text); transition: color .2s, background .2s; white-space: nowrap; }
.nav-menu > li:hover > a { color: var(--blue2); background: var(--offwhite); }
.nav-menu > li.active > a { color: var(--blue2); border-bottom: 3px solid var(--yellow); }
.nav-menu .arr i { font-size: 10px; margin-left: 2px; }

/* Dropdown submenus */
.nav-menu li ul {
  list-style: none;
  position: absolute; top: 100%; left: 0;
  background: var(--white); min-width: 270px;
  box-shadow: 0 14px 28px rgba(26,58,107,.14);
  border-top: 3px solid var(--yellow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 1000;
}
.nav-menu li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu li ul li { position: relative; }
.nav-menu li ul li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; font-size: 13px; font-weight: 600; color: var(--text);
  white-space: nowrap; border-bottom: 1px solid var(--offwhite);
}
.nav-menu li ul li a:hover { background: var(--offwhite); color: var(--blue2); }
.nav-menu li ul ul { top: -3px; left: 100%; }
.has-sub > a::after {
  content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  font-size: 11px; color: var(--muted); margin-left: 10px;
}

.btn-quote { align-self: center; margin-left: 12px; background: var(--yellow); color: var(--blue) !important; padding: 10px 22px; font-size: 13px; font-weight: 800; border-radius: 2px; white-space: nowrap; transition: background .2s; display: flex; align-items: center; gap: 7px; }
.btn-quote:hover { background: var(--ylight); }

/* Mobile nav toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; align-self: center; }
.nav-toggle span { width: 26px; height: 3px; background: var(--blue); border-radius: 2px; }

@media(max-width:1140px){
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; flex-direction: column; width: 100%;
    position: absolute; top: 100%; left: 0; background: #fff;
    box-shadow: 0 14px 28px rgba(26,58,107,.14);
    max-height: 80vh; overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { height: auto; padding: 14px 20px; }
  .nav-menu li ul {
    position: static; box-shadow: none; opacity: 1; visibility: visible;
    transform: none; border-top: none; display: none; padding-left: 14px;
  }
  .nav-menu li.open > ul { display: block; }
  .btn-quote { display: none; }
}

/* PAGE HERO */
.page-hero { background: var(--blue); background-image: linear-gradient(135deg, #0d2246 0%, #1a3a6b 60%, #1e4fa0 100%); padding: 64px 24px 56px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.015) 0, rgba(255,255,255,.015) 1px, transparent 1px, transparent 20px); }
.page-hero h1 { font-family: 'Raleway', sans-serif; font-size: clamp(28px, 5vw, 46px); font-weight: 900; color: var(--white); letter-spacing: 1px; position: relative; }
.page-hero h1 span { color: var(--yellow); }
.page-hero .subtitle { margin-top: 10px; font-size: 14px; color: #b8ccee; position: relative; }
.breadcrumb-bar { margin-top: 16px; font-size: 13px; color: #99b4d8; position: relative; }
.breadcrumb-bar a { color: var(--yellow); }
.breadcrumb-bar span { margin: 0 8px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* INTRO + HERO IMAGE SECTION */
.intro-section { padding: 60px 0 40px; }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media(max-width:860px){ .intro-grid { grid-template-columns: 1fr; } }
.intro-section h2 { font-family: 'Raleway', sans-serif; font-size: 26px; font-weight: 800; color: var(--blue); border-left: 4px solid var(--yellow); padding-left: 16px; margin-bottom: 18px; }
.intro-section p { font-size: 15px; line-height: 1.8; color: #444; margin-bottom: 14px; }
.intro-img-wrap { position: relative; }
.intro-img-wrap img { width: 100%; border-radius: 4px; object-fit: cover; min-height: 260px; }
.intro-img-wrap .cap-badge {
  position: absolute; bottom: -16px; left: 16px;
  background: var(--white); border-left: 4px solid var(--yellow);
  padding: 10px 16px; box-shadow: 0 4px 18px rgba(26,58,107,.15);
  font-size: 12.5px; font-weight: 700; color: var(--blue);
  border-radius: 2px;
}
.authors-line { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 18px; }

/* COMPANY SNAPSHOT (from slide 2) */
.snapshot-section { background: var(--offwhite); padding: 56px 0; }
.sec-title { font-family: 'Raleway', sans-serif; font-size: 20px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid var(--yellow); padding-bottom: 8px; margin-bottom: 26px; display: flex; align-items: center; gap: 10px; }
.sec-title i { color: var(--yellow); font-size: 18px; }
.snapshot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.snap-card {
  background: var(--white); border-radius: 4px;
  border-top: 4px solid var(--yellow);
  padding: 20px 18px;
  box-shadow: 0 2px 10px rgba(26,58,107,.07);
}
.snap-card .label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--yellow); font-weight: 800; margin-bottom: 8px; }
.snap-card .value { font-size: 14px; color: var(--text); line-height: 1.6; }

/* MARKET CONTEXT SECTION (slide 3) */
.market-section { padding: 60px 0; }
.market-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
@media(max-width:860px){ .market-grid { grid-template-columns: 1fr; } }
.market-section p { font-size: 15px; line-height: 1.8; color: #444; margin-bottom: 14px; }
.share-bars { display: flex; flex-direction: column; gap: 14px; }
.share-row .share-label { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.share-track { background: var(--offwhite); border-radius: 20px; height: 14px; overflow: hidden; border: 1px solid var(--border); }
.share-fill { height: 100%; background: linear-gradient(90deg, var(--blue2), var(--yellow)); border-radius: 20px; }
.market-note {
  margin-top: 20px; background: var(--offwhite); border-left: 3px solid var(--yellow);
  padding: 14px 16px; font-size: 13px; color: var(--blue); border-radius: 2px;
}

/* WHY MEGI IMS / drivers */
.drivers-section { background: var(--blue); background-image: linear-gradient(135deg, #0d2246 0%, #1a3a6b 100%); padding: 56px 0; }
.drivers-section .sec-title { color: var(--white); border-bottom-color: var(--yellow); }
.drivers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 20px; }
.driver-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px; padding: 20px 18px;
}
.driver-card i { color: var(--yellow); font-size: 22px; margin-bottom: 10px; display: block; }
.driver-card p { font-size: 13.5px; color: #ccdaee; line-height: 1.7; }

/* SCREENSHOT / REPORTING FEATURE SECTION (slide 21) */
.feature-screen-section { padding: 60px 0; background: var(--offwhite); }
.fs-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
@media(max-width:860px){ .fs-grid { grid-template-columns: 1fr; } }
.fs-grid h2 { font-family: 'Raleway', sans-serif; font-size: 24px; font-weight: 800; color: var(--blue); border-left: 4px solid var(--yellow); padding-left: 16px; margin-bottom: 16px; }
.fs-grid p { font-size: 14.5px; line-height: 1.8; color: #444; margin-bottom: 14px; }
.fs-list { list-style: none; margin-top: 10px; }
.fs-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); padding: 6px 0; }
.fs-list li i { color: var(--yellow); margin-top: 3px; }
.screen-frame {
  background: var(--white); border-radius: 6px; padding: 16px;
  box-shadow: 0 10px 36px rgba(26,58,107,.16);
  border: 1px solid var(--border);
}
.screen-frame .titlebar {
  display: flex; align-items: center; gap: 6px; margin-bottom: 10px;
}
.screen-frame .titlebar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.screen-frame img { border-radius: 3px; border: 1px solid var(--border); }

/* CTA / Thank you derived banner */
.cta-section {
  background: var(--blue); background-image: linear-gradient(135deg, #0d2246 0%, #1e4fa0 100%);
  padding: 56px 0; text-align: center;
}
.cta-section h3 { font-family: 'Raleway', sans-serif; color: var(--white); font-size: 26px; font-weight: 900; margin-bottom: 12px; }
.cta-section h3 span { color: var(--yellow); }
.cta-section p { color: #b8ccee; font-size: 14.5px; margin-bottom: 24px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-btns a { padding: 13px 30px; font-size: 14px; font-weight: 700; border-radius: 2px; transition: background .2s, color .2s; }
.btn-solid { background: var(--yellow); color: var(--blue); }
.btn-solid:hover { background: var(--ylight); }
.btn-outline { border: 2px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }

/* FOOTER */
footer { background: #0d1f3c; color: #8aabcf; padding: 48px 0 0; }
footer .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 32px; padding-bottom: 40px; }
@media(max-width:900px){ footer .foot-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:540px){ footer .foot-grid { grid-template-columns: 1fr; } }
footer h4 { color: var(--white); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
footer p { font-size: 13px; line-height: 1.8; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 8px; font-size: 13px; }
footer ul li a:hover { color: var(--yellow); }
footer .contact-li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 13px; }
footer .contact-li i { color: var(--yellow); margin-top: 2px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; text-align: center; font-size: 12px; color: #4a6a8a; }
.foot-logo { font-family: 'Raleway', sans-serif; font-size: 20px; font-weight: 900; color: var(--white); margin-bottom: 12px; }
.foot-logo span { color: var(--yellow); }

/* ── KEY FEATURES (icon grid) ── */
.keyfeat-section { padding: 60px 0; background: #fff; }
.keyfeat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 22px; }
.kf-card { display: flex; gap: 16px; align-items: flex-start; }
.kf-ico {
  width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%;
  background: var(--offwhite); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.kf-ico i { color: var(--blue2); font-size: 21px; }
.kf-card h5 { font-size: 14.5px; font-weight: 800; color: var(--blue); margin-bottom: 6px; }
.kf-card p { font-size: 13px; color: #555; line-height: 1.6; }

/* ── SCADA FUNCTIONAL FEATURES (numbered list) ── */
.scada-section { background: var(--offwhite); padding: 60px 0; }
.scada-list { counter-reset: scada; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
@media(max-width:768px){ .scada-list { grid-template-columns: 1fr; } }
.scada-list li {
  counter-increment: scada; position: relative;
  background: var(--white); border-radius: 4px; padding: 14px 16px 14px 52px;
  font-size: 13.5px; color: var(--text); line-height: 1.6;
  box-shadow: 0 1px 6px rgba(26,58,107,.06);
}
.scada-list li::before {
  content: counter(scada);
  position: absolute; left: 14px; top: 14px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue); color: var(--yellow);
  font-weight: 800; font-size: 12.5px;
  display: flex; align-items: center; justify-content: center;
}
.scada-list li small { display: block; color: var(--muted); margin-top: 2px; }
.standards-note {
  margin-top: 22px; background: var(--white); border-left: 3px solid var(--yellow);
  padding: 14px 18px; font-size: 13.5px; color: var(--blue); border-radius: 2px;
}

/* ── MASS CALCULATION SECTION ── */
.masscalc-section { padding: 60px 0; }
.masscalc-intro { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 28px; }
.masscalc-intro strong { color: var(--blue); }
.option-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 36px; }
@media(max-width:860px){ .option-cards { grid-template-columns: 1fr; } }
.option-card {
  background: var(--white); border-top: 4px solid var(--yellow);
  border-radius: 4px; padding: 22px 22px 24px;
  box-shadow: 0 2px 12px rgba(26,58,107,.08);
}
.option-card .opt-tag {
  display: inline-block; background: var(--blue); color: var(--yellow);
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px; margin-bottom: 12px;
}
.option-card h5 { font-size: 15px; font-weight: 800; color: var(--blue); margin-bottom: 10px; line-height: 1.5; }
.option-card p { font-size: 13.5px; color: #555; line-height: 1.7; }

.diagram-block { margin-bottom: 40px; }
.diagram-block h4 {
  font-size: 16px; font-weight: 800; color: var(--blue);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.diagram-block h4 i { color: var(--yellow); }
.diagram-frame {
  background: var(--offwhite); border-radius: 6px; padding: 16px;
  border: 1px solid var(--border);
}
.diagram-frame { display: flex; align-items: center; justify-content: center; }
.diagram-frame img { border-radius: 3px; width: 100%; height: auto; margin: 0 auto; }

/* Aligned multi-diagram grid (uniform card height/width, centered images) */
.diagram-grid-2col {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; align-items: stretch; margin-top: 8px;
}
.diagram-block--col { margin-bottom: 0; display: flex; flex-direction: column; }
.diagram-block--col h4 { font-size: 14.5px; }
.diagram-frame--col {
  flex: 1; min-height: 220px;
  background: var(--offwhite); border: 1px solid var(--border); border-radius: 6px;
  padding: 14px; display: flex; align-items: center; justify-content: center;
}
.diagram-frame--col img { max-height: 260px; width: auto; max-width: 100%; object-fit: contain; }

.worked-example {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
  background: var(--blue); background-image: linear-gradient(135deg,#0d2246 0%,#1a3a6b 100%);
  border-radius: 6px; padding: 32px; margin-top: 10px;
}
@media(max-width:860px){ .worked-example { grid-template-columns: 1fr; } }
.worked-example .steps { list-style: none; counter-reset: step; }
.worked-example .steps li {
  counter-increment: step; color: #ccdaee; font-size: 13.5px; line-height: 1.7;
  padding: 6px 0 6px 30px; position: relative;
}
.worked-example .steps li::before {
  content: counter(step); position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); color: var(--blue);
  font-weight: 800; font-size: 11px; display: flex; align-items: center; justify-content: center;
}
.worked-example .result-box {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px; padding: 20px; text-align: center;
}
.worked-example .result-box .formula { color: #ffc93c; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.worked-example .result-box .final { color: #fff; font-size: 28px; font-weight: 900; font-family: 'Raleway', sans-serif; }
.worked-example .result-box .final span { color: var(--yellow); }
/* ══════════════════════════════════════════════════════════════
   MOBILE NAV — FINAL / AUTHORITATIVE (placed last so it always wins)
══════════════════════════════════════════════════════════════ */
@media (max-width:900px){

  .main-nav .wrap{
    flex-wrap: wrap;
    padding: 0;
  }

  .nav-toggle{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
  }

  .nav-menu{
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    order: 4;
    background: #fff;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    row-gap: 0;
  }
  .nav-menu.open{ display: flex; }

  .nav-menu > li{
    width: 100%;
    flex-shrink: 0;
  }
  .nav-menu > li > a{
    padding: 0 20px;
    height: 46px;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu > li > ul{
    position: static;
    border-top: none;
    box-shadow: none;
    display: none;
    background: var(--offwhite);
    min-width: 0;
    width: 100%;
  }
  .nav-menu > li.open > ul{ display: block; }

  .nav-menu > li > ul > li > ul{
    position: static;
    box-shadow: none;
    display: none;
    min-width: 0;
    width: 100%;
  }
  .nav-menu > li > ul > li.open > ul{ display: block; }

  .nav-menu > li > ul > li > ul > li > ul{
    position: static;
    box-shadow: none;
    display: none;
    min-width: 0;
    width: 100%;
  }
  .nav-menu > li > ul > li > ul > li.open > ul{ display: block; }

  .btn-quote{
    margin: 10px 20px;
    order: 5;
    flex-shrink: 0;
  }
}