/* ==========================================================================
   Firefly Energy UK — Premium Corporate Stylesheet
   Operated by GB Trade & Logistics (GBTL)
   Bootstrap 5.3 Enhancement Layer
   ========================================================================== */

:root {
  --ff-navy: #071B36;
  --ff-navy-deep: #04101f;
  --ff-blue: #0057B8;
  --ff-blue-light: #1a6fc9;
  --ff-red: #E31E24;
  --ff-red-dark: #c4181d;
  --ff-grey-light: #F5F7FA;
  --ff-grey: #333333;
  --ff-grey-muted: #6b7280;
  --ff-white: #FFFFFF;
  --ff-border: rgba(7, 27, 54, 0.08);
  --ff-shadow: 0 8px 30px rgba(7, 27, 54, 0.08);
  --ff-shadow-lg: 0 20px 60px rgba(7, 27, 54, 0.12);
  --ff-radius: 16px;
  --ff-radius-sm: 10px;
  --ff-transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --ff-header-h: 118px;
  --ff-font-heading: 'Poppins', sans-serif;
  --ff-font-body: 'Inter', sans-serif;
  --ff-font-btn: 'Montserrat', sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ff-header-h) + 16px);
}

body {
  font-family: var(--ff-font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ff-grey);
  background: var(--ff-white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ff-blue);
  text-decoration: none;
  transition: color var(--ff-transition), opacity var(--ff-transition);
}

a:hover {
  color: var(--ff-navy);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-font-heading);
  font-weight: 600;
  color: var(--ff-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.display-hero {
  font-size: clamp(2.25rem, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 42px);
  margin-bottom: 1rem;
}

.card-title-lg {
  font-size: clamp(1.25rem, 2vw, 26px);
}

.lead-text {
  font-size: 1.125rem;
  color: var(--ff-grey-muted);
  max-width: 640px;
}

.text-navy { color: var(--ff-navy) !important; }
.text-blue { color: var(--ff-blue) !important; }
.text-accent { color: var(--ff-red) !important; }
.bg-navy { background-color: var(--ff-navy) !important; }
.bg-blue { background-color: var(--ff-blue) !important; }
.bg-soft { background-color: var(--ff-grey-light) !important; }

.section-pad {
  padding: 100px 0;
}

.section-pad-sm {
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-font-btn);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ff-blue);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--ff-red);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--ff-font-btn);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 0.9rem 1.75rem;
  border-width: 2px;
  position: relative;
  overflow: hidden;
  transition: all var(--ff-transition);
}

.btn-primary {
  background: var(--ff-blue);
  border-color: var(--ff-blue);
  color: var(--ff-white);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--ff-navy);
  border-color: var(--ff-navy);
  color: var(--ff-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 87, 184, 0.28);
}

.btn-accent {
  background: var(--ff-red);
  border-color: var(--ff-red);
  color: var(--ff-white);
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--ff-red-dark);
  border-color: var(--ff-red-dark);
  color: var(--ff-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(227, 30, 36, 0.28);
}

.btn-outline-light {
  color: var(--ff-white);
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--ff-white);
  color: var(--ff-navy);
  border-color: var(--ff-white);
}

.btn-outline-navy {
  color: var(--ff-navy);
  border-color: var(--ff-navy);
  background: transparent;
}

.btn-outline-navy:hover {
  background: var(--ff-navy);
  color: var(--ff-white);
}

.btn-outline-blue {
  color: var(--ff-blue);
  border-color: var(--ff-blue);
  background: transparent;
}

.btn-outline-blue:hover {
  background: var(--ff-blue);
  color: var(--ff-white);
}

