:root {
  --blue: #0f4d9f;
  --blue-dark: #0c2340;
  --red: #e1262f;
  --green: #158f73;
  --ink: #162130;
  --muted: #64748b;
  --line: #d9e2ee;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(12, 35, 64, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-width: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(12, 35, 64, 0.06);
  transition: box-shadow 300ms ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.top-bar {
  color: var(--white);
  background: #6D8FC4;
  font-size: 14px;
  overflow: hidden;
}

.top-bar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  flex-wrap: nowrap;
  width: max-content;
  animation: topBarScroll 25s linear infinite;
}

.top-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-bar__icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.top-bar a {
  transition: color 160ms ease;
}

.top-bar a:hover,
.top-bar a:focus-visible {
  color: #ffd7d9;
}

.nav-wrap {
  background: var(--white);
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
}

.brand img {
  width: 200px;
  height: auto;
}

.brand {
  flex: 0 1 auto;
  min-width: 0;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 700;
}

.menu a {
  position: relative;
  padding: 24px 0;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.menu a:hover::after,
.menu a:focus-visible::after {
  transform: scaleX(1);
}

.menu a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  padding: 8px;
  cursor: pointer;
  position: relative;
  z-index: 110;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--blue-dark);
  transition: transform 300ms ease, opacity 300ms ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.menu-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--blue-dark);
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
}

.hero__shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 20, 38, 0.86), rgba(5, 20, 38, 0.52) 48%, rgba(5, 20, 38, 0.1)),
    linear-gradient(0deg, rgba(5, 20, 38, 0.18), rgba(5, 20, 38, 0.18));
}

.hero__content {
  position: relative;
  z-index: 3;
  color: var(--white);
  padding: 96px 0 112px;
}

.hero h1 {
  max-width: 780px;
  margin: 8px 0 18px;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 800;
  overflow-wrap: break-word;
}

.hero p:not(.eyebrow) {
  max-width: 710px;
  margin: 0;
  color: #e7eef8;
  font-size: 19px;
  overflow-wrap: break-word;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 13px 22px;
  border: 2px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--white);
  background: var(--red);
}

.button--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 84px 0;
}

.inner-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-dark);
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 25, 45, 0.92), rgba(15, 77, 159, 0.64)),
    url("assets/banner.png") center / cover no-repeat;
}

.inner-hero .container {
  position: relative;
  z-index: 1;
  padding: 86px 0 92px;
}

.inner-hero h1 {
  max-width: 820px;
  margin: 0 0 16px;
  font-size: 52px;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.inner-hero p {
  max-width: 760px;
  margin: 0;
  color: #e7eef8;
  font-size: 18px;
}

.breadcrumbs {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  color: #cbd7e8;
  font-size: 14px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--white);
}

.page-intro {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 54px;
  align-items: start;
}

.page-intro--centered {
  grid-template-columns: 1fr;
  text-align: center;
}

.page-intro__panel {
  border-left: 5px solid var(--red);
  background: var(--soft);
  padding: 26px;
  border-radius: 8px;
}

.page-intro p:not(.eyebrow),
.content-block p {
  margin: 0 0 16px;
  color: #344154;
  font-size: 17px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.stat-grid,
.branch-grid,
.detail-grid,
.brand-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.stat-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.stat-card,
.branch-card,
.detail-card,
.brand-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.06);
}

.stat-card strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.stat-card span,
.detail-card p,
.brand-card p,
.contact-card p {
  color: var(--muted);
}

.branch-grid {
  grid-template-columns: repeat(3, 1fr);
}

.branch-card h3,
.detail-card h3,
.brand-card h3,
.contact-card h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.2;
}

.branch-card p,
.contact-card p {
  margin: 0 0 10px;
}

.detail-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.06);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(12, 35, 64, 0.1);
}

.detail-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.detail-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.detail-card:hover .detail-card__image img {
  transform: scale(1.05);
}

