/* ============================================================
   MasterClad Systems - Main Stylesheet
   Brand colour: #0054AE  |  Font: Montserrat
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* ── Reset & Variables ───────────────────────────────────── */
:root {
  --blue:       #0054AE;
  --blue-dark:  #003d80;
  --blue-light: #1a6ec2;
  --accent:     #e8f0fb;
  --steel:      #6b7c93;
  --white:      #ffffff;
  --off-white:  #f5f8fc;
  --text:       #1a1a2e;
  --text-light: #556074;
  --border:     #dce6f0;
  --shadow:     0 4px 24px rgba(0,84,174,.12);
  --shadow-lg:  0 12px 48px rgba(0,84,174,.18);
  --radius:     8px;
  --radius-lg:  16px;
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: .6rem;
}

/* ── Layout ──────────────────────────────────────────────── */
.container {
  width: 92%;
  max-width: 1200px;
  margin-inline: auto;
}

/* NO global nth-child rule - each section controls its own bg */
section { padding: 80px 0; }

.section-alt { background: var(--off-white); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--accent);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

/* ── Header / Nav ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,84,174,.07);
  transition: box-shadow 0.35s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  transition: height 0.35s ease;
}

/* site-logo img - see custom block below */
.site-logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.02em;
}
.site-logo-text span { color: var(--steel); font-weight: 400; }


/* ── Page Hero ───────────────────────────────────────────── */
/* Explicit blue background - not affected by any nth-child rule */
.page-hero {
  background: #0054AE !important;
  color: var(--white);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero .container { position: relative; }

.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p  { font-size: 1.15rem; opacity: .88; max-width: 600px; font-weight: 400; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

/* ── Marquee / Trust strip ───────────────────────────────── */
.feature-strip {
  background: var(--blue-dark);
  color: var(--white);
  padding: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.1);
}

/* Desktop: normal flex row */
.strip-inner {
  display: flex;
  align-items: stretch;
}

.strip-items-desktop { display: none; }

.strip-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 1.5rem;
  border-right: 1px solid rgba(255,255,255,.12);
  flex: 1;
  justify-content: center;
}
.strip-item:last-child { border-right: none; }
.strip-item i { font-size: .9rem; opacity: .75; flex-shrink: 0; }