.btn-ripple::after {
  content: '';
  position: absolute;
  left: var(--ripple-x, 50%);
  top: var(--ripple-y, 50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.btn-ripple.is-rippling::after {
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  to {
    width: 280px;
    height: 280px;
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  height: auto;
  min-height: var(--ff-header-h);
  overflow: visible;
  transition: background var(--ff-transition), box-shadow var(--ff-transition), backdrop-filter var(--ff-transition);
}

.site-header.is-transparent {
  background: transparent;
}

.site-header.is-sticky {
  background: rgba(7, 27, 54, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.site-header.is-solid {
  background: var(--ff-navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.navbar-ff {
  min-height: 72px;
  height: auto;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.navbar-ff > .container {
  display: block;
}

/* Top partner strip — GBTL lives here, not beside menu links */
.partner-strip {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(7, 27, 54, 0.08);
}

.site-header.is-transparent .partner-strip {
  background: rgba(255, 255, 255, 0.94);
}

.partner-strip-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  min-height: 42px;
  padding: 0.25rem 0;
}

.partner-strip-label {
  font-family: var(--ff-font-btn);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ff-navy);
}

.partner-strip-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ff-navy);
  font-family: var(--ff-font-heading);
  font-size: 0.82rem;
  font-weight: 600;
}

.partner-strip-brand img {
  display: block;
  height: 34px;
  width: auto;
  border-radius: 6px;
}

.partner-strip-brand:hover {
  color: var(--ff-blue);
}

.header-bar {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
  width: 100%;
  overflow: visible;
}

.header-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: visible;
  justify-content: flex-start;
}

.brand-lockup.navbar-brand {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  text-decoration: none;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  line-height: 0;
  max-width: 140px;
  position: relative;
  z-index: 1;
}

.brand-logo {
  display: block;
  height: auto;
  width: auto;
  max-height: 48px;
  object-fit: contain;
}

.brand-logo-firefly {
  max-height: 48px;
  width: auto;
  max-width: 140px;
}

.brand-logo-gbtl {
  max-height: 40px;
  width: auto;
  max-width: 56px;
}

.header-nav {
  min-width: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  padding-inline: 0.5rem;
  box-sizing: border-box;
  position: relative;
}

.header-nav .nav-center {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  width: auto;
  max-width: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex: 0 0 auto;
  overflow: visible;
  min-width: 0;
}

.partner-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  background: #ffffff;
  border-radius: 10px;
  padding: 0.15rem 0.5rem 0.15rem 0.15rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  flex: 0 0 auto;
  max-width: 148px;
  overflow: hidden;
}

.partner-chip-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  padding-right: 0.1rem;
}

.partner-chip-label {
  font-family: var(--ff-font-btn);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ff-grey-muted);
}

.partner-chip-name {
  font-family: var(--ff-font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ff-navy);
}

.navbar-ff .navbar-toggler {
  justify-self: end;
  grid-column: 3;
}

@media (max-width: 1199.98px) {
  :root {
    --ff-header-h: 76px;
  }

  .header-bar {
    grid-template-columns: 1fr auto;
    column-gap: 1rem;
  }

  .header-brand {
    grid-column: 1;
  }

  .navbar-ff .navbar-toggler {
    grid-column: 2;
  }
}

.offcanvas-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #fff;
  border-radius: 10px;
  padding: 0.35rem;
}

.offcanvas-brand .brand-logo-firefly {
  max-height: 44px;
}

.offcanvas-brand .brand-logo-gbtl {
  max-height: 40px;
}

.partner-mobile-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-logos .brand-lockup {
  max-width: none;
}

.footer-logos .brand-logo-firefly {
  max-height: 56px;
  max-width: 200px;
}

.footer-logos .brand-logo-gbtl {
  max-height: 52px;
  max-width: 70px;
}

.partner-divider {
  width: 1px;
  height: 42px;
  background: rgba(7, 27, 54, 0.15);
  display: inline-block;
}

.brand-mark,
.brand-text {
  display: none;
}

.brand-name {
  font-family: var(--ff-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ff-white);
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-center .nav-link {
  font-family: var(--ff-font-btn);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.45rem 0.55rem !important;
  white-space: nowrap;
  position: relative;
  overflow: visible;
}

.nav-center .nav-item:first-child .nav-link {
  padding-left: 0.75rem !important;
}

.nav-center .nav-item:last-child .nav-link {
  padding-right: 0.75rem !important;
}

.nav-center .nav-link::after {
  content: '';
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0;
  height: 2px;
  background: var(--ff-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ff-transition);
}

.nav-center .nav-link:hover,
.nav-center .nav-link.active {
  color: var(--ff-white) !important;
}

.nav-center .nav-link:hover::after,
.nav-center .nav-link.active::after {
  transform: scaleX(1);
}

.btn-header-cta {
  padding: 0.6rem 1rem;
  font-size: 0.68rem;
  white-space: nowrap;
}

.btn-icon-search {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--ff-white);
  display: grid;
  place-items: center;
  transition: all var(--ff-transition);
}

.btn-icon-search:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--ff-white);
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.45rem 0.6rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mega menu — opens on hover (desktop) */
.mega-dropdown {
  position: static;
}

.mega-dropdown > .dropdown-toggle::after {
  vertical-align: 0.15em;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 4px);
  width: min(1100px, calc(100vw - 2rem));
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) translateY(8px);
  border: 0;
  border-radius: 0 0 16px 16px;
  padding: 1.5rem;
  background: var(--ff-white);
  box-shadow: var(--ff-shadow-lg);
  margin: 0;
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1050;
}