.detail-card h3 {
  margin: 24px 24px 12px;
  color: var(--blue-dark);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.detail-card p {
  margin: 0 24px 18px !important;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.detail-card ul {
  list-style: none;
  padding: 0;
  margin: 0 24px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-card li {
  margin: 0 !important;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: var(--soft);
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.brand-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: #344154;
}

.brand-card li {
  margin: 6px 0;
}

.brand-grid {
  grid-template-columns: repeat(3, 1fr);
}

.brand-card img {
  width: 210px;
  max-width: 100%;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* Brand Logo Grid (Logos Only) */
.brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.brand-logo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(12, 35, 64, 0.1);
}

.brand-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.2) contrast(1.1);
  transition: filter 0.3s ease;
}

.brand-logo-card:hover img {
  filter: grayscale(0) contrast(1);
}

@media (max-width: 576px) {
  .brand-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .brand-logo-card {
    padding: 15px;
  }
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-card a {
  display: block;
  margin: 8px 0;
  color: var(--blue);
  font-weight: 800;
}

/* General Grid Responsiveness */
@media (max-width: 991px) {

  .stat-grid,
  .branch-grid,
  .detail-grid,
  .brand-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {

  .stat-grid,
  .branch-grid,
  .detail-grid,
  .brand-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.map-panel {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 77, 159, 0.92), rgba(225, 38, 47, 0.74)),
    url("assets/divider.png") center / cover no-repeat;
  color: var(--white);
  padding: 34px;
  text-align: center;
}

.map-panel h2 {
  color: var(--white);
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 54px;
}

.map-item h4 {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(12, 35, 64, 0.04);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1020px) {
  .map-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .map-grid {
    grid-template-columns: 1fr;
  }
}

.section--about {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section h2,
.cta h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 40px;
  line-height: 1.14;
  overflow-wrap: break-word;
}

.section-heading {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 34px;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  align-items: start;
}

.about-grid>*,
.seals-grid>*,
.footer-grid>* {
  min-width: 0;
}

.about-copy p {
  margin: 0 0 16px;
  color: #344154;
  font-size: 17px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

#products {
  background-color: #f8f9fa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* 1. Grid Layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 60px 30px;
  padding: 20px 0;
}

/* 2. Card Container */
.product-card {
  position: relative;
  overflow: visible;
  /* allows tile to overflow */
  height: 260px;
  border-radius: 12px;
  margin-bottom: 60px;
  background-color: #e9ecef;
  transition: box-shadow 0.4s ease;
}

/* 3. Image */
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
    filter 0.4s ease;
}

/* 4. White Tile */
.product-card h3 {
  position: absolute;
  bottom: -45px;
  right: 0;

  width: 78%;
  height: 90px;

  margin: 0;
  padding: 22px;
  border-radius: 12px;

  background: #fff;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  border-top-left-radius: 20px;

  box-sizing: border-box;
  transform: translateZ(0);

  transition: height 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);

  z-index: 2;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* 5. Icon (PERFECTLY ALIGNED) */
.product-icon {
  position: absolute;

  /* align exactly with tile edge */
  right: calc(78% - 25px);

  bottom: 25px;
  width: 50px;
  height: 50px;

  background-color: #0047ab;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  z-index: 3;

  transition: bottom 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);

  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  transform: translateZ(0);
}

/* --- HOVER --- */

.product-card:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
}

/* tile expands UP only */
.product-card:hover h3 {
  height: 170px;
}

/* icon follows tile perfectly */
.product-card:hover .product-icon {
  bottom: calc(170px - 25px - 45px);
}

/* image effect */
.product-card:hover img {
  /* transform: scale(1.1); */
  filter: brightness(0.8);
}

/* Responsive */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 30px;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 80px;
    padding: 0;
  }

  .product-card {
    height: 240px;
    margin-bottom: 40px;
  }

  .product-card h3 {
    width: 85%;
    font-size: 17px;
    height: 80px;
    bottom: -35px;
    padding: 15px;
  }

  .product-icon {
    right: calc(85% - 22px);
    bottom: 23px;
    /* centers bottom of icon on tile top edge if top is -35+80=45? no. */
    width: 44px;
    height: 44px;
  }

  /* follow the tile on hover if anyone hover on mobile */
  .product-card:hover h3 {
    height: 140px;
  }

  .product-card:hover .product-icon {
    bottom: calc(140px - 22px - 35px);
  }
}

.cta {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-dark);
}

.cta>img {
  display: block;
  width: 100%;
  height: 400px;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 20, 36, 0.86), rgba(8, 20, 36, 0.34));
  z-index: 1;
}

.cta__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 0;
}

.cta h2 {
  max-width: 680px;
  color: var(--white);
}

.cta h2 span {
  color: #ffcb2f;
}

.cta a {
  flex: 0 0 auto;
  color: var(--white);
  font-size: 28px;
  font-weight: 800;
}

.section--industries {
  background-color: #7D9BCA;
}

.section--industries h2 {
  color: var(--white);
}

