:root {
  --navy: #0b1f2a;
  --navy-dark: #060f16;
  --teal: #0e8f86;
  --teal-dark: #0b6f68;
  --amber: #ff5a5f;
  --gray-50: #eef4f3;
  --gray-100: #eef1f5;
  --gray-200: #dde3ea;
  --gray-500: #52646a;
  --gray-700: #3c4552;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(11, 31, 42, 0.08);
  --shadow-lg: 0 8px 30px rgba(11, 31, 42, 0.12);
  --max-width: 1180px;
  --header-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
}
h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 300;
  line-height: 1.25;
  margin: 0 0 0.5em;
}
h1 { font-size: 2.6rem; font-weight: 300; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 72px 0; }
.section-flush-top { padding-top: 0; }
.section-alt { background: var(--gray-50); }
.section-navy { background: var(--navy); color: var(--gray-200); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--teal-dark);
  font-weight: 300;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow-bar { display: inline-block; width: 22px; height: 2px; background: var(--amber); flex-shrink: 0; }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head-left { text-align: left; margin: 0 0 40px; }
.section-head-split {
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: none;
  margin-bottom: 40px;
  gap: 24px;
}
.section-head-split > a { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 640px) {
  .section-head-split { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head-split > a { white-space: normal; }
}
.section-head p { color: var(--gray-500); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 300;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--gray-50); }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* Hero buttons sit on dark section backgrounds in some contexts */
.section-navy .btn-outline, .hero .btn-outline { border-color: var(--white); color: var(--white); }
.section-navy .btn-outline:hover, .hero .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.25s ease, border-color 0.25s ease;
}

/* Transparent header over the hero photo (homepage only) until scrolled */
.site-header.transparent-header {
  background: transparent;
  border-bottom-color: transparent;
}
.site-header.transparent-header :is(.logo-mark, .logo-text, .nav-links > li > a, .nav-products-trigger, .nav-industries-trigger, .submenu-toggle, .nav-toggle) {
  color: var(--white);
}
.site-header.transparent-header :is(.nav-links > li > a, .nav-products-trigger, .nav-industries-trigger):hover { opacity: 0.8; }
/* The mobile dropdown panel always has a white background once open, even
   while the header itself is still transparent/unscrolled — so its links
   need dark text regardless of header state, overriding the white text
   above that's meant for the see-through header only. */
.site-header.transparent-header .nav-links.open > li > a,
.site-header.transparent-header .nav-links.open :is(.nav-products-trigger, .nav-industries-trigger, .submenu-toggle) {
  color: var(--gray-700);
  opacity: 1;
}
.site-header.transparent-header .nav-links.open > li > a:hover,
.site-header.transparent-header .nav-links.open :is(.nav-products-trigger, .nav-industries-trigger):hover { color: var(--teal-dark); }
.site-header.transparent-header.scrolled {
  background: var(--white);
  border-bottom-color: var(--gray-200);
}
.site-header.transparent-header.scrolled :is(.logo-mark, .logo-text) { color: var(--navy); }
.site-header.transparent-header.scrolled :is(.nav-links > li > a, .nav-products-trigger, .nav-industries-trigger, .submenu-toggle) { color: var(--gray-700); }
.site-header.transparent-header.scrolled :is(.nav-links > li > a, .nav-products-trigger, .nav-industries-trigger):hover { color: var(--teal-dark); opacity: 1; }
.site-header.transparent-header.scrolled .nav-toggle { color: var(--navy); }

/* Turn the transparent header solid while a dropdown/mega-menu is open, so the
   opaque menu never sits on a see-through header with the hero peeking through
   the gap between them. */