/* Invisible bridge so cursor can move from link into panel */
.mega-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.mega-dropdown:hover > .mega-menu,
.mega-dropdown:focus-within > .mega-menu,
.mega-dropdown.is-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-dropdown:hover > .nav-link,
.mega-dropdown:focus-within > .nav-link,
.mega-dropdown.is-open > .nav-link {
  color: var(--ff-white) !important;
}

.mega-dropdown:hover > .nav-link::after,
.mega-dropdown:focus-within > .nav-link::after,
.mega-dropdown.is-open > .nav-link::after {
  transform: scaleX(1);
}

.mega-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--ff-radius-sm);
  color: var(--ff-grey);
  transition: all var(--ff-transition);
  height: 100%;
}

.mega-item:hover {
  background: var(--ff-grey-light);
  color: var(--ff-navy);
}

.mega-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 87, 184, 0.08);
  color: var(--ff-blue);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.mega-item strong {
  display: block;
  font-family: var(--ff-font-heading);
  font-size: 0.95rem;
  color: var(--ff-navy);
  margin-bottom: 0.2rem;
}

.mega-item span {
  font-size: 0.85rem;
  color: var(--ff-grey-muted);
  line-height: 1.45;
}

/* Simple nav dropdown (Downloads) */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > .dropdown-toggle::after {
  vertical-align: 0.15em;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: auto;
  min-width: 280px;
  max-width: min(420px, calc(100vw - 2rem));
  margin: 0;
  padding: 0.5rem 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: var(--ff-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1050;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu,
.nav-dropdown.is-open > .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown:hover > .nav-link,
.nav-dropdown:focus-within > .nav-link,
.nav-dropdown.is-open > .nav-link {
  color: var(--ff-white) !important;
}

.nav-dropdown:hover > .nav-link::after,
.nav-dropdown:focus-within > .nav-link::after,
.nav-dropdown.is-open > .nav-link::after {
  transform: scaleX(1);
}

.nav-dropdown-menu .dropdown-item {
  display: block;
  padding: 0.7rem 1.25rem;
  color: var(--ff-navy);
  font-family: var(--ff-font-btn);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: normal;
  line-height: 1.35;
  border: 0;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-menu .dropdown-item:hover,
.nav-dropdown-menu .dropdown-item:focus {
  background: var(--ff-grey-light);
  color: var(--ff-blue);
}

/* Offcanvas mobile */
.offcanvas-ff {
  background: var(--ff-navy);
  color: var(--ff-white);
  width: min(100%, 360px);
}

.offcanvas-ff .offcanvas-title {
  color: var(--ff-white);
  font-family: var(--ff-font-heading);
}

.offcanvas-ff .btn-close {
  filter: invert(1);
}

.offcanvas-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--ff-font-btn);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.offcanvas-nav .nav-link:hover,
.offcanvas-nav .nav-link.active {
  color: var(--ff-white);
}

.offcanvas-sub {
  list-style: none;
  padding-left: 1rem;
  margin: 0 0 0.5rem;
}

.offcanvas-sub a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  padding: 0.4rem 0;
}

.offcanvas-sub a:hover {
  color: var(--ff-white);
}

/* Search modal */
.search-modal .modal-content {
  background: var(--ff-navy);
  border: 0;
  border-radius: var(--ff-radius);
  color: var(--ff-white);
}

.search-modal .form-control {
  background: transparent;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  color: var(--ff-white);
  font-size: 1.5rem;
  padding: 1rem 0;
  box-shadow: none;
}

.search-modal .form-control:focus {
  border-color: var(--ff-blue);
  box-shadow: none;
  background: transparent;
  color: var(--ff-white);
}

.search-modal .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   Page Banner / Breadcrumb
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  padding: calc(var(--ff-header-h) + 80px) 0 90px;
  background: linear-gradient(135deg, var(--ff-navy) 0%, #0a2a52 55%, var(--ff-blue) 100%);
  color: var(--ff-white);
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(227, 30, 36, 0.18), transparent 45%),
    radial-gradient(ellipse at 10% 90%, rgba(0, 87, 184, 0.35), transparent 40%);
  pointer-events: none;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  pointer-events: none;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--ff-white);
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
  margin-bottom: 0;
}

.breadcrumb-ff {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
}

.breadcrumb-ff .breadcrumb-item,
.breadcrumb-ff .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  font-family: var(--ff-font-btn);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.breadcrumb-ff .breadcrumb-item.active {
  color: var(--ff-white);
}