.industry-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 84px 48px;
  margin-top: 64px;
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.industry-icon-outer {
  width: 80px;
  height: 80px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 300ms ease, background-color 300ms ease, box-shadow 300ms ease;
}

.industry-icon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: color 300ms ease;
}

.industry-icon-inner svg {
  width: 38px;
  height: 38px;
}

.industry-item h3 {
  margin: 0;
  color: var(--soft);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  transition: color 300ms ease;
}

/* Industry Icon Hover Effects */
.industry-item:hover .industry-icon-outer {
  transform: scale(1.1);
  background-color: var(--blue);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.industry-item:hover .industry-icon-inner {
  color: var(--white);
}

.industry-item:hover h3 {
  color: var(--white);
}

.industry-actions {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.button--oval {
  background-color: var(--blue);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 200ms ease, transform 200ms ease;
}

.button--oval:hover {
  background-color: var(--blue-dark);
  transform: translateY(-2px);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(12, 35, 64, 0.04);
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(12, 35, 64, 0.1);
  border-color: var(--blue);
}

.industry-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 77, 159, 0.08);
  color: var(--blue);
  border-radius: 16px;
  margin-bottom: 20px;
  transition: background 250ms ease, color 250ms ease;
}

.industry-card:hover .industry-card__icon {
  background: var(--blue);
  color: var(--white);
}

.industry-card h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.custom-seals-banner {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--blue-dark);
}

.custom-seals-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-seals-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 38, 0.5);
  /* The "shadow look" overlay */
  z-index: 0;
}

.custom-seals-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
  color: #f5f5f5;
}

.custom-seals-banner h2 {
  color: var(--white) !important;
  font-size: 52px;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .custom-seals-banner {
    min-height: 400px;
  }

  .custom-seals-banner h2 {
    font-size: 28px;
    white-space: nowrap;
  }
}

.custom-seals {
  position: relative;
  background: url("assets/contact-formbg.png") center / cover no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.custom-seals-form-wrap {
  max-width: 540px;
  margin-left: auto;
  position: relative;
  z-index: 1;
}

.custom-seals-form-wrap p:not(.eyebrow) {
  color: #3b4758;
  font-size: 17px;
}

@media (max-width: 768px) {
  .custom-seals {
    background-image: url("assets/contact-formbg-mobile.png");
    padding: 40px 0;
  }

  .custom-seals-form-wrap {
    background: rgba(255, 255, 255, 0.72);
    padding: 28px 20px;
    border-radius: 12px;
    max-width: 100%;
  }
}

.enquiry-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.enquiry-form label {
  display: grid;
  gap: 6px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
}

.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid #c7d2df;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.enquiry-form textarea {
  resize: vertical;
}

.enquiry-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

@keyframes brandScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.brands-section {
  background-color: #7899C9;
  padding: 40px 0;
}

/* Desktop: static grid (original layout) */
.brands-track {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hide duplicated logos (6-10) on desktop */
.brand-logo:nth-child(n+6) {
  display: none;
}

.brand-logo {
  background: white;
  padding: 10px 20px;
  border-radius: 4px;
  margin: 10px;
}

.brand-logo img {
  max-height: 50px;
  width: auto;
}

.footer {
  position: relative;
  background: #6D8FC4;
  color: rgba(255, 255, 255, 0.82);
}

.footer-main {
  padding: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr 1.3fr;
  gap: 48px;
  padding: 72px 0 60px;
}

.footer-col {
  min-width: 0;
}

/* Logo */
.footer-logo {
  width: 200px;
  height: auto;
  margin-bottom: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 24px;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Headings */
.footer h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Footer nav links */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover {
  color: var(--white);
  transform: translateX(6px);
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}

.footer-nav a:hover::after {
  width: 100%;
}

/* Branches */
.footer-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-branches__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-branch h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: normal;
}

.footer-branch h4::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.footer-branch p {
  margin: 0 0 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  white-space: normal;
}

.footer-branch a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.6;
}

.footer-branch a:hover {
  color: var(--white);
}

/* Divider before bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.15);
  color: rgba(255, 255, 255, 0.5);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
}

.go-top {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.go-top:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

/* --- GLOBAL RESPONSIVENESS REFINEMENTS --- */

/* Utility for better spacing on mobile */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }
}