.site-header.transparent-header:has(.has-mega:hover),
.site-header.transparent-header:has(.mega-menu:hover),
.site-header.transparent-header:has(.has-dropdown:hover),
.site-header.transparent-header:has(.dropdown-menu:hover) {
  background: var(--white);
  border-bottom-color: var(--gray-200);
}
.site-header.transparent-header:has(.has-mega:hover) :is(.logo-mark, .logo-text, .nav-links > li > a, .nav-products-trigger, .nav-industries-trigger, .submenu-toggle, .nav-toggle),
.site-header.transparent-header:has(.mega-menu:hover) :is(.logo-mark, .logo-text, .nav-links > li > a, .nav-products-trigger, .nav-industries-trigger, .submenu-toggle, .nav-toggle),
.site-header.transparent-header:has(.has-dropdown:hover) :is(.logo-mark, .logo-text, .nav-links > li > a, .nav-products-trigger, .nav-industries-trigger, .submenu-toggle, .nav-toggle),
.site-header.transparent-header:has(.dropdown-menu:hover) :is(.logo-mark, .logo-text, .nav-links > li > a, .nav-products-trigger, .nav-industries-trigger, .submenu-toggle, .nav-toggle) {
  color: var(--navy);
}
.site-header.transparent-header:has(.has-mega:hover) :is(.nav-links > li > a, .nav-products-trigger, .nav-industries-trigger):hover,
.site-header.transparent-header:has(.mega-menu:hover) :is(.nav-links > li > a, .nav-products-trigger, .nav-industries-trigger):hover,
.site-header.transparent-header:has(.has-dropdown:hover) :is(.nav-links > li > a, .nav-products-trigger, .nav-industries-trigger):hover,
.site-header.transparent-header:has(.dropdown-menu:hover) :is(.nav-links > li > a, .nav-products-trigger, .nav-industries-trigger):hover {
  color: var(--teal-dark);
  opacity: 1;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.logo:hover, .footer-logo:hover { text-decoration: none; }
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; }
.logo .accent { color: var(--teal); }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--gray-700);
  font-weight: 300;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-links a:hover { color: var(--teal-dark); text-decoration: none; }
.nav-links .chev { width: 15px; height: 15px; }
.nav-products-trigger,
.nav-industries-trigger {
  padding-top: 28px;
  padding-bottom: 28px;
  margin-top: -28px;
  margin-bottom: -28px;
}
.nav-link-row { display: flex; align-items: center; gap: 2px; }
@media (max-width: 860px) {
  .has-mega, .has-dropdown { cursor: pointer; }
}
.submenu-toggle {
  background: none;
  border: none;
  padding: 4px;
  margin: 0;
  cursor: pointer;
  color: inherit;
  display: inline-flex;
  align-items: center;
}
.submenu-toggle .chev { transition: transform 0.2s ease; }
.has-mega.submenu-open .submenu-toggle .chev,
.has-dropdown.submenu-open .submenu-toggle .chev,
.has-mega:hover .submenu-toggle .chev,
.has-dropdown:hover .submenu-toggle .chev { transform: rotate(180deg); }

/* Industries simple dropdown */
.has-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 70;
}
@media (min-width: 861px) {
  .has-dropdown:hover .dropdown-menu,
  .dropdown-menu:hover {
    display: block;
  }
}
.dropdown-menu a {
  display: block;
  padding: 14px 24px;
  color: var(--gray-700);
  font-weight: 300;
}
.dropdown-menu a:hover { background: var(--gray-50); color: var(--teal-dark); text-decoration: none; }

/* Products mobile accordion (a simple flat list of categories, distinct from
   the desktop mega-menu's hover panels, which are too detailed for a tap
   accordion). Hidden by default; the mobile media query below reveals it
   when its parent <li> is expanded. */
.mobile-submenu { display: none; list-style: none; margin: 0; padding: 0; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}
@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open {
    max-height: 600px;
    overflow-y: auto;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }
  .nav-links li { width: 100%; padding: 14px 24px; border-top: 1px solid var(--gray-100); }
  /* Plain items (Home, About, Contact — no dropdown) get a full-row tap
     target. This only matches a direct-child <a> of <li>, so it doesn't
     affect Products/Industries, whose main link sits inside .nav-link-row. */
  .nav-links > li > a {
    display: block;
    margin: -14px -24px;
    padding: 14px 24px;
  }
  .nav-toggle { display: block; }
  .nav-cta .btn-primary { display: none; }
  .mega-menu { display: none !important; }

  /* Products/Industries become tap-to-expand accordions instead of hover menus */
  .nav-link-row { justify-content: space-between; width: 100%; }
  .mobile-submenu { display: none; }
  .has-mega.submenu-open .mobile-submenu { display: block; margin-top: 10px; }
  .mobile-submenu li {
    width: auto;
    padding: 0;
    border-top: 1px solid var(--gray-100);
  }
  .mobile-submenu a { display: block; padding: 12px 4px; font-size: 0.92rem; }

  .dropdown-menu { display: none; }
  .has-dropdown.submenu-open .dropdown-menu {
    display: block;
    position: static;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 10px;
  }
  .dropdown-menu a { padding: 12px 4px; border-top: 1px solid var(--gray-100); }
}