.breadcrumb-ff .breadcrumb-item a:hover {
  color: var(--ff-white);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--ff-white);
  overflow: hidden;
  background: linear-gradient(135deg, #04101f 0%, #071B36 45%, #0a2a52 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video,
.hero-media .hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media video {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  background: transparent;
}

.hero-media video.is-ready {
  display: block;
}

.hero-fallback {
  background:
    linear-gradient(135deg, rgba(7, 27, 54, 0.72), rgba(0, 87, 184, 0.4)),
    url('../images/sections/about-facility.png') center/cover no-repeat,
    linear-gradient(135deg, #04101f, #0a2a52 50%, #0057B8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(4, 16, 31, 0.88) 0%, rgba(7, 27, 54, 0.72) 48%, rgba(7, 27, 54, 0.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--ff-header-h);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.hero .eyebrow::before {
  background: var(--ff-red);
}

.hero h1 {
  color: var(--ff-white);
  margin-bottom: 1.25rem;
}

.hero .subhead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--ff-font-btn);
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  background: var(--ff-white);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* --------------------------------------------------------------------------
   Cards & Surfaces
   -------------------------------------------------------------------------- */
.surface-card {
  background: var(--ff-white);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  box-shadow: var(--ff-shadow);
  transition: transform var(--ff-transition), box-shadow var(--ff-transition);
  height: 100%;
  overflow: hidden;
}

.surface-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ff-shadow-lg);
}

.icon-card {
  padding: 2rem;
  text-align: left;
}

.icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: var(--ff-blue);
  background: linear-gradient(145deg, rgba(0, 87, 184, 0.1), rgba(7, 27, 54, 0.04));
  margin-bottom: 1.35rem;
  transition: all var(--ff-transition);
}

.surface-card:hover .icon-badge {
  background: var(--ff-blue);
  color: var(--ff-white);
  box-shadow: 0 10px 24px rgba(0, 87, 184, 0.3);
}

.icon-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.icon-card p {
  color: var(--ff-grey-muted);
  font-size: 0.98rem;
  margin-bottom: 0;
}

.category-card {
  position: relative;
  border-radius: var(--ff-radius);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  color: var(--ff-white);
  isolation: isolate;
}

.category-card .cat-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
  z-index: -2;
}

.category-card .cat-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.category-card:hover .cat-bg,
.category-card:hover .cat-bg img {
  transform: scale(1.08);
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(4, 16, 31, 0.92) 100%);
  z-index: -1;
}

.category-card .cat-body {
  padding: 2rem;
  width: 100%;
}

.category-card h3 {
  color: var(--ff-white);
  margin-bottom: 0.65rem;
}

.category-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.industry-tile {
  padding: 1.75rem 1.25rem;
  text-align: center;
  border-radius: var(--ff-radius);
  background: var(--ff-white);
  border: 1px solid var(--ff-border);
  transition: all var(--ff-transition);
  height: 100%;
}

.industry-tile:hover {
  border-color: rgba(0, 87, 184, 0.25);
  box-shadow: var(--ff-shadow);
  transform: translateY(-4px);
}

.industry-tile i {
  font-size: 2rem;
  color: var(--ff-blue);
  margin-bottom: 0.85rem;
  display: block;
}

.industry-tile h3 {
  font-size: 1rem;
  margin: 0;
}

/* Product card */
.product-card {
  border-radius: var(--ff-radius);
  border: 1px solid var(--ff-border);
  background: var(--ff-white);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--ff-transition);
}

.product-card:hover {
  box-shadow: var(--ff-shadow-lg);
  transform: translateY(-6px);
}

.product-card-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #e8eef5, #f5f7fa 40%, #dce6f2);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ff-transition);
}

.product-card:hover .product-card-media img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--ff-navy);
  color: var(--ff-white);
  font-family: var(--ff-font-btn);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
}

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-card-body h3 a {
  color: var(--ff-navy);
}

.product-card-body h3 a:hover {
  color: var(--ff-blue);
}

.product-card-excerpt {
  font-size: 0.95rem;
}

.product-specs-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.product-specs-mini span {
  font-size: 0.78rem;
  font-family: var(--ff-font-btn);
  font-weight: 600;
  letter-spacing: 0.03em;
  background: var(--ff-grey-light);
  color: var(--ff-navy);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.product-actions .btn {
  padding: 0.6rem 0.9rem;
  font-size: 0.68rem;
}

/* --------------------------------------------------------------------------
   Split / About / Technology
   -------------------------------------------------------------------------- */
.split-media {
  border-radius: var(--ff-radius);
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(160deg, #071B36, #0a2a52);
  box-shadow: var(--ff-shadow-lg);
  position: relative;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.split-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(7, 27, 54, 0.15), transparent 50%);
  pointer-events: none;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item strong {
  display: block;
  font-family: var(--ff-font-heading);
  font-size: 2rem;
  color: var(--ff-blue);
  line-height: 1.1;
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--ff-grey-muted);
}

.tech-panel {
  background: linear-gradient(160deg, var(--ff-navy), #0a2a52);
  border-radius: var(--ff-radius);
  color: var(--ff-white);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.tech-panel::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 87, 184, 0.45), transparent 70%);
  top: -80px;
  right: -60px;
}