/* Hero Section Responsiveness */
@media (max-width: 991px) {
  .hero {
    min-height: 500px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p:not(.eyebrow) {
    font-size: 17px;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 460px;
    text-align: center;
  }

  .hero__content {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 34px;
    margin-bottom: 12px;
  }

  .hero p:not(.eyebrow) {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero__actions {
    justify-content: center;
    gap: 12px;
  }

  .hero__actions .button {
    width: 100%;
  }
}

/* Industry Icon Grid Responsiveness */
@media (max-width: 991px) {
  .industry-icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
}

@media (max-width: 576px) {
  .industry-icon-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 10px;
    margin-top: 36px;
  }

  .industry-icon-outer {
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
  }

  .industry-icon-inner svg {
    width: 26px;
    height: 26px;
  }

  .industry-item h3 {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.25;
  }
}

/* CTA Section Responsiveness */
.cta {
  min-height: 300px;
}

@media (max-width: 991px) {
  .cta__content {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 24px;
    padding: 40px 20px;
  }

  .cta h2 {
    font-size: 32px;
  }

  .cta a {
    font-size: 24px;
  }
}

/* Brands Section Responsiveness */
@media (max-width: 576px) {
  .brands-section {
    padding: 30px 0;
    overflow: hidden;
  }

  /* Show all 10 logos for seamless loop */
  .brand-logo:nth-child(n+6) {
    display: flex;
  }

  .brands-track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: none;
    width: max-content;
    animation: brandScroll 15s linear infinite;
  }

  .brand-logo {
    padding: 8px 15px;
    margin: 0 8px;
    flex-shrink: 0;
  }

  .brand-logo img {
    max-height: 35px;
  }
}

/* Footer Responsiveness */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 56px 0 48px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    gap: 36px;
    padding: 48px 0 40px;
  }

  .footer-logo {
    width: 160px;
  }

  .footer h3 {
    margin-bottom: 18px;
  }

  .footer-branches {
    gap: 24px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 815px) {
  .nav {
    min-height: 52px;
  }

  .brand img {
    width: 140px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    z-index: 100;
    padding: 80px 0 32px;
    transform: translateX(100%);
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .menu.is-open {
    transform: translateX(0);
  }

  .menu a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    transition: background 160ms ease, color 160ms ease;
  }

  .menu a:hover,
  .menu a:focus-visible {
    background: var(--soft);
    color: var(--blue);
  }

  .menu a:last-child {
    border-bottom: 0;
  }

  .menu a::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-branches {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-branches__col {
    align-items: center;
  }

  .footer-branch h4 {
    justify-content: center;
  }

  .footer-nav {
    align-items: center;
  }
}

/* --- RESPONSIVENESS FIXES --- */

/* Inner hero headings - reduce on tablet and mobile */
@media (max-width: 991px) {
  .inner-hero h1 {
    font-size: 36px;
  }

  /* Tablet font scaling */
  .page-intro p:not(.eyebrow),
  .content-block p {
    font-size: 16px;
  }

  .about-copy p {
    font-size: 16px;
  }

  .detail-card h3 {
    font-size: 19px;
  }

  .industry-card h3 {
    font-size: 17px;
  }

  .custom-seals-banner h2 {
    font-size: 40px;
  }
}

@media (max-width: 576px) {
  .inner-hero h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  .inner-hero p {
    font-size: 15px;
  }

  .inner-hero .eyebrow {
    font-size: 12px;
  }
}

/* Section h2 - reduce on mobile */
@media (max-width: 576px) {
  .section h2 {
    font-size: 26px;
    line-height: 1.25;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  /* Mobile font scaling */
  .page-intro p:not(.eyebrow),
  .content-block p {
    font-size: 15px;
  }

  .about-copy p {
    font-size: 15px;
  }

  .detail-card h3 {
    font-size: 17px;
  }

  .detail-card p {
    font-size: 14px;
  }

  .industry-card h3 {
    font-size: 15px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .breadcrumbs {
    font-size: 12px;
  }

  .footer h3 {
    font-size: 15px;
  }
}

/* Page intro grid - stack on mobile */
@media (max-width: 768px) {
  .page-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* About grid - stack on mobile */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Industry grid - responsive columns */
@media (max-width: 991px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom seals banner - fix nowrap overflow */
@media (max-width: 576px) {
  .custom-seals-banner h2 {
    font-size: 22px;
    white-space: normal;
    word-wrap: break-word;
  }
}

/* Top bar scrolling animation */
@keyframes topBarScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 600px) {
  .top-bar__inner {
    gap: 28px;
    min-height: 28px;
    animation-duration: 20s;
  }

  .top-bar__item {
    font-size: 11px;
  }

  .top-bar__icon {
    width: 12px;
    height: 12px;
  }
}