/* Products mega-menu */
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  z-index: 60;
}
.site-header:has(.has-mega:hover) .mega-menu,
.mega-menu:hover {
  display: block;
}
.mega-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  align-items: stretch;
}
.mega-list {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  border-right: 1px solid var(--gray-200);
}
.mega-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 24px;
  color: var(--gray-700);
  font-weight: 300;
  background: transparent;
}
.mega-list a:hover { text-decoration: none; }
.mega-list a:first-child { background: var(--gray-50); color: var(--teal-dark); }
.mega-arrow { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.6; }
.mega-panel { padding: 28px 32px; }
.mega-panel { display: none; }
.mega-panel:first-child { display: block; }
.mega-desc { color: var(--gray-500); max-width: 760px; margin-top: 10px; margin-bottom: 24px; }
.mega-sub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.mega-sub h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.mega-sub p { font-size: 0.88rem; color: var(--gray-500); margin: 0; }

.mega-inner:has(.mega-list a:nth-child(2):hover) .mega-list a:first-child { background: transparent; color: var(--gray-700); }
.mega-inner:has(.mega-list a:nth-child(2):hover) .mega-list a:nth-child(2) { background: var(--gray-50); color: var(--teal-dark); }
.mega-inner:has(.mega-list a:nth-child(2):hover) .mega-panel:first-child { display: none; }
.mega-inner:has(.mega-list a:nth-child(2):hover) .mega-panel:nth-child(2) { display: block; }

.mega-inner:has(.mega-list a:nth-child(3):hover) .mega-list a:first-child { background: transparent; color: var(--gray-700); }
.mega-inner:has(.mega-list a:nth-child(3):hover) .mega-list a:nth-child(3) { background: var(--gray-50); color: var(--teal-dark); }
.mega-inner:has(.mega-list a:nth-child(3):hover) .mega-panel:first-child { display: none; }
.mega-inner:has(.mega-list a:nth-child(3):hover) .mega-panel:nth-child(3) { display: block; }

.mega-inner:has(.mega-list a:nth-child(4):hover) .mega-list a:first-child { background: transparent; color: var(--gray-700); }
.mega-inner:has(.mega-list a:nth-child(4):hover) .mega-list a:nth-child(4) { background: var(--gray-50); color: var(--teal-dark); }
.mega-inner:has(.mega-list a:nth-child(4):hover) .mega-panel:first-child { display: none; }
.mega-inner:has(.mega-list a:nth-child(4):hover) .mega-panel:nth-child(4) { display: block; }

.mega-inner:has(.mega-list a:nth-child(5):hover) .mega-list a:first-child { background: transparent; color: var(--gray-700); }
.mega-inner:has(.mega-list a:nth-child(5):hover) .mega-list a:nth-child(5) { background: var(--gray-50); color: var(--teal-dark); }
.mega-inner:has(.mega-list a:nth-child(5):hover) .mega-panel:first-child { display: none; }
.mega-inner:has(.mega-list a:nth-child(5):hover) .mega-panel:nth-child(5) { display: block; }

/* Keep a panel active while the pointer is over the panel's own content,
   not just its trigger — otherwise moving sideways off the list item
   drops hover and the menu snaps back to the first panel. */
.mega-inner:has(.mega-panel:nth-child(2):hover) .mega-list a:first-child { background: transparent; color: var(--gray-700); }
.mega-inner:has(.mega-panel:nth-child(2):hover) .mega-list a:nth-child(2) { background: var(--gray-50); color: var(--teal-dark); }
.mega-inner:has(.mega-panel:nth-child(2):hover) .mega-panel:first-child { display: none; }
.mega-inner:has(.mega-panel:nth-child(2):hover) .mega-panel:nth-child(2) { display: block; }

.mega-inner:has(.mega-panel:nth-child(3):hover) .mega-list a:first-child { background: transparent; color: var(--gray-700); }
.mega-inner:has(.mega-panel:nth-child(3):hover) .mega-list a:nth-child(3) { background: var(--gray-50); color: var(--teal-dark); }
.mega-inner:has(.mega-panel:nth-child(3):hover) .mega-panel:first-child { display: none; }
.mega-inner:has(.mega-panel:nth-child(3):hover) .mega-panel:nth-child(3) { display: block; }

.mega-inner:has(.mega-panel:nth-child(4):hover) .mega-list a:first-child { background: transparent; color: var(--gray-700); }
.mega-inner:has(.mega-panel:nth-child(4):hover) .mega-list a:nth-child(4) { background: var(--gray-50); color: var(--teal-dark); }
.mega-inner:has(.mega-panel:nth-child(4):hover) .mega-panel:first-child { display: none; }
.mega-inner:has(.mega-panel:nth-child(4):hover) .mega-panel:nth-child(4) { display: block; }