.tech-panel .icon-badge {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ff-white);
}

.tech-panel p {
  color: rgba(255, 255, 255, 0.75);
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  position: relative;
}

.tech-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-list li i {
  color: var(--ff-red);
  margin-top: 0.2rem;
}

/* Comparison table */
.table-compare-wrap {
  border-radius: var(--ff-radius);
  overflow: hidden;
  border: 1px solid var(--ff-border);
  background: var(--ff-white);
  box-shadow: var(--ff-shadow);
}

.table-compare {
  margin: 0;
  font-size: 0.95rem;
}

.table-compare thead th {
  background: var(--ff-navy);
  color: var(--ff-white);
  font-family: var(--ff-font-btn);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 1.1rem 1rem;
  border: 0;
  white-space: nowrap;
}

.table-compare thead th.highlight-col {
  background: var(--ff-blue);
}

.table-compare tbody td {
  padding: 1rem;
  vertical-align: middle;
  border-color: var(--ff-border);
}

.table-compare tbody tr:nth-child(even) {
  background: var(--ff-grey-light);
}

.table-compare td.highlight-col {
  background: rgba(0, 87, 184, 0.08);
  font-weight: 600;
  color: var(--ff-navy);
}

.table-compare .feature-col {
  font-weight: 600;
  color: var(--ff-navy);
  white-space: nowrap;
}

.check-yes { color: #0f7a3f; }
.check-mid { color: #b45309; }
.check-no { color: #9ca3af; }

/* Map */
.world-map {
  position: relative;
  border-radius: var(--ff-radius);
  background: linear-gradient(160deg, #0a2038, var(--ff-navy));
  min-height: 420px;
  overflow: hidden;
  padding: 2rem;
}

.world-map svg {
  width: 100%;
  height: auto;
  opacity: 0.85;
}

.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ff-red);
  box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.5);
  animation: pulsePin 2s infinite;
  transform: translate(-50%, -50%);
}

.map-pin.uk {
  top: 32%;
  left: 47%;
}

.map-pin::after {
  content: 'UK Hub';
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--ff-white);
  color: var(--ff-navy);
  font-family: var(--ff-font-btn);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
}

@keyframes pulsePin {
  0% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.55); }
  70% { box-shadow: 0 0 0 18px rgba(227, 30, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0); }
}

/* Testimonials / News */
.quote-card {
  padding: 2rem;
  height: 100%;
}

.quote-card .stars {
  color: #f5a524;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.quote-card blockquote {
  font-size: 1.05rem;
  color: var(--ff-grey);
  margin-bottom: 1.5rem;
  border: 0;
  padding: 0;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ff-blue), var(--ff-navy));
  color: var(--ff-white);
  display: grid;
  place-items: center;
  font-family: var(--ff-font-heading);
  font-weight: 700;
}

.quote-author strong {
  display: block;
  color: var(--ff-navy);
  font-size: 0.95rem;
}

.quote-author span {
  font-size: 0.82rem;
  color: var(--ff-grey-muted);
}

.news-card .news-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #0a2a52, #0057B8);
  transition: transform 0.6s ease;
}

.news-card .news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card:hover .news-media {
  transform: scale(1.05);
}

.news-card .news-media-wrap {
  overflow: hidden;
}

.news-meta {
  font-size: 0.78rem;
  font-family: var(--ff-font-btn);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ff-blue);
  margin-bottom: 0.65rem;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(120deg, var(--ff-navy) 0%, #0a2a52 55%, var(--ff-blue) 100%);
  color: var(--ff-white);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(227, 30, 36, 0.2), transparent 45%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--ff-white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--ff-white);
  border-radius: var(--ff-radius);
  border: 1px solid var(--ff-border);
  box-shadow: var(--ff-shadow);
  padding: 2rem;
}

.form-label {
  font-family: var(--ff-font-btn);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ff-navy);
  margin-bottom: 0.45rem;
}

.form-control,
.form-select {
  border: 1px solid rgba(7, 27, 54, 0.12);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: var(--ff-grey);
  transition: border-color var(--ff-transition), box-shadow var(--ff-transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ff-blue);
  box-shadow: 0 0 0 4px rgba(0, 87, 184, 0.12);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--ff-red);
}