/* Mobile marquee - hidden on desktop */
.strip-marquee-wrap {
  display: block;
  overflow: hidden;
  padding: 16px 0;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.strip-marquee {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.strip-marquee:hover { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 2rem;
  border-right: 1px solid rgba(255,255,255,.15);
}
.marquee-item i { font-size: .85rem; opacity: .7; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--blue);
}

.card-icon svg { width: 26px; height: 26px; }

/* ── Grid Helpers ────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Stat Block ──────────────────────────────────────────── */
.stat-block {
  text-align: center;
  padding: 1.5rem;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  display: block;
  margin-bottom: .3rem;
}
.stat-label {
  font-size: .875rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ── Section Heading ─────────────────────────────────────── */
.section-heading {
  margin-bottom: 3rem;
}
.section-heading.centered { text-align: center; }
.section-heading p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-top: .75rem;
  max-width: 600px;
}
.section-heading.centered p { margin-inline: auto; }

/* ── Table ───────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.data-table th {
  background: var(--blue);
  color: var(--white);
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.data-table td {
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--off-white); }
.data-table th:first-child { border-radius: var(--radius) 0 0 0; }
.data-table th:last-child  { border-radius: 0 var(--radius) 0 0; }

.table-wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ── Checklist ───────────────────────────────────────────── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .95rem;
  color: var(--text-light);
}
.checklist li::before {
  content: '';
  flex-shrink: 0;
  margin-top: .2rem;
  width: 18px;
  height: 18px;
  background: var(--blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── Placeholder Image ───────────────────────────────────── */
.img-placeholder {
  background: linear-gradient(135deg, var(--accent) 0%, var(--border) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 600;
  font-size: .875rem;
  min-height: 280px;
  border: 2px dashed var(--blue);
  opacity: .7;
}

/* ── Contact Form ────────────────────────────────────────── */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,84,174,.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
  font-size: .9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .site-logo-text { color: var(--white); font-size: 1.2rem; }
.footer-brand p { margin-top: .75rem; line-height: 1.7; color: rgba(255,255,255,.6); }

.footer-col h4 {
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }

.footer-contact-list { list-style: none; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .6rem;
  color: rgba(255,255,255,.65);
}
.footer-contact-list li i { flex-shrink: 0; margin-top: 2px; width: 14px; text-align: center; color: #fff; font-size: .85rem; line-height: 1.5; }

.footer-logo-img {
  height: 64px;
  width: auto;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  display: block;
  margin-bottom: 1.1rem;
}

.footer-social {
  display: flex;
  gap: .6rem;
  margin-top: .85rem;
  margin-bottom: .5rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  transition: all var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a { color: rgba(255,255,255,.55); }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 1.2rem;
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: .5; }

/* ── Test Results ────────────────────────────────────────── */
.test-pass {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: #16a34a;
  font-weight: 600;
  font-size: .85rem;
}

/* ── Highlight Box ───────────────────────────────────────── */
.highlight-box {
  background: var(--accent);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  font-size: .95rem;
  color: var(--text);
}

/* ── Fade-in animation ───────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }

  /* Switch to marquee on tablet too */
  .strip-items-desktop { display: none; }
  .strip-marquee-wrap  { display: block; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  .header-inner { position: relative; }

  /* Marquee on mobile */
  .strip-items-desktop { display: none; }
  .strip-marquee-wrap  { display: block; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .page-hero { padding: 60px 0 50px; }
  h1 { font-size: 1.8rem; }
}

/* ============================================================
   NAV REBUILD - replaces old .site-nav rules
   ============================================================ */

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: .1rem;
}

/* nav-link stacked icon style removed */





.nav-chevron {
  font-size: .55rem !important;
  margin-top: .1rem;
  transition: transform var(--transition);
}

/* INFO Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: .4rem 0;
  z-index: 2000;
  overflow: hidden;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  background: var(--white);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem 1.25rem;
  border-radius: 0;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--accent);
  color: var(--blue);
  margin: 0 .4rem;
  width: calc(100% - .8rem);
  border-radius: var(--radius);
  padding-left: .85rem;
  padding-right: .85rem;
}

.nav-dropdown-menu a i {
  width: 16px;
  text-align: center;
  color: var(--blue);
  font-size: .85rem;
  flex-shrink: 0;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
  animation: dropDown .18s ease;
}

.nav-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown.is-open .nav-link {
  color: var(--blue);
  background: var(--accent);
}

@keyframes dropDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}





/* Mobile controls */
.mobile-controls {
  display: none;
  align-items: center;
  gap: .5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h, 80px);
  bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
  padding-top: 30px;
  padding-bottom: 1rem;
  animation: slideDown .22s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

body.mobile-nav-open {
  overflow: hidden;
}

.mobile-nav-section {
  display: flex;
  flex-direction: column;
  padding: .5rem .75rem 0;
}

.mobile-nav-section--sub {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  margin: 0 .75rem .5rem;
  padding: .5rem .6rem;
  border: 1px solid var(--border);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .75rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--accent);
  color: var(--blue);
}

.mobile-nav-link i {
  width: 18px;
  text-align: center;
  color: var(--blue);
  font-size: .9rem;
  flex-shrink: 0;
}

.mobile-nav-link--sub {
  font-size: .82rem;
  color: var(--text-light);
  padding: .55rem .75rem;
}

.mobile-nav-link--sub:hover,
.mobile-nav-link--sub.active {
  background: var(--accent);
  color: var(--blue);
}

.mobile-nav-link--sub i {
  font-size: .8rem;
  color: var(--steel);
}

.mobile-nav-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.25rem .4rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 1100px) {
  .site-nav    { display: none !important; }
  .nav-toggle  { display: flex; }
}


/* ============================================================
   DOWNLOAD CARDS - downloads.php
   ============================================================ */

.dl-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all var(--transition);
}

.dl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.dl-card--missing {
  opacity: .65;
}

.dl-card--missing:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

/* Header row - icon + size/type */
.dl-card__header {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.1rem 1.25rem .75rem;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}