.mega-inner:has(.mega-panel:nth-child(5):hover) .mega-list a:first-child { background: transparent; color: var(--gray-700); }
.mega-inner:has(.mega-panel:nth-child(5):hover) .mega-list a:nth-child(5) { background: var(--gray-50); color: var(--teal-dark); }
.mega-inner:has(.mega-panel:nth-child(5):hover) .mega-panel:first-child { display: none; }
.mega-inner:has(.mega-panel:nth-child(5):hover) .mega-panel:nth-child(5) { display: block; }

/* Hero */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  margin-top: calc(-1 * var(--header-height));
  padding: calc(var(--header-height) + 120px) 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  padding-bottom: 90px;
}
.hero h1 { color: var(--white); font-size: 3rem; max-width: 680px; }
.hero .accent-text { color: #5fe8de; }
.hero .eyebrow { color: rgba(255,255,255,0.75); }
.hero .eyebrow-bar { width: 28px; }
.hero p.lead { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 520px; margin-top: 18px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats {
  border-top: 1px solid rgba(255,255,255,0.15);
  background: rgba(15, 17, 19, 0.5);
  backdrop-filter: blur(6px);
}
.hero-stats-row {
  display: flex;
}
.hero-stats-row > div {
  flex: 1;
  text-align: center;
  padding: 20px 10px;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.hero-stats-row > div:first-child { border-left: none; }
.hero-stats .stat-num { font-size: 1.8rem; font-weight: 300; color: var(--white); }
.hero-stats .stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 2px; }
@media (max-width: 860px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding-top: calc(var(--header-height) + 46px); }
  .hero-grid { padding-bottom: 60px; }
}

/* Page hero (sub pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 64px 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: var(--gray-200); max-width: 640px; font-size: 1.05rem; }
.breadcrumb { font-size: 0.85rem; color: var(--gray-200); margin-bottom: 16px; }
.breadcrumb a { color: var(--gray-200); text-decoration: underline; }

/* Page hero with a product/industry photo as a full-bleed background, header
   floating transparently on top. Taller than a standard page-hero so the
   source photo is scaled less aggressively. */
.page-hero-photo {
  margin-top: calc(-1 * var(--header-height));
  padding: calc(var(--header-height) + 146px) 0 130px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 860px) {
  .page-hero-photo { padding: calc(var(--header-height) + 56px) 0 80px; }
}

/* Plain navy page hero (no photo) with the header floating flush on top, same color */
.page-hero-flush {
  margin-top: calc(-1 * var(--header-height));
  padding-top: calc(var(--header-height) + 64px);
}
@media (max-width: 860px) {
  .page-hero-flush { padding-top: calc(var(--header-height) + 46px); }
}

/* Grids & cards */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon img { width: 26px; height: 26px; object-fit: cover; border-radius: 6px; }
.card-icon svg { width: 24px; height: 24px; color: var(--teal-dark); }

.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.card-head .card-icon { margin-bottom: 0; flex-shrink: 0; }
.card-head h3 { margin-bottom: 0; }
.card ul { padding-left: 0; list-style: none; margin: 12px 0; }
.card ul li { padding: 3px 0; }
.card ul li a { font-size: 0.92rem; }

.media-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}
.media-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.media-card img { height: 160px; width: 100%; object-fit: cover; background: var(--gray-100); }
.media-card .media-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.media-card .media-card-body .btn, .media-card .media-card-body a.explore { margin-top: auto; }

.photo-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.photo-card:hover {
  border-top-color: var(--amber);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(to top, rgba(14,42,51,0.92) 0%, rgba(14,42,51,0.55) 45%, rgba(14,42,51,0) 85%);
}
.photo-card-overlay h3 { color: var(--white); margin-bottom: 6px; font-size: 1.15rem; }
.photo-card-overlay p { color: var(--gray-200); font-size: 0.9rem; margin-bottom: 10px; }
.photo-card-overlay .explore { color: var(--white); font-weight: 300; font-size: 0.9rem; }

.tag {
  display: inline-block;
  background: var(--gray-100);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.post-meta { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 10px; }

.value-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
@media (max-width: 640px) { .value-points { grid-template-columns: 1fr; } }
.value-point { display: flex; gap: 14px; align-items: flex-start; }
.value-point .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber); margin-top: 8px; flex-shrink: 0;
}
.value-point h4 { color: var(--white); margin-bottom: 4px; font-size: 1rem; }
.value-point p { color: var(--gray-200); font-size: 0.92rem; margin: 0; }

