/* ==========================================================================
   Marco Marine A/S — Dark-Navy Maritime Design System
   Consistent across Desktop, Tablet, and Mobile (Zero White-on-White Bugs)
   ========================================================================== */

:root {
  --bg-primary: #011627;
  --bg-secondary: #041f38;
  --bg-card: #082947;
  --bg-card-hover: #0c3559;
  --border-subtle: rgba(148, 163, 184, 0.18);
  --border-accent: rgba(0, 180, 216, 0.45);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-blue: #046bd2;
  --accent-cyan: #00b4d8;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;
  --accent-green: #10b981;
  --max-width: 1240px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

[id] {
  scroll-margin-top: 5.5rem;
}

body {
  margin: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: #38bdf8;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Top Emergency Bar */
/* Top Emergency Bar (Hidden/deleted) */
.top-bar {
  display: none;
}

/* Main Header & Navigation (Clean White Header - Default for all subpages) */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.brand-logo img {
  height: 42px;
  width: auto;
  max-width: 330px;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-logo .logo-blue {
  display: block;
}

.brand-logo .logo-white {
  display: none;
}

.brand-logo:hover img {
  opacity: 0.88;
  transform: scale(1.02);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.nav-list li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a,
.nav-dropdown-btn {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: normal;
  color: #0b2545;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  padding: 0.35rem 0.2rem !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start;
  gap: 0.35rem;
  cursor: pointer;
  box-sizing: border-box;
  vertical-align: middle;
  transition: color 0.18s ease, border-bottom-color 0.18s ease, transform 0.18s ease-out;
  appearance: none;
  -webkit-appearance: none;
  will-change: transform;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-dropdown-btn:hover,
.nav-dropdown-btn:focus-visible,
.has-dropdown:hover > .nav-dropdown-btn {
  color: #0077b6 !important;
  transform: translateY(-3px);
  transition: color 0.18s ease, border-bottom-color 0.18s ease, transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a.active,
.nav-dropdown-btn:hover,
.nav-dropdown-btn:focus-visible,
.nav-dropdown-btn.active,
.has-dropdown.is-open .nav-dropdown-btn,
.has-dropdown.is-expanded .nav-dropdown-btn {
  color: #0077b6 !important;
  border-bottom-color: #0077b6 !important;
}

/* Navigation Dropdowns (Clean White Header - Default for Subpages) */
.has-dropdown {
  position: relative;
  list-style: none !important;
}

.nav-dropdown-btn .chevron-down {
  color: #5a738e;
  transition: transform 0.22s ease, color 0.18s ease;
  pointer-events: none;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.nav-dropdown-btn:hover .chevron-down,
.has-dropdown:hover .nav-dropdown-btn .chevron-down,
.has-dropdown:focus-within .nav-dropdown-btn .chevron-down,
.has-dropdown.is-open .nav-dropdown-btn .chevron-down,
.has-dropdown.is-expanded .nav-dropdown-btn .chevron-down {
  color: #0077b6;
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 285px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 0.45rem 0;
  margin: 0;
  list-style: none !important;
  z-index: 100;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

/* Invisible bridge so mouse moving from button down into dropdown doesn't lose hover */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}

/* Desktop Hover & Focus-within behavior (screens > 980px) */
@media (min-width: 981px) {
  .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
  }

  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu,
  .has-dropdown.is-open .dropdown-menu,
  .has-dropdown.is-expanded .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .has-dropdown:hover .nav-dropdown-btn,
  .has-dropdown:focus-within .nav-dropdown-btn {
    color: #0077b6 !important;
    border-bottom-color: #0077b6 !important;
  }
}

.has-dropdown.is-open .dropdown-menu,
.has-dropdown.is-expanded .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.dropdown-menu a {
  display: block;
  padding: 0.58rem 1.15rem;
  color: #1a2e40;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: none !important;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: #f0f7fc;
  color: #0077b6;
  padding-left: 1.4rem;
  border-bottom: none !important;
}

.dropdown-menu a.dropdown-overview-link {
  font-weight: 600;
  color: #0077b6 !important;
  border-bottom: 1px solid #eef2f6 !important;
  margin-bottom: 0.25rem;
  padding-bottom: 0.65rem;
}

.dropdown-menu a.dropdown-overview-link:hover {
  color: #005a8c !important;
  background: #f0f7fc;
}

.nav-focus-highlight {
  outline: 2px solid #0077b6 !important;
  outline-offset: 4px !important;
  border-radius: var(--radius-md);
  transition: outline 0.3s ease;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}

.btn-linkedin-icon:hover {
  transform: translateY(-2px) scale(1.08);
  filter: drop-shadow(0 4px 12px rgba(10, 102, 194, 0.6));
}

.btn-linkedin-icon svg {
  display: block;
  width: 30px;
  height: 30px;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0b2545;
  margin: 4px 0;
}

/* ==========================================================================
   Homepage-Only Transparent Header (Active ONLY on Home over Background Video)
   ========================================================================== */
.page-home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home .brand-logo .logo-blue {
  display: none;
}

.page-home .brand-logo .logo-white {
  display: block;
}

.page-home .nav-list a,
.page-home .nav-dropdown-btn {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.page-home .nav-dropdown-btn .chevron-down {
  color: rgba(255, 255, 255, 0.8);
}

.page-home .nav-list a:hover,
.page-home .nav-list a:focus-visible,
.page-home .nav-dropdown-btn:hover,
.page-home .nav-dropdown-btn:focus-visible,
.page-home .has-dropdown:hover > .nav-dropdown-btn,
.page-home .nav-list a.active,
.page-home .nav-dropdown-btn.active {
  color: #00d2ff !important;
  border-bottom-color: #00d2ff !important;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
}

.page-home .nav-dropdown-btn:hover .chevron-down,
.page-home .has-dropdown:hover .nav-dropdown-btn .chevron-down {
  color: #00d2ff;
}

/* Homepage Dropdown Menus on Desktop (screens > 980px) */
@media (min-width: 981px) {
  .page-home .dropdown-menu {
    background: rgba(1, 22, 39, 0.96);
    border: 1px solid rgba(0, 180, 216, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 180, 216, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .page-home .dropdown-menu a {
    color: #e2e8f0;
  }

  .page-home .dropdown-menu a:hover,
  .page-home .dropdown-menu a:focus {
    background: rgba(0, 180, 216, 0.18);
    color: #ffffff;
  }

  .page-home .dropdown-menu a.dropdown-overview-link {
    color: #00d2ff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .page-home .dropdown-menu a.dropdown-overview-link:hover {
    color: #ffffff !important;
    background: rgba(0, 180, 216, 0.22);
  }
}

/* Homepage Mobile Toggle & Nav */
.page-home .mobile-menu-toggle {
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.page-home .mobile-menu-toggle span {
  background: #ffffff;
}

@media (max-width: 980px) {
  .page-home .primary-nav {
    background: rgba(1, 22, 39, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 180, 216, 0.25);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  }

  .page-home .nav-list a {
    color: #ffffff !important;
  }

  .page-home .nav-dropdown-btn {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
  }

  .page-home .dropdown-menu {
    background: rgba(8, 41, 71, 0.75);
    border-left: 3px solid #00d2ff;
  }

  .page-home .dropdown-menu a {
    color: #e2e8f0;
  }

  .page-home .dropdown-menu a:hover,
  .page-home .dropdown-menu a:focus {
    background: rgba(0, 180, 216, 0.2);
    color: #ffffff;
  }
}

/* Homepage Hero Section: Top padding compensation so header overlays cleanly */
.page-home .hero-section {
  padding-top: calc(clamp(4.5rem, 9vw, 8rem) + 4.5rem);
}

/* Homepage Scrolled State (Transitions back to solid crisp white when scrolling down past hero) */
.page-home .site-header.is-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: slideDownHeader 0.25s ease-out;
}

@keyframes slideDownHeader {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.page-home .site-header.is-scrolled .brand-logo .logo-blue {
  display: block;
}

.page-home .site-header.is-scrolled .brand-logo .logo-white {
  display: none;
}

.page-home .site-header.is-scrolled .nav-list a,
.page-home .site-header.is-scrolled .nav-dropdown-btn {
  color: #0b2545;
  text-shadow: none;
}

.page-home .site-header.is-scrolled .nav-dropdown-btn .chevron-down {
  color: #5a738e;
}

.page-home .site-header.is-scrolled .nav-list a:hover,
.page-home .site-header.is-scrolled .nav-list a:focus-visible,
.page-home .site-header.is-scrolled .nav-dropdown-btn:hover,
.page-home .site-header.is-scrolled .nav-dropdown-btn:focus-visible,
.page-home .site-header.is-scrolled .has-dropdown:hover > .nav-dropdown-btn,
.page-home .site-header.is-scrolled .nav-list a.active,
.page-home .site-header.is-scrolled .nav-dropdown-btn.active {
  color: #0077b6 !important;
  border-bottom-color: #0077b6 !important;
  text-shadow: none;
}

.page-home .site-header.is-scrolled .nav-dropdown-btn:hover .chevron-down,
.page-home .site-header.is-scrolled .has-dropdown:hover .nav-dropdown-btn .chevron-down {
  color: #0077b6;
}

.page-home .site-header.is-scrolled .mobile-menu-toggle {
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.page-home .site-header.is-scrolled .mobile-menu-toggle span {
  background: #0b2545;
}

@media (min-width: 981px) {
  .page-home .site-header.is-scrolled .dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .page-home .site-header.is-scrolled .dropdown-menu a {
    color: #1a2e40;
  }

  .page-home .site-header.is-scrolled .dropdown-menu a:hover,
  .page-home .site-header.is-scrolled .dropdown-menu a:focus {
    background: #f0f7fc;
    color: #0077b6;
  }

  .page-home .site-header.is-scrolled .dropdown-menu a.dropdown-overview-link {
    color: #0077b6 !important;
    border-bottom: 1px solid #eef2f6 !important;
  }

  .page-home .site-header.is-scrolled .dropdown-menu a.dropdown-overview-link:hover {
    color: #005a8c !important;
    background: #f0f7fc;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.2;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.86rem;
}

.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: #0356ab;
  color: #ffffff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-accent);
  color: #ffffff;
}

.btn-outline:hover {
  background: rgba(0, 180, 216, 0.15);
  color: #ffffff;
}

.btn-emergency {
  background: var(--accent-red);
  color: #ffffff;
}

.btn-emergency:hover {
  background: #dc2626;
  color: #ffffff;
}

/* Hero Section with Background Video */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  background: radial-gradient(circle at top right, #083358 0%, var(--bg-primary) 70%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  pointer-events: none;
}

.hero-overlay {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 860px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.partner-spotlight-card {
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 180, 216, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.partner-spotlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
}

.partner-spotlight-grid .hero-card-media-slider {
  height: 100%;
  aspect-ratio: 16 / 10;
}

.partner-spotlight-grid .card-body {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 860px) {
  .partner-spotlight-grid {
    grid-template-columns: 1fr;
  }
  .partner-spotlight-grid .hero-card-media-slider {
    aspect-ratio: 16 / 11;
  }
}

.hero-partner-card {
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 180, 216, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-card-media-slider {
  position: relative;
  aspect-ratio: 16 / 11;
  width: 100%;
  overflow: hidden;
  background: #02101d;
}

.hero-card-media-slider .slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.04);
  pointer-events: none;
}

.hero-card-media-slider .slide-img.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.slider-dots {
  position: absolute;
  bottom: 0.85rem;
  right: 1rem;
  display: flex;
  gap: 0.45rem;
  z-index: 5;
  background: rgba(1, 22, 39, 0.65);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--accent-cyan);
  width: 18px;
  border-radius: 999px;
}

.hero-partner-card .card-body {
  padding: clamp(1.5rem, 2.5vw, 2rem);
}

.eyebrow-badge {
  display: inline-block;
  background: rgba(0, 180, 216, 0.14);
  border: 1px solid var(--border-accent);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.18;
  margin: 0 0 1.2rem;
  color: #ffffff;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin: 0 0 1.85rem;
  max-width: 65ch;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: clamp(3.5rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(0, 180, 216, 0.15);
}

.stat-item {
  background: rgba(8, 41, 71, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.stat-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* Sections & Offscreen Rendering Optimization (modern-web-guidance) */
.section {
  padding-block: clamp(3.25rem, 6vw, 5.25rem);
  border-bottom: 1px solid var(--border-subtle);
}

.section-alt {
  background-color: var(--bg-secondary);
}

.below-fold-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.section-header {
  width: 100%;
  max-width: 100%;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  margin: 0 0 0.75rem;
  color: #ffffff;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

@media (min-width: 1024px) {
  .section-title {
    white-space: nowrap;
  }
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 780px;
  margin: 0;
  line-height: 1.55;
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: rgba(0, 180, 216, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 180, 216, 0.14);
}

.card-media {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  background: #02101d;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-media {
  transform: scale(1.025);
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 180, 216, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.card-title {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  color: #ffffff;
  line-height: 1.35;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
  flex: 1;
}

@media (min-width: 981px) {
  .card-title {
    min-height: 3.35rem;
    display: flex;
    align-items: flex-start;
  }

  .card-text {
    min-height: 5.8rem;
  }
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.feature-list li {
  position: relative;
  padding-inline-start: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Service Detail Sections (Full Technical Catalog Layout) */
.service-detail-card {
  margin-bottom: 2.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.service-detail-header {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 980px) {
  .service-detail-header {
    grid-template-columns: 1fr;
  }
}

.service-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 1.75rem;
  padding: 1.75rem 2rem;
  background: rgba(2, 16, 29, 0.55);
  border-top: 1px solid var(--border-subtle);
}

.service-spec-block h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-spec-block .feature-list {
  margin-bottom: 0;
}

/* PDF Download Pills */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 0.9rem;
}

#certificates .pdf-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 980px) {
  #certificates .pdf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #certificates .pdf-grid {
    grid-template-columns: 1fr;
  }
}

.pdf-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.92rem;
  min-height: 4.75rem;
  height: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.pdf-card > span:first-child {
  flex: 1;
  line-height: 1.45;
}

.pdf-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.pdf-badge {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Responsive Data Table (Sticky Headers & Container Query Stacked Layout) */
.table-wrapper {
  overflow: auto;
  max-inline-size: 100%;
  container-type: inline-size;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 0.94rem;
}

.spec-table thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: #021221;
}

.spec-table th,
.spec-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-table thead th {
  color: var(--accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.spec-table tbody th {
  position: sticky;
  inset-inline-start: 0;
  background: var(--bg-card);
  color: #ffffff;
  font-weight: 600;
  z-index: 1;
}

@container (width < 640px) {
  .spec-table,
  .spec-table thead,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td {
    display: block;
  }

  .spec-table thead {
    display: none;
  }

  .spec-table tr {
    margin-block-end: 1rem;
    border-bottom: 2px solid var(--border-accent);
  }

  .spec-table tbody th {
    position: sticky;
    inset-block-start: 0;
    background: #021221;
    color: var(--accent-cyan);
  }

  .spec-table td:nth-child(2)::before {
    content: var(--label-2) ": " / var(--label-2);
    font-weight: 600;
    color: var(--text-muted);
  }
  .spec-table td:nth-child(3)::before {
    content: var(--label-3) ": " / var(--label-3);
    font-weight: 600;
    color: var(--text-muted);
  }
  .spec-table td:nth-child(4)::before {
    content: var(--label-4) ": " / var(--label-4);
    font-weight: 600;
    color: var(--text-muted);
  }
  .spec-table td:nth-child(5)::before {
    content: var(--label-5) ": " / var(--label-5);
    font-weight: 600;
    color: var(--text-muted);
  }
  .spec-table td:nth-child(6)::before {
    content: var(--label-6) ": " / var(--label-6);
    font-weight: 600;
    color: var(--text-muted);
  }
}

/* Reference Badges & Infinite Marquee Ticker */
.reference-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.ref-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

.client-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding-block: 0.75rem;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.client-marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}

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

.client-marquee-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.client-marquee-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(8, 41, 71, 0.75);
  border: 1px solid rgba(0, 180, 216, 0.22);
  color: #f8fafc;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.client-marquee-chip:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 180, 216, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 180, 216, 0.2);
}

.marquee-anchor-icon {
  color: var(--accent-cyan);
  font-size: 1.15rem;
  line-height: 1;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
}


/* Native Details/Summary Accordion for FAQs */
.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 100%;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.4rem;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 180, 216, 0.4);
}

.faq-item[open] {
  border-color: var(--accent-cyan);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 180, 216, 0.2);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #ffffff;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--accent-cyan);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item p,
.faq-item .faq-body {
  margin: 0.85rem 0 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item .faq-body p {
  margin: 0;
}

/* Standard Terms & Conditions Section (REQ-082) */
.terms-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.terms-highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all 0.2s ease;
  position: relative;
  border-top: 3px solid var(--accent-cyan);
}

.terms-highlight-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 180, 216, 0.4);
  transform: translateY(-2px);
}

.terms-highlight-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terms-highlight-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.terms-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terms-badge-count {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.terms-toggle-btn {
  background: rgba(0, 180, 216, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 180, 216, 0.3);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.terms-toggle-btn:hover {
  background: var(--accent-cyan);
  color: #011627;
}

.terms-clauses-list {
  display: grid;
  gap: 0.85rem;
}

.terms-clause-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.4rem;
  transition: all 0.2s ease;
}

.terms-clause-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 180, 216, 0.35);
}

.terms-clause-item[open] {
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.terms-clause-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 600;
  color: #ffffff;
  font-size: 1.02rem;
  list-style: none;
  user-select: none;
}

.terms-clause-header::-webkit-details-marker {
  display: none;
}

.terms-clause-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.terms-clause-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(0, 180, 216, 0.15);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.terms-clause-content {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.terms-clause-content p {
  margin-bottom: 0.75rem;
}

.terms-clause-content p:last-child {
  margin-bottom: 0;
}

/* Contact & Quote Request Form (:user-invalid & :user-valid) */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: #021221;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
  color: #ffffff;
  font-size: 0.96rem;
  font-family: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent-cyan);
  border-color: transparent;
}

/* Validate only after user interaction (:user-invalid) */
.form-field input:user-invalid,
.form-field textarea:user-invalid,
.form-field select:user-invalid {
  border-color: var(--accent-red);
  background-color: rgba(239, 68, 68, 0.08);
}

.form-field input:user-valid,
.form-field textarea:user-valid {
  border-color: var(--accent-green);
}

.field-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-field:has(:user-invalid) .field-hint {
  color: #fca5a5;
  font-weight: 600;
}

.alert-box {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-green);
  color: #a7f3d0;
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--accent-red);
  color: #fecaca;
}

/* Footer */
.site-footer {
  background: #000d18;
  border-top: 1px solid var(--border-subtle);
  padding-top: 3.5rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.02rem;
  margin: 0 0 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  margin: 0.85rem 0 1.25rem;
}

.footer-emergency-box {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
}

.footer-emergency-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #fca5a5;
  font-weight: 700;
}

.footer-emergency-number {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-location {
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* Responsive Breakpoints (Tablet & Mobile) */
@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-logo img {
    height: 36px;
    max-width: 260px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .primary-nav {
    display: none;
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .has-dropdown {
    width: 100%;
  }

  .nav-dropdown-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.55rem 0.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: #0b2545 !important;
  }

  .nav-list a {
    color: #0b2545 !important;
    text-shadow: none !important;
  }

  .nav-list a:hover,
  .nav-list a:focus-visible,
  .nav-dropdown-btn:hover,
  .nav-dropdown-btn:focus-visible,
  .has-dropdown:hover > .nav-dropdown-btn {
    transform: none !important;
    color: #0077b6 !important;
  }

  .dropdown-menu {
    position: static;
    display: none !important;
    box-shadow: none;
    background: #f8fafc;
    border: none;
    border-left: 3px solid #0077b6;
    border-radius: 4px;
    margin: 0.35rem 0 0.5rem 0.5rem;
    padding: 0.25rem 0;
    min-width: unset;
    list-style: none !important;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .has-dropdown.is-open .dropdown-menu,
  .has-dropdown.is-expanded .dropdown-menu {
    display: block !important;
  }

  .dropdown-menu a {
    padding: 0.5rem 0.75rem;
    font-size: 0.88rem;
    white-space: normal;
    border-bottom: none !important;
    color: #1a2e40;
  }

  .dropdown-menu a:hover,
  .dropdown-menu a:focus {
    padding-left: 0.75rem;
    border-bottom: none !important;
    background: #eef6fc;
    color: #0077b6;
  }

  .dropdown-menu a.dropdown-overview-link {
    border-bottom: 1px solid #eef2f6 !important;
    color: #0077b6 !important;
    margin-bottom: 0.2rem;
  }

  .nav-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-actions .btn-linkedin-icon {
    width: 38px;
    height: 38px;
    margin: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 580px) and (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Marco Marine Team Member Showcase (REQ-021) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 420px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-inline: auto;
  }
}

@media (max-width: 480px) {
  .brand-logo img {
    height: 33px;
    max-width: 220px;
  }
}

.team-member-item {
  display: flex;
  flex-direction: column;
}

.team-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #051829;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.team-member-item:hover .team-photo-wrap {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 28px rgba(0, 180, 216, 0.2);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-info {
  padding-top: 0.85rem;
}

.team-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.team-role {
  font-size: 0.88rem;
  color: var(--accent);
  margin: 0 0 0.25rem 0;
  line-height: 1.4;
}

.team-location-badge {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Featured Product Showcase (Homepage FS5051 Spotlight) */
.featured-product-card {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  background: var(--bg-card);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease;
}

.featured-product-card:hover {
  border-color: var(--accent-cyan);
}

.featured-product-media {
  position: relative;
  background: #ffffff;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-product-img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: contain;
  padding: 1.5rem 1.5rem 4rem 1.5rem;
  display: block;
}

#fuel-samplers .card-media {
  background: #ffffff;
  object-fit: contain;
  padding: 1.25rem;
}

#ultrasonic-cleaners .card-media {
  background: #ffffff;
  object-fit: contain;
  aspect-ratio: 4 / 3;
  padding: 0.85rem 1rem;
}

.featured-product-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(1, 22, 39, 0.88);
  backdrop-filter: blur(8px);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 180, 216, 0.25);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.featured-product-content {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-product-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.featured-product-title {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  color: #ffffff;
}

.featured-product-lead {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
}

.featured-product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.85rem;
}

.featured-spec-item {
  background: rgba(1, 22, 39, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}

.featured-spec-item .spec-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.featured-spec-item .spec-val {
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.35;
}

.featured-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.featured-product-footer {
  margin-top: 1.75rem;
  text-align: center;
}

.featured-product-footer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.featured-product-footer a {
  color: var(--accent-cyan);
  font-weight: 600;
  text-decoration: underline;
  margin-left: 0.35rem;
}

.featured-product-footer a:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  .featured-product-card {
    grid-template-columns: 1fr;
  }
  .featured-product-media {
    min-height: 280px;
    max-height: 380px;
  }
  .featured-product-specs {
    grid-template-columns: 1fr;
  }
}

/* QHSE & ESG Sustainability Showcase */
.qhse-section {
  background: radial-gradient(circle at 90% 12%, rgba(0, 168, 204, 0.09) 0%, transparent 45%),
              radial-gradient(circle at 10% 88%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
              linear-gradient(180deg, var(--bg-secondary) 0%, #0a192f 100%);
  position: relative;
  border-top: 1px solid rgba(0, 168, 204, 0.15);
  border-bottom: 1px solid rgba(0, 168, 204, 0.15);
}

.esg-spotlight-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 168, 204, 0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.esg-spotlight-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.esg-image-wrap {
  position: relative;
  overflow: hidden;
  max-height: 270px;
}

.esg-image-wrap img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.esg-spotlight-card:hover .esg-image-wrap img {
  transform: scale(1.03);
}

.esg-badge-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 25, 47, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 168, 204, 0.4);
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.esg-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
  display: inline-block;
}

.esg-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.esg-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.esg-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.esg-pillar-list {
  display: grid;
  gap: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.1rem;
}

.esg-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.esg-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.esg-pillar-icon.env {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.esg-pillar-icon.soc {
  background: rgba(0, 168, 204, 0.16);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 168, 204, 0.3);
}

.esg-pillar-icon.gov {
  background: rgba(99, 102, 241, 0.16);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.esg-pillar-text strong {
  color: #ffffff;
  font-weight: 600;
}

#qhse .section-title {
  white-space: normal;
  margin-bottom: 0.85rem;
}

#qhse .pdf-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
}

@media (max-width: 980px) {
  #qhse .pdf-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Interactive Fuel Sampler Flipbook Catalog */
.flipbook-card {
  background: radial-gradient(circle at top right, #092c4c 0%, #011627 80%);
  border: 1px solid rgba(0, 180, 216, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 180, 216, 0.15);
  display: flex;
  flex-direction: column;
  outline: none;
}

.flipbook-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: rgba(1, 22, 39, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 0.75rem;
}

.flipbook-info {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.flipbook-badge {
  background: rgba(0, 180, 216, 0.18);
  color: #00d2ff;
  border: 1px solid rgba(0, 180, 216, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.flipbook-title {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flipbook-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.flipbook-btn-sound,
.flipbook-btn-fullscreen {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  padding: 0.3rem 0.45rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.flipbook-btn-sound:hover,
.flipbook-btn-fullscreen:hover {
  color: #00d2ff;
  border-color: rgba(0, 180, 216, 0.4);
}

.flipbook-btn-sound.is-muted {
  color: #64748b;
  opacity: 0.6;
}

.flipbook-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.35);
  color: #00d2ff !important;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  line-height: 1;
}

.flipbook-btn-download:hover {
  background: #00d2ff;
  color: #011627 !important;
}

.flipbook-viewport {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.75rem;
  min-height: 480px;
  background: radial-gradient(circle at center, #001f35 0%, #001220 100%);
  user-select: none;
  overflow: hidden;
}

.flipbook-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  min-height: 440px;
}

.flipbook-canvas-container {
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* PageFlip engine canvas styles */
.stf__parent {
  position: relative;
  display: block;
  box-sizing: border-box;
  transform: translateZ(0);
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  margin: 0 auto;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.stf__wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.stf__parent canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 4px;
  cursor: grab;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.85));
}

.stf__parent canvas:active {
  cursor: grabbing;
}

.flipbook-drag-hint {
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(1, 22, 39, 0.85);
  border: 1px solid rgba(0, 180, 216, 0.35);
  color: #94a3b8;
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.4s ease;
  z-index: 4;
  white-space: nowrap;
}

.flipbook-page-wrap {
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
}

.flipbook-img {
  display: block;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

.flipbook-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(1, 22, 39, 0.88);
  border: 1px solid rgba(0, 180, 216, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.flipbook-nav:hover:not(:disabled) {
  background: #00b4d8;
  color: #011627;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.5);
}

.flipbook-nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.flipbook-prev {
  left: 0.75rem;
}

.flipbook-next {
  right: 0.75rem;
}

.flipbook-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(1, 22, 39, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.flipbook-counter {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.82rem;
  color: #94a3b8;
  white-space: nowrap;
}

.flipbook-counter strong {
  color: #00d2ff;
  font-weight: 700;
}

.flipbook-scrubber {
  flex: 1;
  display: flex;
  align-items: center;
}

.flipbook-scrubber input[type="range"] {
  width: 100%;
  height: 4px;
  accent-color: #00d2ff;
  cursor: pointer;
}

.flipbook-quick-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.flipbook-quick-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.flipbook-quick-btn:hover {
  background: rgba(0, 180, 216, 0.2);
  color: #ffffff;
  border-color: rgba(0, 180, 216, 0.4);
}

/* Fullscreen mode for flipbook */
.flipbook-card:fullscreen {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  border: none;
  background: radial-gradient(circle at center, #071f33 0%, #000c17 100%);
  display: flex;
  flex-direction: column;
}

.flipbook-card:fullscreen .flipbook-viewport {
  flex: 1;
  min-height: unset;
  padding: 1rem 2rem;
}

.flipbook-card:fullscreen .flipbook-stage {
  height: 100%;
  min-height: unset;
}

/* Fuel Sampler Compliance Section (Clean Editorial Layout - Outside the Boxes) */
.sampler-compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2.75rem;
  align-items: start;
}

.sampler-compliance-col,
.sampler-compliance-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.sampler-compliance-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.01em;
}

.sampler-compliance-icon-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.sampler-compliance-icon-inline svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-cyan);
}

.sampler-compliance-text {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

.sampler-service-callout {
  background: radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.12) 0%, rgba(11, 50, 86, 0.95) 100%);
  border: 1.5px solid rgba(0, 180, 216, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.sampler-service-content {
  flex: 1;
}

.sampler-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.sampler-service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.sampler-service-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.sampler-service-action {
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .sampler-compliance-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .sampler-service-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* OEM Equipment Partners Banner */
.oem-partner-banner-card {
  background: transparent;
  padding: 0;
  margin-bottom: 2.5rem;
  text-align: center;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.oem-partner-banner-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
}

@media (max-width: 768px) {
  .oem-partner-banner-card {
    padding: 0;
    margin-bottom: 1.75rem;
  }
}

/* MWH Valve Products Showcase Card */
.mwh-pdf-download-card {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  background: rgba(4, 31, 56, 0.85);
  border: 1px solid rgba(0, 180, 216, 0.35);
  border-radius: 10px;
  padding: 0.75rem 1.15rem;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.mwh-pdf-download-card:hover {
  background: rgba(0, 180, 216, 0.15) !important;
  border-color: #00d2ff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 210, 255, 0.2);
}

.mwh-showcase-box {
  position: relative;
  display: block;
  background: rgba(1, 22, 39, 0.7);
  padding: 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 180, 216, 0.35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
  margin: 0 auto;
}

.mwh-showcase-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.6));
  transition: transform 0.25s ease;
}

.mwh-showcase-box:hover .mwh-showcase-img {
  transform: scale(1.02);
}

.mwh-trio-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr 2.1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.mwh-component-card {
  background: rgba(6, 34, 61, 0.55);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  padding: 0.85rem 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.mwh-component-card:hover {
  background: rgba(6, 34, 61, 0.85);
  border-color: rgba(0, 210, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.2);
}

.mwh-component-figure {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 0.65rem;
}

.mwh-component-figure img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
  transition: transform 0.25s ease;
}

.mwh-component-card:hover .mwh-component-figure img {
  transform: scale(1.05);
}

.mwh-component-label {
  text-align: center;
  width: 100%;
}

.mwh-component-label strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 2px;
}

.mwh-component-label span {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mwh-trio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mwh-trio-footer .mwh-caption-text {
  font-size: 0.8rem;
  color: #94a3b8;
  font-style: italic;
  text-align: left;
}

.mwh-trio-footer .mwh-enlarge-link {
  font-size: 0.78rem;
  color: #00d2ff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mwh-trio-footer .mwh-enlarge-link:hover {
  color: #38bdf8;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .mwh-trio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mwh-component-cage {
    grid-column: 1 / -1;
  }
}

/* Engine Diagnostics & Safety Section (QMI & PMI) */
.diagnostic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.diagnostic-card:hover {
  border-color: rgba(0, 180, 216, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 180, 216, 0.14);
}

.diagnostic-media-container {
  background: radial-gradient(circle at center, #071f33 0%, #02101d 100%);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid rgba(0, 180, 216, 0.2);
  overflow: hidden;
}

.diagnostic-media-img {
  max-height: 185px;
  max-width: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease;
}

.diagnostic-card:hover .diagnostic-media-img {
  transform: scale(1.04);
}

.diagnostic-zoom-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(2, 16, 29, 0.85);
  border: 1px solid rgba(0, 180, 216, 0.35);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.diagnostic-body {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.diagnostic-feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.diagnostic-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.diagnostic-feature-icon {
  flex-shrink: 0;
  color: #00d2ff;
  margin-top: 2px;
}

.diagnostic-pdf-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 8px;
  padding: 0.55rem 0.95rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.diagnostic-pdf-card:hover {
  background: rgba(0, 180, 216, 0.18);
  border-color: #00d2ff;
  transform: translateY(-1px);
}