.dl-card__icon {
  width: 42px;
  height: 42px;
  background: #fee2e2;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #cc2200;
  font-size: 1.4rem;
  line-height: 1;
}
.dl-pdf-icon {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  color: #cc2200;
}
.dl-pdf-icon::before {
  content: "\f1c1";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  font-size: 1.4rem;
  color: #cc2200;
  display: block;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

.dl-card__meta {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.dl-card__size {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.dl-card__size--coming {
  color: var(--steel);
}

.dl-card__type {
  font-size: .7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

/* Body - title + description */
.dl-card__body {
  padding: 1.1rem 1.25rem;
  flex: 1;
}

.dl-card__title {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: .5rem;
}

.dl-card__desc {
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Footer - action buttons */
.dl-card__footer {
  display: flex;
  gap: .6rem;
  padding: .85rem 1.25rem 1.1rem;
  border-top: 1px solid var(--border);
  background: var(--off-white);
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .95rem;
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.dl-btn--view {
  background: var(--blue);
  color: var(--white);
}

.dl-btn--view:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.dl-btn--download {
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--border);
}

.dl-btn--download:hover {
  border-color: var(--blue);
  background: var(--accent);
  color: var(--blue);
}

.dl-btn--disabled {
  background: var(--off-white);
  color: var(--text-light);
  border: 1.5px solid var(--border);
  font-size: .78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .95rem;
  border-radius: var(--radius);
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .dl-card__footer { flex-direction: column; }
  .dl-btn, .dl-btn--disabled { justify-content: center; }
}

/* ============================================================
   YOUR CUSTOM OVERRIDES
   ============================================================ */

/* Strip SVG sizing (your original) */
.strip-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.strip-items {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding: 20px 0;
  flex-wrap: nowrap;
}

/* Logo - your original styling */
.site-logo {
  position: relative;
}
.site-logo img {
  height: 100px;
  width: auto;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,.15);
  position: relative;
  top: 25px;
  transition: height 0.35s ease,
              padding 0.35s ease,
              top 0.35s ease,
              box-shadow 0.35s ease,
              border-radius 0.35s ease;
}

/* ============================================================
   NAV LINKS - flat horizontal style (no stacked icons)
   ============================================================ */

/* Standard nav links - flat, same as your original */
.site-nav a {
  padding: .5rem .9rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-light);
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--blue);
  background: var(--accent);
}

/* Info dropdown toggle active state - when on a child page */
.nav-dropdown-toggle.active {
  color: var(--blue);
  background: var(--accent);
  border-radius: var(--radius);
}

/* Info dropdown toggle - same style as nav links */
.nav-dropdown-toggle {
  padding: .5rem .9rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-light);
  transition: all var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle {
  color: var(--blue);
  background: var(--accent);
}

.nav-chevron {
  font-size: .65rem;
  transition: transform var(--transition);
}

.nav-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
}

/* ── Contact button ─────────────────────────────────────── */
.nav-contact-btn {
  margin-left: .5rem;
  padding: .5rem 1.1rem;
  background: var(--blue);
  color: var(--white) !important;
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
  transition: box-shadow .25s ease, transform .25s ease;
}
.nav-contact-btn:hover,
.nav-contact-btn:focus,
.nav-contact-btn.active {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,84,174,.55);
  text-decoration: none;
}


/* ============================================================
   SCROLLED HEADER STATE
   Added via JS: site-header.is-scrolled after 80px scroll
   ============================================================ */

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0,84,174,.15);
}

.site-header.is-scrolled .header-inner {
  height: 64px;
}

/* Logo shrinks flush inside header - no droop, no shadow
.site-header.is-scrolled .site-logo img {
  height: 42px;
  padding: 0;
  top: 0;
  box-shadow: none;
  border-radius: 6px;
}
*/







/* ============================================================
   ADDED FROM PAGES TO MERGE - MAY BE ISSUES BELOW SO CHECK IT
   ============================================================ */

/* ── hero image panel ── */

/* Make hero position:relative so we can absolutely place the image */
.mb-hero {
  position: relative;
  overflow: hidden; /* prevents any bleed */
}



/* ── Large screen breakpoint (1400px+) ──────────────────────
   Prevents content looking narrow/sucked-in on large monitors  */
@media (min-width: 1400px) {
  .container {
    max-width: 1360px;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1520px;
  }
}



/* Slower marquee on desktop */
@media (min-width: 1025px) {
  .strip-marquee { animation-duration: 45s; }
}

/* ── Hero image - locked style (demo5.php) ───────────────── */
.hero-img {
  position: absolute;
  right: calc((100% - min(1200px, 92%)) / 2);
  top: 50%;
  transform: translateY(-50%);
  height: 90%;
  width: auto;
  max-width: 42%;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: none;
  mask-image: none;
}
@media (max-width: 767px) {
  .hero-img { display: none !important; }
  .page-hero div[style*="max-width:50%"] { max-width: 100% !important; }
}

/* ── Downloads tab system ────────────────────────────────── */
/* ── Downloads tab system ────────────────────────────────── */
.dl-tabs-primary {
  display: flex;
  gap: .6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.dl-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1.5rem;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-light);
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}
.dl-tab-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--accent);
}
.dl-tab-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,84,174,.3);
}
.dl-tab-btn .dl-tab-count {
  background: rgba(0,0,0,.08);
  font-size: .7rem;
  font-weight: 800;
  padding: .1rem .45rem;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}
.dl-tab-btn.active .dl-tab-count {
  background: rgba(255,255,255,.25);
  color: #fff;
}

/* Sub tabs */
.dl-tabs-secondary {
  display: none;
  gap: .4rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.dl-tabs-secondary.visible { display: flex; }
.dl-subtab-btn {
  padding: .45rem 1rem;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: .76rem;
  font-weight: 700;
  color: var(--text-light);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.dl-subtab-btn:hover { border-color: var(--blue); color: var(--blue); }
.dl-subtab-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Tab panels */
.dl-tab-panel { display: none; }
.dl-tab-panel.active { display: block; }
.dl-subtab-panel { display: none; }
.dl-subtab-panel.active { display: block; }

/* Info Sidebar */
.legal-sidebar h4 {
	display: block;
    width: 100%;
}

/* Mobile Menu Logo */
@media (max-width: 1100px) {
  .site-logo {
    position: relative;
    z-index: 1000;
  }
}