/* Contact form */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 300; font-size: 0.88rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--gray-700);
}
.field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352646a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 143, 134, 0.18);
}
.field { margin-bottom: 18px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: 0.82rem; color: var(--gray-500); margin-top: 14px; }
/* Standalone contact page */
.contact-page h1 { margin-top: 8px; }
.contact-page .lead { color: var(--gray-500); max-width: 640px; font-size: 1.05rem; margin-bottom: 48px; }
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .contact-form { grid-template-columns: 1fr; } }
.contact-form .field-full { grid-column: 1 / -1; }
.required-mark { color: var(--teal); margin-left: 2px; }
.contact-aside { display: flex; flex-direction: column; gap: 32px; }
.contact-icon { width: 20px; height: 20px; color: var(--teal); margin-bottom: 8px; }
.contact-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.contact-info a { color: var(--teal-dark); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.contact-info p { color: var(--gray-500); margin: 0; line-height: 1.6; }

.form-success {
  display: none;
  background: #eafbf3;
  border: 1px solid #b8ebd3;
  color: #0f7a4a;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 300;
}
.form-success.show { display: block; }

.form-error {
  display: none;
  background: #fdecec;
  border: 1px solid #f3b4b4;
  color: #b02a2a;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 300;
}
.form-error.show { display: block; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #d9534f;
}
.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.18);
}
.field-error-msg {
  display: none;
  color: #d9534f;
  font-size: 0.8rem;
  margin-top: 6px;
}
.field.has-error .field-error-msg { display: block; }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 56px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: 0.9rem; }
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--white); }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 18px; }
.footer-logo .logo-mark { width: 30px; height: 30px; color: var(--white); flex-shrink: 0; }
.footer-logo .accent { color: var(--teal); }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.social-link svg { width: 16px; height: 16px; fill: currentColor; }
.social-link:hover { background: var(--amber); border-color: var(--amber); color: var(--navy-dark); }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.footer-icon { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 1px; }

.footer-countries { border-top: 1px solid rgba(255,255,255,0.1); padding: 28px 0; }
.footer-countries .eyebrow { color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.countries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; font-size: 0.78rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
@media (max-width: 760px) { .countries-grid { grid-template-columns: 1fr; } }
.region-name { color: var(--white); font-weight: 700; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 640px) {
  /* Leave room so the fixed "Contact Sales" button never overlaps the
     copyright line at the very bottom of the page. Stack both lines
     explicitly rather than relying on flex-wrap, which only wraps once
     the text actually overflows the row (looks cramped right up until it does). */
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 76px;
  }
}

.cta-section p { max-width: 560px; margin-bottom: 28px; }

.specs-list { list-style: none; padding: 0; margin: 20px 0; }
.specs-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  gap: 10px;
}
.specs-list li::before { content: "✓"; color: var(--teal-dark); font-weight: 700; }

/* Product detail page layout */
.product-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .product-layout { grid-template-columns: 1fr; } }
.category-nav {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 10px;
}
.category-nav .eyebrow { margin: 6px 14px 12px; }
.category-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--gray-700);
  font-weight: 300;
  font-size: 0.92rem;
  border-left: 3px solid transparent;
}
.category-nav a:hover { background: var(--gray-50); color: var(--teal-dark); text-decoration: none; }
.category-nav a.active {
  background: var(--gray-50);
  color: var(--teal-dark);
  font-weight: 700;
  border-left-color: var(--teal);
}
@media (max-width: 860px) {
  .category-nav { position: static; }
  .category-nav .eyebrow { display: none; }
}

.model-card { display: flex; flex-direction: column; height: 100%; }
.model-card p { flex: 1; }
.model-card-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

.other-categories .media-card h3 { font-size: 1.05rem; }
.other-categories .media-card p { font-size: 0.88rem; }

.breadcrumb-row { margin-bottom: 8px; }

/* Floating Contact Sales button */
.fab-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(11, 31, 42, 0.35);
  transition: background 0.15s ease, transform 0.15s ease;
}
.fab-contact:hover { background: var(--teal-dark); text-decoration: none; transform: translateY(-2px); }
@media (max-width: 640px) {
  .fab-contact { right: 16px; bottom: 16px; padding: 13px 20px; font-size: 0.88rem; }
}