.contact-info-card {
  padding: 1.5rem;
  border-radius: var(--ff-radius);
  background: var(--ff-grey-light);
  height: 100%;
}

.contact-info-card i {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ff-white);
  color: var(--ff-blue);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--ff-shadow);
}

.contact-info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--ff-grey-muted);
  font-size: 0.95rem;
  margin: 0;
}

.map-embed {
  border-radius: var(--ff-radius);
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--ff-border);
  box-shadow: var(--ff-shadow);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* Filters */
.filter-bar {
  background: var(--ff-white);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  padding: 1.25rem;
  box-shadow: var(--ff-shadow);
  margin-bottom: 2rem;
}

.filter-bar .form-select {
  font-size: 0.95rem;
}

/* Download cards */
.download-card {
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.download-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 87, 184, 0.08);
  color: var(--ff-blue);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--ff-blue), rgba(0, 87, 184, 0.15));
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ff-white);
  border: 3px solid var(--ff-blue);
}

.timeline-item .year {
  font-family: var(--ff-font-btn);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ff-blue);
  margin-bottom: 0.35rem;
}

/* FAQ */
.accordion-ff .accordion-item {
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-sm) !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
  background: var(--ff-white);
}

.accordion-ff .accordion-button {
  font-family: var(--ff-font-heading);
  font-weight: 600;
  color: var(--ff-navy);
  background: var(--ff-white);
  box-shadow: none;
}

.accordion-ff .accordion-button:not(.collapsed) {
  color: var(--ff-blue);
  background: rgba(0, 87, 184, 0.04);
}

.accordion-ff .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

/* Product details */
.product-gallery-main {
  border-radius: var(--ff-radius);
  overflow: hidden;
  background: linear-gradient(160deg, #e8eef5, #f5f7fa);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--ff-border);
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.product-thumbs button {
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ff-grey-light);
  padding: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transition: border-color var(--ff-transition);
}

.product-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbs button.active,
.product-thumbs button:hover {
  border-color: var(--ff-blue);
}

.spec-table td {
  padding: 0.85rem 0;
  border-color: var(--ff-border);
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--ff-navy);
  width: 45%;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ff-navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 80px;
}

.site-footer h5 {
  color: var(--ff-white);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--ff-font-btn);
  font-weight: 700;
  margin-bottom: 1.35rem;
}

.footer-brand p {
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--ff-white);
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: var(--ff-white);
  transition: all var(--ff-transition);
}

.social-links a:hover {
  background: var(--ff-blue);
  border-color: var(--ff-blue);
  color: var(--ff-white);
}

.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--ff-white);
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ff-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding: 1.5rem 0;
  font-size: 0.88rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.68);
}

.footer-bottom a:hover {
  color: var(--ff-white);
}

/* --------------------------------------------------------------------------
   Utilities / Animations / Swiper
   -------------------------------------------------------------------------- */
.img-zoom-wrap {
  overflow: hidden;
  border-radius: var(--ff-radius);
}

.img-zoom-wrap img {
  transition: transform 0.7s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-zoom-wrap:hover img {
  transform: scale(1.06);
}

.glass-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ff-white);
  font-size: 0.85rem;
}

.swiper-testimonials .swiper-pagination-bullet-active {
  background: var(--ff-blue);
}

.page-transition {
  animation: pageIn 0.45s ease;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* AOS safety: keep content visible if animation library fails to initialise */
html:not(.aos-enabled) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  transition: none !important;
}

/* Extra safety: recover if AOS leaves on-screen items invisible */
html.aos-enabled.aos-fallback [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

.hero-content.is-visible,
.hero-content.is-visible > * {
  opacity: 1 !important;
  transform: none !important;
}

.hover-glow {
  transition: box-shadow var(--ff-transition);
}

.hover-glow:hover {
  box-shadow: 0 0 0 4px rgba(0, 87, 184, 0.12), var(--ff-shadow-lg);
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.list-check li i {
  color: var(--ff-blue);
  margin-top: 0.25rem;
}

.divider-soft {
  height: 1px;
  background: var(--ff-border);
  margin: 2rem 0;
}

.alert-ff {
  border-radius: var(--ff-radius-sm);
  border: 0;
  padding: 1rem 1.25rem;
}

/* Product visual placeholders (SVG-like CSS) */
.battery-visual {
  width: 58%;
  aspect-ratio: 0.72;
  border-radius: 12px;
  background: linear-gradient(180deg, #1a2f4a 0%, #0d1f35 100%);
  position: relative;
  box-shadow: 0 20px 40px rgba(7, 27, 54, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.battery-visual::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 12px;
  background: #2a4566;
  border-radius: 4px 4px 0 0;
}

.battery-visual::after {
  content: 'FF';
  position: absolute;
  inset: 18% 18% auto;
  text-align: center;
  font-family: var(--ff-font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
}

.battery-visual .cap-label {
  position: absolute;
  bottom: 18%;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--ff-font-btn);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.battery-visual.solar { background: linear-gradient(180deg, #0d3a66, #071B36); }
.battery-visual.marine { background: linear-gradient(180deg, #0a4a5c, #071B36); }
.battery-visual.telecom { background: linear-gradient(180deg, #1e3a5f, #071B36); }
.battery-visual.industrial { background: linear-gradient(180deg, #2c3544, #071B36); }
.battery-visual.ups { background: linear-gradient(180deg, #163554, #071B36); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .nav-center .nav-link {
    padding: 0.5rem 0.55rem !important;
    font-size: 0.7rem;
  }
}

@media (max-width: 991.98px) {
  :root {
    --ff-header-h: 80px;
  }

  .brand-logo-firefly {
    max-height: 42px;
    max-width: 140px;
  }

  .brand-lockup.navbar-brand {
    max-width: 140px;
    padding: 0;
  }

  .section-pad {
    padding: 72px 0;
  }

  .hero {
    min-height: 92vh;
  }

  .stat-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .map-pin.uk {
    top: 36%;
    left: 48%;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 16px;
  }

  .section-pad {
    padding: 56px 0;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .product-actions .btn {
    flex: 1 1 auto;
  }

  .page-banner {
    padding: calc(var(--ff-header-h) + 48px) 0 56px;
  }
}

.eyebrow.justify-content-center::before {
  display: none;
}

.eyebrow.justify-content-center {
  gap: 0;
}

.section-intro {
  max-width: 720px;
}

.split-media.about-facility {
  background-image: linear-gradient(135deg, rgba(7, 27, 54, 0.55), rgba(0, 87, 184, 0.35)),
    linear-gradient(160deg, #071B36, #0a2a52);
  background-color: #0a2a52;
}

.cat-bg-deep-cycle { background: linear-gradient(160deg, #071B36, #1a3a66); }
.cat-bg-solar { background: linear-gradient(160deg, #0a3d62, #0057B8); }
.cat-bg-telecom { background: linear-gradient(160deg, #102a4a, #1e4d7b); }
.cat-bg-marine { background: linear-gradient(160deg, #0b3d4a, #127a8a); }
.cat-bg-industrial { background: linear-gradient(160deg, #1c2430, #3a4658); }
.cat-bg-ups { background: linear-gradient(160deg, #0d2744, #245a8c); }
.cat-bg-renewable { background: linear-gradient(160deg, #0f3b2e, #1a7a5c); }

.news-media-1 { background: linear-gradient(135deg, #0a2a52, #0057B8); }
.news-media-2 { background: linear-gradient(135deg, #071B36, #1a3a66); }
.news-media-3 { background: linear-gradient(135deg, #0b3d4a, #127a8a); }

.news-excerpt {
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   WhatsApp floating chat
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1080;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  background: #25D366;
  border-radius: 999px;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  color: #fff;
  background: #1ebe57;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  flex-shrink: 0;
}

.whatsapp-float-label {
  font-family: var(--ff-font-btn);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-right: 0.35rem;
  white-space: nowrap;
}

.whatsapp-toast {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 1075;
  width: min(320px, calc(100vw - 2rem));
  background: #ffffff;
  color: var(--ff-grey);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(7, 27, 54, 0.18);
  padding: 1.15rem 1.15rem 1.25rem;
  border: 1px solid var(--ff-border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.whatsapp-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-toast-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  border: 0;
  background: transparent;
  color: var(--ff-grey-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.whatsapp-toast-close:hover {
  background: var(--ff-grey-light);
  color: var(--ff-navy);
}

.whatsapp-toast-title {
  font-family: var(--ff-font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ff-navy);
  margin: 0 1.5rem 0.4rem 0;
}

.whatsapp-toast-text {
  font-size: 0.9rem;
  color: var(--ff-grey-muted);
  margin-bottom: 0.85rem;
}

.whatsapp-toast-btn {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
  font-family: var(--ff-font-btn);
  font-weight: 700;
}

.whatsapp-toast-btn:hover {
  background: #1ebe57 !important;
  border-color: #1ebe57 !important;
}

@media (max-width: 575.98px) {
  .whatsapp-float-label {
    display: none;
  }

  .whatsapp-float {
    padding: 0.45rem;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-toast {
    right: 16px;
    bottom: 84px;
  }
}

/* ============================================================
   STORE — Product grid, cart, checkout
   ============================================================ */

.store-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ff-primary, #1e88e5);
  margin: .5rem 0 .75rem;
}

.store-card .product-card-body {
  display: flex;
  flex-direction: column;
}

.store-add-form {
  margin-top: auto;
}

/* Cart table */
.table-store {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.table-store thead th {
  background: var(--ff-navy, #0a1628);
  color: #fff;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: .75rem 1rem;
  border: none;
}

.table-store td {
  padding: .75rem 1rem;
  vertical-align: middle;
}

/* Checkout summary card */
.checkout-summary {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  position: sticky;
  top: 100px;
}

.checkout-form .form-control,
.checkout-form .form-select {
  border-radius: 8px;
  padding: .625rem .875rem;
}

/* Enquiry success */
.enquiry-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
  color: #fff;
  font-size: 2.5rem;
}

/* Store topbar */
.store-topbar {
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Launching Soon
   -------------------------------------------------------------------------- */
body.page-launch {
  background: var(--ff-navy-deep);
}

.launch-soon {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ff-white);
  overflow: hidden;
  background: linear-gradient(135deg, #04101f 0%, #071B36 45%, #0a2a52 100%);
}

.launch-soon-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.launch-soon-fallback {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(7, 27, 54, 0.55), rgba(0, 87, 184, 0.28)),
    url('../images/sections/about-facility.png') center/cover no-repeat,
    linear-gradient(135deg, #04101f, #0a2a52 50%, #0057B8);
  transform: scale(1.04);
  animation: launchMediaDrift 18s ease-in-out infinite alternate;
}

.launch-soon-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 40% at 70% 30%, rgba(0, 87, 184, 0.35), transparent 60%),
    radial-gradient(ellipse 40% 35% at 20% 80%, rgba(227, 30, 36, 0.12), transparent 55%);
  animation: launchGlowPulse 8s ease-in-out infinite;
  pointer-events: none;
}

.launch-soon-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(4, 16, 31, 0.92) 0%,
    rgba(7, 27, 54, 0.78) 45%,
    rgba(7, 27, 54, 0.55) 100%
  );
}

.launch-soon-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 3rem 1rem 5rem;
}

.launch-soon-inner {
  max-width: 640px;
  text-align: center;
}

.launch-soon-logo {
  width: min(240px, 58vw);
  height: auto;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  opacity: 0;
  transform: translateY(18px);
  animation: launchRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.launch-soon-brand {
  font-family: var(--ff-font-heading);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ff-white);
  margin: 0 0 0.75rem;
  opacity: 0;
  transform: translateY(18px);
  animation: launchRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.launch-soon-title {
  font-family: var(--ff-font-heading);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.25rem;
  opacity: 0;
  transform: translateY(18px);
  animation: launchRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.launch-soon-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 1rem auto 0;
  background: var(--ff-red);
  border-radius: 2px;
  animation: launchLine 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.launch-soon-copy {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 2rem;
  max-width: 520px;
  opacity: 0;
  transform: translateY(18px);
  animation: launchRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.launch-soon-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(18px);
  animation: launchRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.launch-soon-actions .btn {
  min-width: 150px;
  padding: 0.8rem 1.5rem;
}

.launch-soon-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  opacity: 0;
  animation: launchRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.85s forwards;
}

.launch-soon-meta a {
  color: rgba(255, 255, 255, 0.7);
}

.launch-soon-meta a:hover {
  color: var(--ff-white);
}

.launch-soon-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.25rem 1rem 1.75rem;
  display: flex;
  justify-content: center;
}

.launch-soon-partner {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--ff-transition), opacity var(--ff-transition);
  opacity: 0;
  animation: launchRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
}

.launch-soon-partner img {
  width: 36px;
  height: auto;
  opacity: 0.85;
}

.launch-soon-partner:hover {
  color: var(--ff-white);
}

@keyframes launchRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes launchLine {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 48px;
    opacity: 1;
  }
}

@keyframes launchMediaDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@keyframes launchGlowPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@media (max-width: 575.98px) {
  .launch-soon-actions .btn {
    width: 100%;
  }

  .launch-soon-meta {
    flex-direction: column;
    gap: 0.35rem;
  }

  .launch-soon-meta span[aria-hidden="true"] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch-soon-fallback,
  .launch-soon-glow,
  .launch-soon-logo,
  .launch-soon-brand,
  .launch-soon-title,
  .launch-soon-title::after,
  .launch-soon-copy,
  .launch-soon-actions,
  .launch-soon-meta,
  .launch-soon-partner {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
