
/* =====================================================
   OROM TECHNOLOGIES
   Main Website Stylesheet
   ===================================================== */

/* 1. THEME VARIABLES
===================================================== */

:root {
  --navy: #0B2545;
  --navy-secondary: #13315C;
  /* Accent: blue on light backgrounds, light blue on dark */
  --accent: #1F6FB2;
  --accent-hover: #185A92;
  --accent-light: #8CCBF5;
  --accent-contrast: #FFFFFF;

  --background: #FFFFFF;
  --surface: #EEF2F8;
  --surface-alt: #F7F9FC;

  --text: #172B45;
  --muted: #65758B;

  --border: #DCE4EE;
  --white: #FFFFFF;

  --header-bg: rgba(255, 255, 255, 0.96);

  --shadow: 0 12px 35px rgba(11, 37, 69, 0.08);
  --shadow-hover: 0 18px 40px rgba(11, 37, 69, 0.14);

  --container: 1180px;
  --radius: 10px;
  --transition: 0.3s ease;
}

/* DARK THEME */

[data-theme="dark"] {
  --background: #0B1728;
  --surface: #12243A;
  --surface-alt: #162B43;

  --text: #EDF3FA;
  --muted: #A6B5C8;

  --border: #29405A;
  --white: #FFFFFF;

  --header-bg: rgba(11, 23, 40, 0.96);

  --shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.3);
}

/* Dark surfaces (dark theme and navy blocks) use the light blue accent */

[data-theme="dark"],
.hero-section,
.page-hero,
.sourcing-banner,
.contact-cta,
.about-cta,
.about-visual,
.mission-card-dark,
.site-footer {
  --accent: #8CCBF5;
  --accent-hover: #B5DEFA;
  --accent-contrast: #0B2545;
}


/* =====================================================
   2. RESET & GLOBAL STYLES
===================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;

  background: var(--background);
  color: var(--text);

  line-height: 1.7;
  font-size: 15px;

  overflow-x: hidden;

  transition:
    background var(--transition),
    color var(--transition);
}

body.menu-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section-padding {
  padding: 95px 0;
}

.eyebrow {
  display: inline-block;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;

  color: var(--accent);

  margin-bottom: 16px;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.2;
  font-weight: 750;
}

h1 {
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -2px;
}

h2 {
  font-size: clamp(29px, 3.5vw, 42px);
  letter-spacing: -1px;
}

h3 {
  font-size: 20px;
}

p {
  color: var(--muted);
}

::selection {
  background: var(--accent);
  color: #FFFFFF;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 15px;
  z-index: 10000;

  padding: 12px 20px;

  background: var(--accent);
  color: #FFFFFF;
}

.skip-link:focus {
  top: 15px;
}


/* =====================================================
   3. SCROLL PROGRESS
===================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;

  width: 0%;
  height: 3px;

  background: var(--accent);

  z-index: 9999;
}


/* =====================================================
   4. BUTTONS
===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 13px 23px;

  border: 1px solid transparent;
  border-radius: 5px;

  font-size: 13px;
  font-weight: 700;

  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--navy);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background: var(--navy-secondary);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-light-outline {
  border-color: rgba(255,255,255,0.5);
  color: #FFFFFF;
  background: transparent;
}

.btn-light-outline:hover {
  background: #FFFFFF;
  color: var(--navy);
}


/* =====================================================
   5. SHARED HEADER
===================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: var(--header-bg);

  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(12px);
}

.header-container {
  width: min(var(--container), calc(100% - 48px));
  margin: auto;

  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;

  flex-shrink: 0;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-fallback {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  background: var(--navy);
  color: #FFFFFF;

  font-size: 19px;
  font-weight: 800;

  border-radius: 5px;
}

.logo-text strong {
  display: block;
  color: var(--text);

  font-size: 17px;
  letter-spacing: 0.2px;
}

.logo-text small {
  display: block;

  color: var(--muted);

  font-size: 9px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav-menu a {
  position: relative;

  font-size: 13px;
  font-weight: 650;

  color: var(--text);

  transition: color var(--transition);
}

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

.nav-menu a::after {
  content: "";

  position: absolute;
  bottom: -8px;
  left: 0;

  width: 0;
  height: 2px;

  background: var(--accent);

  transition: width var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 39px;
  height: 39px;

  display: grid;
  place-items: center;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: transparent;
  color: var(--text);

  font-size: 17px;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.header-quote {
  padding: 11px 18px;
  font-size: 12px;
}

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  border: 1px solid var(--border);
  border-radius: 5px;

  background: transparent;
  color: var(--text);

  font-size: 23px;
}


/* =====================================================
   6. HERO SECTION
===================================================== */

.hero-section {
  position: relative;

  background: var(--navy);

  color: #FFFFFF;

  padding: 80px 0 45px;

  overflow: hidden;
}

.hero-section h1 {
  color: #FFFFFF;
}

.hero-container {
  width: min(var(--container), calc(100% - 48px));
  margin: auto;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;

  align-items: center;
  gap: 55px;

  min-height: 475px;
}

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

.hero-section .eyebrow {
  color: var(--accent-light);
}

.hero-slide {
  display: none;
  animation: heroFade 0.6s ease;
}

.hero-slide.active {
  display: block;
}

.hero-slide h1 span {
  display: block;
  color: var(--accent);
}

.hero-slide p {
  max-width: 510px;
  margin-top: 22px;

  color: #C6D3E2;

  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 30px;
}

.hero-section .btn-outline {
  border-color: #7188A4;
  color: #FFFFFF;
}

.hero-section .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* HERO SLIDER CONTROLS */

.hero-slider-controls {
  display: flex;
  align-items: center;
  gap: 15px;

  margin-top: 35px;
}

.slider-arrow {
  width: 36px;
  height: 36px;

  border: 1px solid #55708E;
  border-radius: 50%;

  background: transparent;
  color: #FFFFFF;

  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.slider-dots {
  display: flex;
  gap: 7px;
}

.slider-dot {
  width: 7px;
  height: 7px;

  border: none;
  border-radius: 20px;

  background: #6D819B;

  transition: var(--transition);
}

.slider-dot.active {
  width: 24px;
  background: var(--accent);
}


/* =====================================================
   7. NDT SVG VISUAL
===================================================== */

.hero-visual {
  width: 100%;
}

.ndt-visual-card {
  padding: 20px;

  border: 1px solid #35516F;
  border-radius: 10px;

  background: #102D50;

  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.visual-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.visual-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #A6BAD2;
}

.visual-heading h3 {
  margin-top: 5px;
  font-size: 16px;
  color: #FFFFFF;
}

.status-indicator {
  font-size: 9px;
  color: var(--accent-light);
  letter-spacing: 1px;
  font-weight: 800;
}

.ndt-svg {
  width: 100%;
  margin-top: 15px;
}

.probe {
  animation: probeScan 4s ease-in-out infinite alternate;
}

.scan-beam {
  transform-origin: center top;
  animation: beamPulse 2s ease-in-out infinite;
}

.flaw {
  animation: flawPulse 2s ease-in-out infinite;
}

.echo-wave {
  animation: echoPulse 2s ease-in-out infinite;
}

.scan-line {
  stroke-dasharray: 470;
  stroke-dashoffset: 470;
  animation: scanProgress 4s linear infinite;
}

@keyframes probeScan {
  0% {
    transform: translateX(-45px);
  }

  100% {
    transform: translateX(45px);
  }
}

@keyframes beamPulse {
  0%, 100% {
    opacity: 0.08;
  }

  50% {
    opacity: 0.35;
  }
}

@keyframes flawPulse {
  0%, 100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

@keyframes echoPulse {
  0%, 100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

@keyframes scanProgress {
  to {
    stroke-dashoffset: 0;
  }
}

.visual-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;

  padding-top: 15px;
  border-top: 1px solid #35516F;

  font-size: 9px;
  letter-spacing: 1px;
  color: #A6BAD2;
}

.visual-caption {
  margin-top: 15px;

  display: flex;
  align-items: center;
  gap: 9px;

  color: #C6D3E2;
  font-size: 12px;
}

.caption-dot {
  width: 7px;
  height: 7px;

  background: var(--accent);
  border-radius: 50%;
}

.hero-bottom-line {
  width: min(var(--container), calc(100% - 48px));
  margin: 55px auto 0;

  display: flex;
  justify-content: space-between;
  gap: 15px;

  padding-top: 22px;
  border-top: 1px solid #35516F;

  color: #A6BAD2;

  font-size: 9px;
  letter-spacing: 1.7px;
}


/* =====================================================
   8. STATISTICS
===================================================== */

.stats-section {
  padding: 45px 0;
  background: var(--surface);
}

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

.stat-item {
  text-align: center;
  padding: 12px;

  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border: none;
}

.stat-number {
  display: block;

  font-size: 39px;
  font-weight: 800;

  color: var(--navy);
}

[data-theme="dark"] .stat-number {
  color: var(--accent-light);
}

.stat-label {
  display: block;

  color: var(--muted);

  font-size: 12px;
  font-weight: 650;
}


/* =====================================================
   9. SECTION HEADINGS
===================================================== */

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;

  margin-bottom: 45px;
}

.section-heading h2 {
  max-width: 620px;
}

.section-heading > p {
  max-width: 390px;
  font-size: 14px;
}


/* =====================================================
   10. SERVICES CARDS
===================================================== */

.services-section {
  background: var(--background);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;

  padding: 28px 22px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--background);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.service-icon {
  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  border-radius: 7px;

  background: var(--surface);
  color: var(--navy);

  margin-bottom: 25px;
}

[data-theme="dark"] .service-icon {
  color: var(--accent-light);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.card-number {
  position: absolute;
  top: 28px;
  right: 20px;

  font-size: 12px;
  font-weight: 800;

  color: var(--accent);
}

.service-card h3 {
  font-size: 17px;
  margin-bottom: 13px;
}

.service-card p {
  min-height: 105px;
  font-size: 13px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--accent);

  font-size: 12px;
  font-weight: 750;

  margin-top: 20px;
}

.text-link span {
  transition: transform var(--transition);
}

.text-link:hover span {
  transform: translateX(5px);
}

.section-bottom-action {
  margin-top: 35px;
  text-align: center;
}


/* =====================================================
   11. PRODUCTS
===================================================== */

.products-section {
  background: var(--surface);
}

.product-preview-grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  overflow: hidden;

  background: var(--background);

  border: 1px solid var(--border);
  border-radius: var(--radius);

  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  height: 220px;

  display: grid;
  place-items: center;

  background: var(--surface);

  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-placeholder {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 20px;
}

.product-info {
  padding: 23px;
}

.product-category {
  color: var(--accent);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-info h3 {
  font-size: 17px;
  margin: 10px 0;
}

.product-info p {
  font-size: 13px;
  line-height: 1.8;
}

.product-info .btn {
  margin-top: 18px;
  width: 100%;
}


/* =====================================================
   12. SOURCING BANNER
===================================================== */

.sourcing-section {
  background: var(--background);
}

.sourcing-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;

  align-items: center;
  gap: 40px;

  padding: 55px;

  background: var(--navy);
  border-radius: 12px;

  overflow: hidden;
}

.sourcing-content h2 {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.sourcing-content h2 span {
  color: var(--accent);
}

.sourcing-content p {
  color: #C6D3E2;
  max-width: 540px;
  font-size: 14px;
}

.sourcing-content .btn {
  margin-top: 25px;
}

.sourcing-visual {
  display: grid;
  place-items: center;
}

.sourcing-graphic {
  position: relative;

  width: 250px;
  height: 250px;

  border: 1px solid #49617D;
  border-radius: 50%;

  display: grid;
  place-items: center;
}

.graphic-center {
  width: 75px;
  height: 75px;

  display: grid;
  place-items: center;

  background: var(--accent);
  color: #FFFFFF;

  border-radius: 50%;

  font-size: 28px;
  font-weight: 800;
}

.graphic-box {
  position: absolute;

  width: 66px;
  height: 66px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  border: 1px solid #64809F;
  background: #15375F;

  border-radius: 7px;

  color: #FFFFFF;
  font-size: 11px;
}

.box-one {
  top: 10px;
  left: 90px;
}

.box-two {
  bottom: 20px;
  left: 5px;
}

.box-three {
  bottom: 20px;
  right: 5px;
}

.graphic-line {
  width: 22px;
  height: 2px;

  margin-top: 5px;

  background: var(--accent);
}


/* =====================================================
   13. WHY CHOOSE US
===================================================== */

.why-section {
  background: var(--surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  padding: 25px 20px;

  background: var(--background);

  border: 1px solid var(--border);
  border-radius: 7px;
}

.why-index {
  display: block;

  color: var(--accent);

  font-size: 13px;
  font-weight: 800;

  margin-bottom: 25px;
}

.why-card h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 13px;
  line-height: 1.8;
}


/* =====================================================
   14. CLIENTS
===================================================== */

.clients-section {
  background: var(--background);
}

.clients-heading {
  text-align: center;
  max-width: 650px;
  margin: auto;
}

.clients-heading p {
  margin-top: 15px;
  font-size: 13px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;

  margin-top: 40px;
}

.client-name {
  padding: 35px 20px;

  text-align: center;

  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: 7px;

  font-size: 20px;
  font-weight: 750;
  color: var(--text);
}


/* =====================================================
   14B. INDUSTRIES WE SERVE
===================================================== */

.industries-section {
  background: var(--background);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.industry-card {
  overflow: hidden;

  background: var(--background);

  border: 1px solid var(--border);
  border-radius: var(--radius);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.industry-image {
  position: relative;
  height: 165px;
  overflow: hidden;
  background: var(--navy);
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.6s ease;
}

.industry-card:hover .industry-image img {
  transform: scale(1.08);
}

/* Navy tint keeps photos consistent with the brand */

.industry-image::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(11, 37, 69, 0.05) 40%,
    rgba(11, 37, 69, 0.75) 100%
  );

  transition: opacity var(--transition);
}

.industry-card:hover .industry-image::after {
  opacity: 0.6;
}

.industry-number {
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 1;

  padding: 3px 9px;

  background: var(--accent);
  color: #FFFFFF;

  border-radius: 4px;

  font-size: 11px;
  font-weight: 800;
}

.industry-info {
  padding: 20px 20px 22px;
}

.industry-info h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.industry-info p {
  font-size: 12.5px;
  line-height: 1.7;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;

  margin-top: 14px;
}

.industry-tags li {
  padding: 3px 9px;

  background: var(--surface);
  color: var(--text);

  border-radius: 20px;

  font-size: 10px;
  font-weight: 700;

  transition: background var(--transition), color var(--transition);
}

.industry-card:hover .industry-tags li {
  background: var(--navy);
  color: #FFFFFF;
}

[data-theme="dark"] .industry-card:hover .industry-tags li {
  background: var(--accent);
}

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

@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
   15. FAQ
===================================================== */

.faq-section {
  background: var(--surface);
}

.faq-list {
  max-width: 850px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  position: relative;

  padding: 22px 40px 22px 0;

  cursor: pointer;

  color: var(--text);

  font-size: 15px;
  font-weight: 700;

  list-style: none;
}

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

.faq-icon {
  position: absolute;
  right: 5px;
  top: 25px;

  width: 13px;
  height: 13px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;

  background: var(--accent);
}

.faq-icon::before {
  width: 13px;
  height: 2px;
  top: 5px;
}

.faq-icon::after {
  width: 2px;
  height: 13px;
  left: 5px;
}

.faq-item[open] .faq-icon::after {
  display: none;
}

.faq-item p {
  max-width: 700px;
  padding-bottom: 22px;

  font-size: 13px;
  line-height: 1.8;
}


/* =====================================================
   16. CONTACT CTA
===================================================== */

.contact-cta-section {
  background: var(--background);
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  padding: 55px;

  background: var(--navy);
  border-radius: 10px;
}

.contact-cta h2 {
  max-width: 650px;
  color: #FFFFFF;
}

.contact-cta p {
  max-width: 600px;
  margin-top: 15px;
  color: #C6D3E2;
  font-size: 13px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;

  min-width: 160px;
}


/* =====================================================
   17. FOOTER
===================================================== */

.site-footer {
  background: #081B33;
  color: #FFFFFF;

  padding: 65px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 55px;
}

.footer-brand strong {
  font-size: 21px;
  color: #FFFFFF;
}

.footer-brand p {
  max-width: 310px;
  margin-top: 15px;

  color: #A9BAD0;
  font-size: 13px;
}

.footer-column h3 {
  color: #FFFFFF;
  font-size: 15px;
  margin-bottom: 22px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a,
.footer-column li {
  color: #A9BAD0;
  font-size: 13px;

  transition: color var(--transition);
}

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

.footer-bottom {
  margin-top: 50px;
  padding-top: 22px;

  border-top: 1px solid #29405A;

  display: flex;
  justify-content: space-between;
  gap: 15px;

  color: #A9BAD0;
  font-size: 11px;
}


/* =====================================================
   18. WHATSAPP FLOATING BUTTON
===================================================== */

.floating-whatsapp {
  position: fixed;
  right: 25px;
  bottom: 25px;

  z-index: 900;

  width: 55px;
  height: 55px;

  display: grid;
  place-items: center;

  background: #168B56;
  color: #FFFFFF;

  border-radius: 50%;

  box-shadow: 0 8px 25px rgba(0,0,0,0.2);

  transition: transform var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.floating-whatsapp svg {
  width: 29px;
  height: 29px;
}


/* =====================================================
   19. INNER PAGE BANNER
===================================================== */

.page-hero {
  background: var(--navy);
  padding: 80px 0;

  color: #FFFFFF;
}

.page-hero h1 {
  color: #FFFFFF;
  font-size: clamp(35px, 4vw, 50px);
}

.page-hero p {
  max-width: 650px;
  margin-top: 17px;
  color: #C6D3E2;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-bottom: 20px;

  color: #A9BAD0;
  font-size: 12px;
}

.breadcrumb a:hover {
  color: var(--accent);
}


/* =====================================================
   20. ABOUT PAGE
===================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.about-content p {
  margin-top: 17px;
  font-size: 14px;
  line-height: 1.9;
}

.about-placeholder {
  min-height: 340px;

  display: grid;
  place-items: center;

  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: 10px;

  color: var(--muted);
  text-align: center;
  padding: 30px;
}

.ceo-card {
  display: flex;
  align-items: center;
  gap: 25px;

  padding: 30px;

  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: 10px;
}

.ceo-avatar {
  width: 90px;
  height: 90px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  background: var(--navy);
  color: #FFFFFF;

  border-radius: 50%;

  font-size: 27px;
  font-weight: 800;
}

.ceo-card h3 {
  margin-bottom: 7px;
}

.ceo-card p {
  font-size: 13px;
}


/* =====================================================
   21. VALUES
===================================================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card {
  padding: 25px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.value-card h3 {
  margin-bottom: 12px;
}

.value-card p {
  font-size: 13px;
}


/* =====================================================
   22. SERVICES DETAIL PAGE
===================================================== */

.service-detail {
  padding: 55px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.service-detail-header p {
  max-width: 550px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.method-card {
  padding: 22px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
}

.method-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.method-card p {
  font-size: 12px;
}


/* =====================================================
   23. INTERACTIVE NDT METHOD SELECTOR
===================================================== */

.ndt-selector {
  background: var(--surface);
}

.ndt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin: 30px 0;
}

.ndt-tab {
  padding: 12px 20px;

  background: var(--background);
  color: var(--text);

  border: 1px solid var(--border);
  border-radius: 5px;

  font-size: 12px;
  font-weight: 700;
}

.ndt-tab.active,
.ndt-tab:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

.ndt-result {
  padding: 30px;

  background: var(--background);

  border: 1px solid var(--border);
  border-radius: 9px;
}

.ndt-result h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.ndt-result p {
  font-size: 13px;
  line-height: 1.8;
}

.ndt-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;

  margin-top: 25px;
}

.ndt-result-grid h4 {
  margin-bottom: 8px;
  font-size: 13px;
}

.ndt-result-grid p {
  font-size: 12px;
}

.reach-chart {
  margin-top: 30px;
}

.reach-row {
  display: grid;
  grid-template-columns: 120px 1fr 45px;
  align-items: center;
  gap: 15px;

  margin-top: 15px;

  font-size: 12px;
}

.reach-track {
  height: 10px;

  background: var(--surface);

  border-radius: 20px;
  overflow: hidden;
}

.reach-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 20px;

  transition: width 0.4s ease;
}


/* =====================================================
   24. PRODUCT CATALOGUE FILTERS
===================================================== */

.catalogue-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  margin-bottom: 30px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 9px 15px;

  border: 1px solid var(--border);
  border-radius: 5px;

  background: var(--background);
  color: var(--text);

  font-size: 11px;
  font-weight: 700;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--navy);
  color: #FFFFFF;
}

.product-search {
  width: 260px;
  max-width: 100%;

  padding: 12px 15px;

  background: var(--background);
  color: var(--text);

  border: 1px solid var(--border);
  border-radius: 5px;
}

.empty-state {
  grid-column: 1 / -1;

  padding: 65px 25px;

  text-align: center;

  background: var(--surface);

  border: 1px dashed var(--border);
  border-radius: 10px;
}

.empty-state h3 {
  margin-bottom: 12px;
}

.empty-state p {
  margin-bottom: 20px;
}


/* =====================================================
   25. PROJECTS
===================================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.project-card {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 9px;

  background: var(--background);
}

.project-image {
  min-height: 230px;

  display: grid;
  place-items: center;

  background: var(--surface);
  color: var(--muted);

  text-align: center;
  padding: 20px;
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  margin: 10px 0;
}

.project-content p {
  font-size: 13px;
  margin-top: 8px;
}


/* =====================================================
   26. CONTACT PAGE
===================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 35px;
}

.contact-info-card,
.contact-form-card {
  padding: 30px;

  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: 9px;
}

.contact-info-item {
  margin-top: 25px;
}

.contact-info-item strong {
  display: block;
  margin-bottom: 6px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 13px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

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

.form-group label {
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  padding: 13px 14px;

  background: var(--background);
  color: var(--text);

  border: 1px solid var(--border);
  border-radius: 5px;

  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 11px;
}

.map-placeholder {
  min-height: 300px;

  display: grid;
  place-items: center;

  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: 9px;

  color: var(--muted);
  text-align: center;
  padding: 20px;
}


/* =====================================================
   27. 404 PAGE
===================================================== */

.error-section {
  min-height: 65vh;

  display: grid;
  place-items: center;

  text-align: center;
  padding: 60px 20px;
}

.error-number {
  font-size: clamp(90px, 18vw, 170px);
  line-height: 1;

  font-weight: 850;
  color: var(--accent);
}

.error-section h1 {
  margin-top: 15px;
  font-size: 32px;
}

.error-section p {
  margin: 15px auto 25px;
  max-width: 450px;
}


/* =====================================================
   27B. INNER PAGE LAYOUTS
   (about, services, products, projects, contact, 404)
===================================================== */

.section {
  padding: 95px 0;
  background: var(--background);
}

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

/* Inner page headings are stacked, not side by side */

.section .section-heading {
  display: block;
  max-width: 700px;
}

.section .section-heading > p {
  max-width: 600px;
  margin-top: 15px;
}

/* Inner page banners have no graphic column */

.section .sourcing-banner {
  grid-template-columns: 1fr;
}

.section .contact-cta {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.section .contact-cta .eyebrow {
  margin-bottom: 12px;
}

.section .contact-cta .btn {
  margin-top: 25px;
}


/* ---------- Services page ---------- */

.service-number {
  position: absolute;
  top: 28px;
  right: 20px;

  font-size: 12px;
  font-weight: 800;

  color: var(--accent);
}

.service-icon:not(:has(svg)) {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}

.service-card ul {
  display: grid;
  gap: 8px;

  margin-top: 18px;
  padding-top: 18px;

  border-top: 1px solid var(--border);
}

.service-card li {
  position: relative;
  padding-left: 16px;

  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;

  width: 6px;
  height: 6px;

  background: var(--accent);
  border-radius: 1px;
}

.ndt-selector-wrapper .ndt-tabs {
  margin-top: 0;
}

.ndt-disclaimer {
  max-width: 750px;
  margin-top: 20px;
  font-size: 12px;
}


/* ---------- Products page ---------- */

.product-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-category-card {
  display: flex;
  flex-direction: column;

  padding: 28px 22px;

  background: var(--background);

  border: 1px solid var(--border);
  border-radius: var(--radius);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.product-category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.category-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 22px;
}

.product-category-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.product-category-card p {
  flex-grow: 1;
  font-size: 13px;
}

.product-toolbar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;

  margin-bottom: 30px;
}

.product-toolbar label {
  display: block;
  margin-bottom: 7px;

  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

/* Overrides the older input-style .product-search rule */

.product-toolbar .product-search {
  width: auto;
  padding: 0;
  background: none;
  border: none;
}

.product-toolbar input,
.product-toolbar select {
  width: 100%;

  padding: 13px 14px;

  background: var(--background);
  color: var(--text);

  border: 1px solid var(--border);
  border-radius: 5px;

  outline: none;
}

.product-toolbar input:focus,
.product-toolbar select:focus {
  border-color: var(--accent);
}

.products-empty {
  padding: 65px 25px;

  text-align: center;

  background: var(--background);

  border: 1px dashed var(--border);
  border-radius: 10px;
}

.products-grid:not(:empty) + .products-empty {
  margin-top: 22px;
}

.empty-icon {
  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  margin: 0 auto 20px;

  background: var(--surface);
  color: var(--accent);

  border-radius: 7px;

  font-weight: 800;
}

.products-empty h3 {
  margin-bottom: 12px;
}

.products-empty p {
  max-width: 480px;
  margin: 0 auto 22px;
  font-size: 13px;
}


/* ---------- About page ---------- */

.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 55px;
  align-items: center;
}

.about-visual {
  padding: 45px;

  background: var(--navy);
  border-radius: 12px;
}

.about-visual-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.about-visual h3 {
  margin-top: 20px;

  color: #FFFFFF;
  font-size: clamp(28px, 3vw, 38px);
}

.about-visual-line {
  width: 60px;
  height: 3px;

  margin: 25px 0 18px;

  background: var(--accent);
}

.about-visual p {
  color: #C6D3E2;
  font-size: 13px;
}

.value-number {
  display: block;

  color: var(--accent);
  font-size: 13px;
  font-weight: 800;

  margin-bottom: 22px;
}

.values-grid:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.mission-card {
  padding: 40px;

  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.section-alt .mission-card {
  background: var(--background);
}

.mission-card h2 {
  font-size: clamp(24px, 2.5vw, 30px);
  margin-bottom: 15px;
}

.mission-card p {
  font-size: 14px;
}

.mission-card-dark,
.section-alt .mission-card-dark {
  background: var(--navy);
  border-color: var(--navy);
}

.mission-card-dark h2 {
  color: #FFFFFF;
}

.mission-card-dark p {
  color: #C6D3E2;
}

.leadership-card {
  display: flex;
  align-items: center;
  gap: 28px;

  max-width: 760px;
  padding: 32px;

  background: var(--background);

  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.leadership-initials {
  width: 90px;
  height: 90px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  background: var(--navy);
  color: #FFFFFF;

  border-radius: 50%;

  font-size: 27px;
  font-weight: 800;
}

.leadership-card h3 {
  margin-bottom: 4px;
}

.leadership-role {
  margin-bottom: 10px;

  color: var(--accent) !important;
  font-size: 12px;
  font-weight: 700;
}

.leadership-card p {
  font-size: 13px;
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  padding: 55px;

  background: var(--navy);
  border-radius: 10px;
}

.about-cta h2 {
  color: #FFFFFF;
}

.about-cta p {
  max-width: 600px;
  margin-top: 15px;

  color: #C6D3E2;
  font-size: 13px;
}

.about-cta .btn {
  flex-shrink: 0;
}


/* ---------- Projects page ---------- */

.project-image {
  position: relative;
  color: #FFFFFF;
}

.project-image-1 { background: linear-gradient(135deg, #0B2545, #1D4E89); }
.project-image-2 { background: linear-gradient(135deg, #13315C, #2A6F97); }
.project-image-3 { background: linear-gradient(135deg, #0B2545, #45617F); }
.project-image-4 { background: linear-gradient(135deg, #13315C, #8A5A2B); }

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.project-image-label {
  position: relative;
  z-index: 1;

  padding: 8px 14px;

  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 5px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.project-info {
  padding: 25px;
}

.project-category {
  color: var(--accent);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.project-info h3 {
  margin: 10px 0;
}

.project-info p {
  font-size: 13px;
}

.projects-note {
  max-width: 750px;
  margin-top: 25px;
  font-size: 12px;
}


/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 35px;
  align-items: start;
}

.contact-information,
.contact-form-wrapper {
  padding: 35px;

  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-information h2,
.contact-form-wrapper h2 {
  font-size: clamp(24px, 2.5vw, 30px);
  margin-bottom: 15px;
}

.contact-information > p {
  font-size: 14px;
}

.contact-detail {
  margin-top: 25px;
  padding-top: 20px;

  border-top: 1px solid var(--border);
}

.contact-detail-label {
  display: block;
  margin-bottom: 6px;

  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.contact-detail a,
.contact-detail p {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.contact-detail a:hover {
  color: var(--accent);
}

.contact-whatsapp {
  margin-top: 30px;
  width: 100%;
}

#contactForm {
  display: grid;
  gap: 17px;

  margin-top: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.form-submit {
  width: 100%;
  padding: 15px 23px;
}

.map-placeholder-content h3 {
  margin: 15px 0 8px;
}

.map-placeholder-icon {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.map-placeholder-note {
  display: inline-block;
  margin-top: 18px;

  font-size: 11px;
  font-style: italic;
}


/* ---------- 404 page ---------- */

.error-page {
  min-height: 65vh;

  display: grid;
  place-items: center;

  padding: 80px 0;
  text-align: center;
}

.error-code {
  font-size: clamp(90px, 18vw, 170px);
  line-height: 1;

  font-weight: 850;
  color: var(--accent);
}

.error-content h1 {
  margin-top: 15px;
  font-size: 32px;
}

.error-content p {
  max-width: 450px;
  margin: 15px auto 25px;
}

.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}


/* ---------- Inner pages responsive ---------- */

@media (max-width: 1024px) {

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

  .values-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media (max-width: 768px) {

  .section {
    padding: 65px 0;
  }

  .about-intro,
  .about-mission-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .values-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: 1fr;
  }

  .about-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 35px 25px;
  }

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

}

@media (max-width: 480px) {

  .section {
    padding: 52px 0;
  }

  .product-categories-grid,
  .product-toolbar,
  .form-row {
    grid-template-columns: 1fr;
  }

  .mission-card,
  .about-visual,
  .contact-information,
  .contact-form-wrapper {
    padding: 25px 20px;
  }

  .leadership-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 20px;
  }

}


/* =====================================================
   28. SCROLL REVEAL
===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(25px);

  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =====================================================
   29. TABLET RESPONSIVE - 1024px
===================================================== */

@media (max-width: 1024px) {

  .header-container {
    gap: 15px;
  }

  .nav-menu {
    gap: 15px;
  }

  .nav-menu a {
    font-size: 12px;
  }

  .header-quote {
    display: none;
  }

  .hero-container {
    gap: 25px;
  }

  .services-grid,
  .why-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card p {
    min-height: auto;
  }

  .sourcing-banner {
    padding: 40px;
  }

  .footer-grid {
    gap: 30px;
  }

}


/* =====================================================
   30. MOBILE RESPONSIVE - 768px
===================================================== */

@media (max-width: 768px) {

  .section-padding {
    padding: 65px 0;
  }

  .container,
  .hero-container,
  .header-container {
    width: calc(100% - 36px);
  }

  /* Mobile Header */

  .header-container {
    min-height: 72px;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  .logo-fallback {
    width: 40px;
    height: 40px;
  }

  .logo-text strong {
    font-size: 15px;
  }

  .logo-text small {
    font-size: 8px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-menu {
    position: fixed;

    top: 72px;
    left: 0;

    width: 100%;
    height: calc(100dvh - 72px);

    padding: 35px 25px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    background: var(--background);

    border-top: 1px solid var(--border);

    transform: translateX(100%);
    visibility: hidden;

    transition:
      transform 0.3s ease,
      visibility 0.3s ease;

    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-menu a {
    padding: 17px 0;
    border-bottom: 1px solid var(--border);

    font-size: 15px;
  }

  .nav-menu a::after {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  /* Hero */

  .hero-section {
    padding: 60px 0 30px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-slide p {
    font-size: 14px;
  }

  .hero-visual {
    max-width: 550px;
    margin: auto;
  }

  .hero-bottom-line {
    margin-top: 40px;
    flex-wrap: wrap;
    font-size: 8px;
  }

  /* Headings */

  .section-heading {
    flex-direction: column;
    align-items: start;
    gap: 15px;
    margin-bottom: 30px;
  }

  /* Cards */

  .services-grid,
  .why-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-preview-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-image {
    height: 190px;
  }

  /* Sourcing */

  .sourcing-banner {
    grid-template-columns: 1fr;
    padding: 35px 25px;
  }

  .sourcing-visual {
    padding: 20px 0;
  }

  /* CTA */

  .contact-cta {
    flex-direction: column;
    align-items: start;
    padding: 35px 25px;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  /* About */

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* NDT */

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

  .ndt-result-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */

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

  /* Footer */

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

  .footer-brand {
    grid-column: 1 / -1;
  }

}


/* =====================================================
   31. SMALL MOBILE - 480px
===================================================== */

@media (max-width: 480px) {

  .section-padding {
    padding: 52px 0;
  }

  .container,
  .hero-container,
  .header-container {
    width: calc(100% - 30px);
  }

  h1 {
    font-size: 37px;
    letter-spacing: -1.2px;
  }

  h2 {
    font-size: 29px;
  }

  .logo-text strong {
    font-size: 13px;
  }

  .logo-text small {
    font-size: 7px;
  }

  .theme-toggle {
    width: 35px;
    height: 35px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-bottom-line {
    justify-content: center;
    text-align: center;
  }

  .ndt-visual-card {
    padding: 12px;
  }

  .visual-footer {
    font-size: 7px;
  }

  /* Statistics */

  .stats-section {
    padding: 30px 0;
  }

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

  .stat-item {
    padding: 8px 3px;
  }

  .stat-number {
    font-size: 29px;
  }

  .stat-label {
    font-size: 9px;
  }

  /* Services */

  .services-grid,
  .why-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 24px;
  }

  /* Products */

  .product-preview-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 220px;
  }

  /* Clients */

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

  .client-name {
    padding: 25px;
    font-size: 17px;
  }

  /* Banner */

  .sourcing-banner {
    padding: 30px 20px;
  }

  .sourcing-graphic {
    width: 210px;
    height: 210px;
  }

  /* Contact */

  .contact-cta {
    padding: 30px 20px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 20px;
  }

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

  .form-group.full-width,
  .form-note {
    grid-column: auto;
  }

  /* NDT */

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

  .ndt-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .ndt-tab {
    padding: 11px 8px;
  }

  .reach-row {
    grid-template-columns: 85px 1fr 35px;
    gap: 8px;
    font-size: 10px;
  }

  /* About */

  .ceo-card {
    flex-direction: column;
    align-items: start;
  }

  /* Footer */

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .floating-whatsapp {
    width: 49px;
    height: 49px;

    right: 15px;
    bottom: 15px;
  }

}


/* =====================================================
   32. REDUCED MOTION ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

}


/* =====================================================
   33. CENTRED HEADINGS
   Kept at the end so it wins over earlier heading rules.
===================================================== */

.section-heading,
.section .section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  max-width: 720px;
  margin: 0 auto 45px;

  text-align: center;
}

.section-heading h2,
.section .section-heading h2 {
  max-width: none;
}

.section-heading > p,
.section .section-heading > p {
  max-width: 560px;
  margin-top: 0;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading .text-link {
  margin-top: 0;
}

.page-hero .container {
  text-align: center;
}

.page-hero p {
  margin-inline: auto;
}

.section .contact-cta {
  align-items: center;
  text-align: center;
}

.section .sourcing-banner {
  text-align: center;
}

.section .sourcing-content p {
  margin-inline: auto;
}

.faq-list,
.leadership-card {
  margin-inline: auto;
}

.ndt-tabs {
  justify-content: center;
}

.ndt-disclaimer,
.projects-note {
  margin-inline: auto;
  text-align: center;
}


/* =====================================================
   34. PRODUCTS BY INDUSTRY
===================================================== */

.industry-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.industry-tile {
  position: relative;

  height: 120px;
  padding: 0;

  overflow: hidden;

  background: var(--navy);

  border: none;
  border-radius: var(--radius);

  text-align: left;

  transition: transform var(--transition), box-shadow var(--transition);
}

.industry-tile img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.6s ease;
}

.industry-tile::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(11, 37, 69, 0.15) 20%,
    rgba(11, 37, 69, 0.92) 100%
  );
}

.industry-tile-text {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 1;
}

.industry-tile-text strong {
  display: block;

  color: #FFFFFF;
  font-size: 12.5px;
  line-height: 1.25;
}

.industry-tile-text small {
  display: block;
  margin-top: 3px;

  color: #8CCBF5;
  font-size: 10px;
  font-weight: 700;
}

.industry-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.industry-tile:hover img {
  transform: scale(1.08);
}

.industry-tile.active {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.industry-tile.active::after {
  background: linear-gradient(
    180deg,
    rgba(31, 111, 178, 0.35) 0%,
    rgba(11, 37, 69, 0.95) 100%
  );
}

.product-toolbar {
  grid-template-columns: 2fr 1fr 1fr;
}

.catalogue-status {
  margin: -12px 0 16px;

  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.btn-label-short {
  display: none;
}

.industry-info .text-link {
  margin-top: 14px;
}

[data-theme="dark"] .industry-card:hover .industry-tags li {
  color: var(--accent-contrast);
}

@media (max-width: 1024px) {

  .industry-tiles {
    grid-template-columns: repeat(4, 1fr);
  }

}


/* =====================================================
   35. MOBILE: LESS SCROLLING
   Card groups become swipeable rows, sections get
   tighter, and products show three per row.
===================================================== */

@media (max-width: 768px) {

  .section-padding,
  .section {
    padding: 48px 0;
  }

  .page-hero {
    padding: 48px 0;
  }

  .section-heading,
  .section .section-heading {
    margin-bottom: 26px;
    gap: 8px;
  }

  /* Hero: centred and compact */

  .hero-section {
    padding: 44px 0 34px;
  }

  .hero-container {
    min-height: 0;
  }

  .hero-content {
    text-align: center;
  }

  .hero-slide p {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-slider-controls {
    justify-content: center;
  }

  .hero-bottom-line,
  .sourcing-visual {
    display: none;
  }

  .sourcing-banner,
  .contact-cta {
    align-items: center;
    text-align: center;
  }

  .sourcing-content p,
  .contact-cta p {
    margin-inline: auto;
  }

  .cta-actions {
    justify-content: center;
    width: 100%;
  }

  /* Swipeable card rows */

  .services-grid,
  .why-grid,
  .industries-grid,
  .values-grid,
  .values-grid:has(> :nth-child(3):last-child),
  .projects-grid,
  .industry-tiles {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 78%;
    gap: 12px;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;

    /* Bleed to the screen edges so cards slide in from the side */
    margin-inline: calc(50% - 50vw);
    padding: 6px calc(50vw - 50%) 14px;
    scroll-padding-inline: calc(50vw - 50%);
  }

  .services-grid::-webkit-scrollbar,
  .why-grid::-webkit-scrollbar,
  .industries-grid::-webkit-scrollbar,
  .values-grid::-webkit-scrollbar,
  .projects-grid::-webkit-scrollbar,
  .industry-tiles::-webkit-scrollbar {
    display: none;
  }

  .services-grid > *,
  .why-grid > *,
  .industries-grid > *,
  .values-grid > *,
  .projects-grid > *,
  .industry-tiles > * {
    scroll-snap-align: start;
  }

  .industry-tiles {
    grid-auto-columns: 40%;
  }

  .industry-tile {
    height: 100px;
  }

  .service-card:hover,
  .industry-card:hover,
  .product-card:hover {
    transform: none;
  }

  /* Catalogue toolbar: search on top, filters side by side */

  .product-toolbar {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .product-toolbar .product-search {
    grid-column: 1 / -1;
  }

  /* Products: three compact cards per row */

  .products-grid,
  .product-preview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .product-card {
    display: flex;
    flex-direction: column;
  }

  .product-card .product-image {
    height: auto;
    aspect-ratio: 5 / 3;
  }

  .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;

    padding: 8px 8px 10px;
  }

  .product-category {
    font-size: 7.5px;
    letter-spacing: 0.3px;
    line-height: 1.3;
  }

  .product-info h3 {
    margin: 4px 0 8px;

    font-size: 11.5px;
    line-height: 1.25;
  }

  .product-info p {
    display: none;
  }

  .product-info .btn {
    margin-top: auto;
    padding: 7px 4px;
    font-size: 10.5px;
  }

  .btn-label-full {
    display: none;
  }

  .btn-label-short {
    display: inline;
  }

}

@media (max-width: 480px) {

  .section-padding,
  .section {
    padding: 40px 0;
  }

  .hero-visual {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding-top: 45px;
  }

  .footer-bottom {
    margin-top: 30px;
  }

}


/* =====================================================
   36. BRAND LOGO
===================================================== */

.logo .logo-img {
  width: auto;
  height: 50px;
  object-fit: contain;
}

.logo-img-light {
  display: none;
}

[data-theme="dark"] .logo-img-dark {
  display: none;
}

[data-theme="dark"] .logo-img-light {
  display: block;
}

.footer-logo {
  width: auto;
  height: 56px;
}

@media (max-width: 768px) {

  .logo .logo-img {
    width: auto;
    height: 40px;
  }

}

/* =====================================================
   37. HERO: ASSET HEALTH CHECK ANIMATION
   One 7s cycle: the scan sweeps left to right and each
   result appears as the scan line reaches it.
===================================================== */

.health-check .hc-scan {
  animation: hcScan 7s linear infinite;
}

.health-check .hc-badge,
.health-check .hc-crack {
  opacity: 0;
  animation: 7s ease-out infinite;
}

/* Scan reaches the tank (~22%), weld (~47%), motor (~78%) */
.health-check .hc-b1 { animation-name: hcShowTank; }
.health-check .hc-b2,
.health-check .hc-crack { animation-name: hcShowWeld; }
.health-check .hc-b3 { animation-name: hcShowMotor; }

.health-check .hc-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: hcRing 1.2s ease-out infinite;
}

.health-check .hc-motor {
  animation: hcHum 0.2s linear infinite;
}

@keyframes hcScan {
  from { transform: translateX(0); }
  to { transform: translateX(660px); }
}

@keyframes hcShowTank {
  0%, 22% { opacity: 0; transform: translateY(8px); }
  26%, 92% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

@keyframes hcShowWeld {
  0%, 47% { opacity: 0; transform: translateY(8px); }
  51%, 92% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

@keyframes hcShowMotor {
  0%, 78% { opacity: 0; transform: translateY(8px); }
  82%, 92% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

@keyframes hcRing {
  from { transform: scale(0.4); opacity: 1; }
  to { transform: scale(1.5); opacity: 0; }
}

@keyframes hcHum {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(0.8px); }
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}

.status-dot {
  width: 7px;
  height: 7px;

  background: var(--accent);
  border-radius: 50%;

  animation: blinkDot 1.2s ease-in-out infinite;
}

@keyframes blinkDot {
  50% { opacity: 0.2; }
}

.visual-steps {
  display: flex;
  justify-content: space-between;
  gap: 10px;

  padding-top: 15px;
  border-top: 1px solid #35516F;

  list-style: none;
}

.visual-steps li {
  display: flex;
  align-items: center;
  gap: 8px;

  color: #D6E2F0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.visual-steps span {
  width: 22px;
  height: 22px;

  display: grid;
  place-items: center;

  background: var(--accent);
  color: var(--accent-contrast);

  border-radius: 50%;

  font-size: 11px;
}

/* Without motion, show the finished result */

@media (prefers-reduced-motion: reduce) {

  .health-check .hc-badge,
  .health-check .hc-crack {
    opacity: 1;
    animation: none !important;
  }

  .health-check .hc-scan {
    display: none;
  }

}

/* Phones: keep the animation (it explains the business), just compact */

@media (max-width: 480px) {

  .hero-visual {
    display: block;
  }

  .ndt-visual-card {
    padding: 14px;
  }

  .visual-caption {
    display: none;
  }

  .visual-steps li {
    font-size: 11px;
  }

}

/* =====================================================
   38. PRODUCT DETAIL PAGES (generated, one per product)
===================================================== */

.breadcrumb {
  justify-content: center;
}

.breadcrumb [aria-current] {
  color: #FFFFFF;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.product-detail-image {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.product-detail-image img {
  width: 100%;
}

.product-detail-content h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 12px;
}

.product-detail-content p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.85;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.product-detail-note {
  font-size: 12px !important;
}

.detail-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.detail-list {
  padding: 32px;

  background: var(--background);

  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.detail-list h2 {
  font-size: 22px;
  margin-bottom: 18px;
}

.detail-list ul {
  display: grid;
  gap: 12px;
}

.detail-list li {
  position: relative;
  padding-left: 28px;

  color: var(--text);
  font-size: 14px;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;

  width: 16px;
  height: 16px;

  background: var(--accent);
  border-radius: 50%;

  /* White tick drawn with a mask-free inline SVG */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;

  counter-reset: none;
}

.how-step {
  position: relative;
  padding: 30px 26px;

  text-align: center;

  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.how-step-number {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  margin: 0 auto 16px;

  background: var(--navy);
  color: #FFFFFF;

  border-radius: 50%;

  font-size: 18px;
  font-weight: 800;
}

.how-step h3 {
  margin-bottom: 8px;
}

.how-step p {
  font-size: 13px;
}

.detail-industries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.detail-industries a {
  padding: 10px 18px;

  background: var(--background);
  color: var(--text);

  border: 1px solid var(--border);
  border-radius: 30px;

  font-size: 13px;
  font-weight: 700;

  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.detail-industries a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

.product-card h3 a:hover {
  color: var(--accent);
}

a.product-image {
  display: grid;
}

@media (max-width: 768px) {

  .product-detail,
  .detail-lists {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .product-detail-content {
    text-align: center;
  }

  .product-detail-actions {
    justify-content: center;
  }

  .detail-list {
    padding: 24px 20px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .how-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    padding: 18px;
    text-align: left;
  }

  .how-step-number {
    grid-row: span 2;
    margin: 0;
  }

}

/* Product pages: alternate names and price note */

.page-hero .product-aka {
  margin-top: 12px;

  color: #8CCBF5;
  font-size: 13px;
  font-style: italic;
}

.product-price-box {
  margin-top: 26px;
  padding: 18px 20px;

  background: var(--surface);

  border-left: 4px solid var(--accent);
  border-radius: 6px;

  text-align: left;
}

.product-price-box h3 {
  font-size: 16px;
}

.product-price-box p {
  margin-top: 6px !important;
  font-size: 13px !important;
}

/* Product pages: brief description (short direct answer beside the photos)
   and "last updated" date in the hero */

.page-hero .product-updated {
  margin-top: 6px;

  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.product-brief {
  margin-bottom: 24px;
  padding: 16px 18px 17px;

  background: var(--surface-alt);

  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
}

.product-brief .product-brief-title {
  margin-bottom: 7px;

  color: var(--accent);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1.3;
  text-transform: uppercase;
}

.product-brief p {
  margin: 0;

  color: var(--text);

  font-size: 15px;
  line-height: 1.65;
}

/* =====================================================
   39. DELIVERED PROJECTS
===================================================== */

.delivered-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.delivered-card {
  display: flex;
  flex-direction: column;

  overflow: hidden;

  background: var(--background);

  border: 1px solid var(--border);
  border-radius: var(--radius);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.delivered-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.delivered-image {
  position: relative;
  aspect-ratio: 5 / 3;
  overflow: hidden;
}

.delivered-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.delivered-badge {
  position: absolute;
  top: 12px;
  right: 12px;

  padding: 5px 11px;

  background: #FFFFFF;
  color: var(--navy);

  border-radius: 20px;

  font-size: 11px;
  font-weight: 800;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.delivered-info {
  flex: 1;
  padding: 20px 22px 22px;
}

.delivered-category {
  color: var(--accent);

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.delivered-info h3 {
  margin: 8px 0 6px;
  font-size: 17px;
}

.delivered-origin {
  font-size: 13px;
}

.delivered-info .text-link {
  margin-top: 14px;
}

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

@media (max-width: 768px) {

  .delivered-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .delivered-info {
    padding: 12px;
  }

  .delivered-info h3 {
    font-size: 13px;
  }

  .delivered-category {
    font-size: 8px;
  }

  .delivered-origin {
    font-size: 11px;
  }

  .delivered-badge {
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    font-size: 9px;
  }

  .delivered-card:hover {
    transform: none;
  }

}

/* Projects: application cards use industry photos under a navy tint */

.project-image-1,
.project-image-2,
.project-image-3,
.project-image-4 {
  background-size: cover;
  background-position: center;
}

.project-image-1 { background-image: linear-gradient(rgba(11, 37, 69, 0.55), rgba(11, 37, 69, 0.55)), url("../images/industries/steel-fabrication.jpg"); }
.project-image-2 { background-image: linear-gradient(rgba(11, 37, 69, 0.55), rgba(11, 37, 69, 0.55)), url("../images/industries/power-generation.jpg"); }
.project-image-3 { background-image: linear-gradient(rgba(11, 37, 69, 0.55), rgba(11, 37, 69, 0.55)), url("../images/industries/oil-gas.jpg"); }
.project-image-4 { background-image: linear-gradient(rgba(11, 37, 69, 0.55), rgba(11, 37, 69, 0.55)), url("../images/industries/petrochemical.jpg"); }

.project-image-1::after,
.project-image-2::after,
.project-image-3::after,
.project-image-4::after {
  display: none;
}

.project-image-label {
  background: rgba(11, 37, 69, 0.6);
}

/* =====================================================
   40. PHOTO CREDITS
===================================================== */

.photo-credit {
  margin-top: 8px !important;
  font-size: 11px !important;
  text-align: right;
}

.photo-credit a {
  color: var(--muted);
}

.photo-credit a:hover {
  color: var(--accent);
}

.product-detail-image {
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.product-detail-image img {
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
}

.credits-table-wrap {
  overflow-x: auto;
}

.credits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.credits-table th,
.credits-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.credits-table th {
  background: var(--surface);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.credits-table a {
  color: var(--accent);
}

/* =====================================================
   41. PRODUCT PHOTO GALLERY + SPECIFICATIONS
===================================================== */

.product-main-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #FFFFFF;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.product-thumb {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #FFFFFF;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color var(--transition);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--accent);
}

.product-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.detail-specs {
  grid-column: 1 / -1;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.spec-table th {
  width: 34%;
  font-weight: 600;
  background: var(--surface-alt);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 480px) {

  .product-thumbs {
    gap: 6px;
  }

  .spec-table th,
  .spec-table td {
    padding: 9px 10px;
    font-size: 13px;
  }

  .spec-table th {
    width: 42%;
  }

}

/* Product photos (images/products/<slug>/N.jpg, white 4:3 frame):
   show the whole photo on cards and thumbnails, never crop it */

.product-image img[src*="images/products/"][src$="/1.jpg"] {
  object-fit: contain;
  background: #FFFFFF;
}

.product-image:has(img[src*="images/products/"][src$="/1.jpg"]) {
  background: #FFFFFF;
}

.product-thumb img {
  object-fit: contain !important;
}

/* Home slider: slides 2-3 use h2 (one h1 per page) but look the same */

.hero-slide .hero-title {
  color: #FFFFFF;
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -2px;
  line-height: 1.2;
  font-weight: 750;
}

.hero-slide .hero-title span {
  display: block;
  color: var(--accent);
}

@media (max-width: 480px) {
  .hero-slide .hero-title {
    font-size: 37px;
    letter-spacing: -1.2px;
  }
}

/* =====================================================
   42. PRODUCT PAGE (v2): SHOWCASE, ANIMATED GALLERY,
       INFO TABS, CATEGORY CAROUSEL, PHOTO VIEWER
===================================================== */

.product-top {
  padding-top: 70px;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: start;
}

/* ---------- Gallery ---------- */

.pg {
  position: sticky;
  top: 96px;
  min-width: 0;
}

.pg-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;

  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);

  touch-action: pan-y;
  outline: none;
  isolation: isolate;
}

.pg-illustration .pg-stage {
  background: var(--navy);
}

.pg-stage:focus-visible {
  box-shadow: 0 0 0 3px var(--accent), var(--shadow);
}

.pg-track {
  display: flex;
  height: 100%;
  transition: transform 0.75s cubic-bezier(0.22, 0.8, 0.2, 1);
  will-change: transform;
}

.pg-track.is-dragging {
  transition: none;
}

.pg-slide {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.pg-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;

  transform: scale(0.9);
  opacity: 0.35;
  transition:
    transform 0.8s cubic-bezier(0.22, 0.8, 0.2, 1),
    opacity 0.6s ease;
}

.pg-slide.is-active img {
  transform: scale(1);
  opacity: 1;
}

.pg[data-zoom="on"] .pg-stage {
  cursor: zoom-in;
}

.pg-stage.is-zooming .pg-slide.is-active img {
  transform: scale(1.9);
  transition: transform 0.35s ease-out;
}

/* arrows */
.pg-nav {
  position: absolute;
  top: 50%;
  z-index: 3;

  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;

  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 37, 69, 0.08);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(11, 37, 69, 0.16);
  backdrop-filter: blur(6px);
  cursor: pointer;

  opacity: 0;
  transform: translateY(-50%) scale(0.85);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.pg-prev { left: 16px; }
.pg-next { right: 16px; }

.pg-stage:hover .pg-nav,
.pg-stage:focus-within .pg-nav {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.pg-nav:hover {
  color: #FFFFFF;
  background: var(--accent);
}

.pg-nav:focus-visible,
.pg-expand:focus-visible,
.pg-thumb:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* counter + expand */
.pg-counter,
.pg-expand {
  position: absolute;
  z-index: 3;
  top: 16px;

  color: #FFFFFF;
  background: rgba(11, 37, 69, 0.78);
  backdrop-filter: blur(6px);
}

.pg-counter {
  left: 16px;
  padding: 6px 12px;

  border-radius: 30px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
}

.pg-sep {
  margin: 0 4px;
  opacity: 0.6;
}

.pg-expand {
  right: 16px;

  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;

  border: 0;
  border-radius: 50%;
  cursor: pointer;

  transition: background 0.2s ease, transform 0.2s ease;
}

.pg-expand:hover {
  background: var(--accent);
  transform: scale(1.08);
}

/* autoplay progress */
.pg-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;

  height: 4px;
  background: rgba(11, 37, 69, 0.08);
}

.pg-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.pg.is-paused .pg-progress span {
  width: 0;
}

@keyframes pgProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* thumbnails */
.pg-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  padding: 4px 2px 6px;

  overflow-x: auto;
  scrollbar-width: none;
}

.pg-thumbs::-webkit-scrollbar {
  display: none;
}

.pg-thumb {
  position: relative;
  flex: 0 0 calc((100% - 36px) / 4);
  min-width: 72px;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;

  background: #FFFFFF;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;

  opacity: 0.6;
  transition:
    opacity 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.pg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.pg-thumb:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.pg-thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(31, 111, 178, 0.22);
}

/* ---------- Summary column ---------- */

.product-summary {
  min-width: 0;
}

.pchips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.pchip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 16px;

  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;

  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
}

.pchip small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.pchip-primary {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  border-color: transparent;
}

.pchip-primary small {
  color: rgba(255, 255, 255, 0.75);
}

.summary-title {
  margin-bottom: 14px;
  font-size: 20px;
  letter-spacing: -0.3px;
}

.quick-specs {
  margin: 0;
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 12px;
}

.quick-specs > div {
  display: grid;
  grid-template-columns: minmax(110px, 38%) 1fr;
  gap: 14px;
  padding: 12px 16px;

  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.quick-specs > div:last-child {
  border-bottom: 0;
}

.quick-specs > div:nth-child(odd) {
  background: var(--surface-alt);
}

.quick-specs > div:hover {
  background: var(--surface);
}

.quick-specs dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.quick-specs dd {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.quick-features {
  display: grid;
  gap: 10px;
}

.quick-features li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: 14px;
}

.quick-features li::before,
.check-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 17px;
  height: 17px;

  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
  border-radius: 50%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0;

  color: var(--accent);
  background: none;
  border: 0;

  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.link-arrow svg {
  transition: transform 0.25s ease;
}

.link-arrow:hover svg {
  transform: translateX(5px);
}

.product-summary .product-detail-actions {
  margin-top: 24px;
}

.product-summary .product-price-box {
  margin-top: 22px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  padding-top: 20px;

  border-top: 1px dashed var(--border);
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}

.trust-row svg {
  color: var(--accent);
}

/* ---------- Tabs ---------- */

.ptabs {
  overflow: hidden;

  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);

  scroll-margin-top: 100px;
}

.ptabs-list {
  position: relative;
  display: none;
  gap: 4px;
  padding: 0 14px;

  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.ptabs-list::-webkit-scrollbar {
  display: none;
}

.ptabs.is-ready .ptabs-list {
  display: flex;
}

.ptab {
  flex: 0 0 auto;
  padding: 20px 18px 18px;

  color: var(--muted);
  background: none;
  border: 0;

  font: inherit;
  font-size: 14.5px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;

  transition: color 0.25s ease;
}

.ptab:hover {
  color: var(--text);
}

.ptab[aria-selected="true"] {
  color: var(--accent);
}

.ptab:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -6px;
  border-radius: 8px;
}

.ptabs-ink {
  position: absolute;
  left: 0;
  bottom: 0;

  height: 3px;
  width: 0;

  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 3px 3px 0 0;

  transition:
    transform 0.45s cubic-bezier(0.22, 0.8, 0.2, 1),
    width 0.45s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.ptabs-panel {
  padding: 36px 40px 40px;
  outline: none;
}

/* without JavaScript every panel is shown, one after another */
.ptabs:not(.is-ready) .ptabs-panel + .ptabs-panel {
  border-top: 1px solid var(--border);
}

.ptabs.is-ready .ptabs-panel[hidden] {
  display: none;
}

.ptabs.is-ready .ptabs-panel.is-active {
  animation: ptabIn 0.5s cubic-bezier(0.22, 0.8, 0.2, 1);
}

@keyframes ptabIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* the tab label already names these panels */
.ptabs.is-ready .ptab-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ptab-title,
.ptab-heading {
  margin-bottom: 18px;
  font-size: clamp(22px, 2.4vw, 28px);
}

.ptab-prose {
  max-width: 820px;
}

.ptab-prose p {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}

.ptab-prose p:last-child {
  margin-bottom: 0;
}

.spec-wrap {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.ptabs .spec-table th,
.ptabs .spec-table td {
  padding: 14px 18px;
  font-size: 14.5px;
}

.ptabs .spec-table tr:nth-child(even) td,
.ptabs .spec-table tr:nth-child(even) th {
  background: var(--surface);
}

.ptabs .spec-table th {
  width: 32%;
  color: var(--muted);
  background: var(--surface-alt);
}

.ptabs .spec-table td {
  font-weight: 650;
}

.spec-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.5px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 30px;
}

.check-grid li {
  position: relative;
  padding: 14px 16px 14px 46px;

  color: var(--text);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;

  font-size: 14.5px;
  font-weight: 600;

  transition: transform 0.25s ease, border-color 0.25s ease;
}

.check-grid li::before {
  left: 16px;
  top: 16px;
}

.check-grid li:hover {
  transform: translateX(4px);
  border-color: var(--accent);
}

.ptabs .how-steps {
  margin-top: 8px;
}

/* ---------- "More in this category" carousel ---------- */

.pcarousel {
  position: relative;
}

.pc-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 66px) / 4);
  gap: 22px;
  padding: 6px 4px 26px;
  margin: -6px -4px 0;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 4px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  outline: none;
}

.pc-track::-webkit-scrollbar {
  display: none;
}

.pc-track.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
}

.pc-track.is-dragging * {
  pointer-events: none;
}

.pc-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;

  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 14px;

  transition:
    transform 0.45s cubic-bezier(0.22, 0.8, 0.2, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    opacity 0.6s ease;
}

/* revealed all at once (see main.js 15d): cards must not change while the row scrolls */
.pcarousel.is-animated:not(.is-in) .pc-card {
  opacity: 0;
}

.pcarousel.is-animated.is-in .pc-card {
  animation: animUp 0.85s cubic-bezier(0.16, 0.84, 0.24, 1) calc(var(--ci, 0) * 90ms) backwards;
}

.pc-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-hover);
}

.pc-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}

.pc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.7s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.pc-card-media img[src$=".svg"] {
  object-fit: cover;
}

.pc-card:hover .pc-card-media img {
  transform: scale(1.07);
}

.pc-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.pc-card-tag {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 10px;

  color: var(--accent);
  background: var(--surface);
  border-radius: 20px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.pc-card h3 {
  font-size: 16px;
  line-height: 1.35;
}

.pc-card h3 a {
  color: var(--text);
}

.pc-card h3 a:hover {
  color: var(--accent);
}

.pc-card p {
  display: -webkit-box;
  margin-top: 8px;
  overflow: hidden;

  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;

  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 14px;

  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.pc-card-link svg {
  transition: transform 0.25s ease;
}

.pc-card:hover .pc-card-link svg {
  transform: translateX(5px);
}

.pc-nav {
  position: absolute;
  top: calc(50% - 30px);
  z-index: 2;

  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;

  color: var(--navy);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;

  transform: translateY(-50%);
  transition:
    opacity 0.3s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.pc-prev { left: -24px; }
.pc-next { right: -24px; }

.pc-nav:hover:not(:disabled) {
  color: #FFFFFF;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.06);
}

.pc-nav:disabled {
  opacity: 0;
  pointer-events: none;
}

.pc-nav:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.pcarousel.is-static .pc-nav,
.pcarousel.is-static .pc-bar {
  display: none;
}

.pc-bar {
  position: relative;
  height: 4px;
  max-width: 260px;
  margin: 4px auto 0;
  overflow: hidden;

  background: var(--border);
  border-radius: 4px;
}

.pc-bar span {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;

  background: var(--accent);
  border-radius: 4px;

  transition: transform 0.15s linear;
}

[data-theme="dark"] .pg-nav,
[data-theme="dark"] .pc-nav {
  color: #FFFFFF;
}

[data-theme="dark"] .pg-nav {
  background: rgba(11, 23, 40, 0.85);
}

/* ---------- Full-screen photo viewer ---------- */

html.lb-lock {
  overflow: hidden;
}

.lb {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: grid;
  place-items: center;
}

.lb[hidden] {
  display: none;
}

.lb-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(6, 16, 31, 0.92);
  backdrop-filter: blur(8px);

  opacity: 0;
  transition: opacity 0.3s ease;
}

.lb-figure {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(1100px, calc(100vw - 140px));
  margin: 0;

  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 0.8, 0.2, 1);

  touch-action: pan-y;
}

.lb.is-open .lb-backdrop,
.lb.is-open .lb-figure {
  opacity: 1;
}

.lb.is-open .lb-figure {
  transform: none;
}

.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;

  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  user-select: none;
}

.lb-img.lb-in-next { animation: lbInNext 0.45s cubic-bezier(0.22, 0.8, 0.2, 1); }
.lb-img.lb-in-prev { animation: lbInPrev 0.45s cubic-bezier(0.22, 0.8, 0.2, 1); }

@keyframes lbInNext {
  from { opacity: 0; transform: translateX(60px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes lbInPrev {
  from { opacity: 0; transform: translateX(-60px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.lb-caption {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  text-align: center;
}

.lb-btn {
  position: absolute;
  z-index: 2;

  display: grid;
  place-items: center;

  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;

  transition: background 0.2s ease, transform 0.2s ease;
}

.lb-btn:hover {
  background: var(--accent);
  transform: scale(1.06);
}

.lb-btn:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 3px;
}

.lb-close {
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
}

.lb-nav {
  top: 50%;
  width: 56px;
  height: 56px;
  margin-top: -28px;
}

.lb-nav:hover {
  transform: scale(1.06);
}

.lb-prev { left: 24px; }
.lb-next { right: 24px; }

.lb-counter {
  position: absolute;
  top: 30px;
  left: 50%;
  z-index: 2;

  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;

  transform: translateX(-50%);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {

  .product-showcase {
    gap: 36px;
  }

  .pc-track {
    grid-auto-columns: calc((100% - 44px) / 3);
  }

  .pc-prev { left: -12px; }
  .pc-next { right: -12px; }

}

@media (max-width: 860px) {

  .product-showcase {
    grid-template-columns: 1fr;
  }

  .pg {
    position: relative;
    top: 0;
  }

  .pg-nav {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    width: 40px;
    height: 40px;
  }

  .pc-track {
    grid-auto-columns: calc((100% - 22px) / 2);
  }

}

@media (max-width: 768px) {

  .product-top {
    padding-top: 40px;
  }

  .ptabs-panel {
    padding: 26px 20px 28px;
  }

  .ptab {
    padding: 16px 14px 14px;
    font-size: 13.5px;
  }

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

  .ptabs .spec-table th,
  .ptabs .spec-table td {
    padding: 11px 12px;
    font-size: 13.5px;
  }

  .ptabs .spec-table th {
    width: 40%;
  }

  .pc-nav {
    display: none;
  }

  .lb-figure {
    width: calc(100vw - 24px);
  }

  .lb-nav {
    top: auto;
    bottom: 24px;
    margin-top: 0;
    width: 48px;
    height: 48px;
  }

  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }

  .lb-img {
    max-height: calc(100vh - 200px);
  }

}

@media (max-width: 520px) {

  .pg-stage {
    border-radius: 12px;
  }

  .pg-thumbs {
    gap: 8px;
  }

  .pg-thumb {
    flex-basis: calc((100% - 24px) / 4);
    min-width: 60px;
  }

  .pchip {
    font-size: 14px;
    padding: 8px 13px;
  }

  .quick-specs > div {
    grid-template-columns: 42% 1fr;
    padding: 11px 13px;
  }

  .pc-track {
    grid-auto-columns: 78%;
    gap: 14px;
  }

  .trust-row {
    gap: 10px 16px;
  }

}

@media (prefers-reduced-motion: reduce) {

  .pg-track,
  .pg-slide img,
  .ptabs-ink,
  .pc-card,
  .pc-card-media img,
  .lb-figure,
  .lb-backdrop {
    transition: none !important;
  }

  .pg-slide img {
    transform: none;
    opacity: 1;
  }

  .ptabs.is-ready .ptabs-panel.is-active,
  .lb-img {
    animation: none !important;
  }

}
.pcarousel.is-static .pc-track {
  justify-content: center;
}
/* hint that more tabs can be scrolled into view on small screens */
@media (max-width: 768px) {
  .ptabs-list {
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
}

/* =====================================================
   43. MOTION SYSTEM + ADVANCED ANIMATIONS
===================================================== */

/* ---------- Scroll-in animations ([data-anim], see main.js 15e) ---------- */

@keyframes animUp    { from { opacity: 0; transform: translateY(38px); } }
@keyframes animLeft  { from { opacity: 0; transform: translateX(-56px) scale(0.97); } }
@keyframes animRight { from { opacity: 0; transform: translateX(46px); } }
@keyframes animZoom  { from { opacity: 0; transform: scale(0.9); } }
@keyframes animPop   { from { opacity: 0; transform: translateY(16px) scale(0.82); } }
@keyframes animFailsafe { to { opacity: 1; } }

[data-anim="up"]    { --anim-name: animUp; }
[data-anim="left"]  { --anim-name: animLeft; }
[data-anim="right"] { --anim-name: animRight; }
[data-anim="zoom"]  { --anim-name: animZoom; }
[data-anim="pop"]   { --anim-name: animPop; }

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {

  [data-anim]:not(.is-in) {
    opacity: 0;
    /* shows the content anyway if JavaScript never runs */
    animation: animFailsafe 0.01s 3.5s forwards;
  }

  [data-anim].is-in {
    animation: var(--anim-name, animUp) 0.95s cubic-bezier(0.16, 0.84, 0.24, 1) var(--d, 0ms) backwards;
  }

}

/* ---------- Existing scroll reveal: smoother, staggered ---------- */

.reveal {
  transform: translateY(36px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 0.84, 0.24, 1) var(--rd, 0ms),
    transform 0.95s cubic-bezier(0.16, 0.84, 0.24, 1) var(--rd, 0ms),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

/* hover lift must win over the reveal end state */
@media (hover: hover) and (min-width: 769px) {
  .service-card.reveal.visible:hover { transform: translateY(-7px); }
  .industry-card.reveal.visible:hover { transform: translateY(-6px); }
  .product-card.reveal.visible:hover,
  .value-card.reveal.visible:hover,
  .why-card.reveal.visible:hover,
  .project-card.reveal.visible:hover { transform: translateY(-5px); }
}

/* ---------- Page headers on every inner page ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before,
.hero-section::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;

  background:
    radial-gradient(38% 42% at 22% 30%, rgba(31, 111, 178, 0.38), transparent 70%),
    radial-gradient(30% 36% at 80% 70%, rgba(140, 203, 245, 0.2), transparent 70%),
    radial-gradient(26% 30% at 60% 15%, rgba(31, 111, 178, 0.22), transparent 70%);

  animation: glowDrift 22s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-section {
  isolation: isolate;
}

@keyframes glowDrift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%  { transform: translate3d(4%, -3%, 0) rotate(8deg); }
  100% { transform: translate3d(-3%, 4%, 0) rotate(-6deg); }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
}

@media (prefers-reduced-motion: no-preference) {

  .page-hero .container > * {
    animation: heroIn 0.9s cubic-bezier(0.16, 0.84, 0.24, 1) backwards;
  }

  .page-hero .container > :nth-child(1) { animation-delay: 0.05s; }
  .page-hero .container > :nth-child(2) { animation-delay: 0.15s; }
  .page-hero .container > :nth-child(3) { animation-delay: 0.25s; }
  .page-hero .container > :nth-child(4) { animation-delay: 0.35s; }
  .page-hero .container > :nth-child(5) { animation-delay: 0.45s; }
  .page-hero .container > :nth-child(6) { animation-delay: 0.55s; }

  .hero-content > .eyebrow,
  .hero-content > .hero-slider,
  .hero-content > .hero-slider-controls {
    animation: heroIn 0.9s cubic-bezier(0.16, 0.84, 0.24, 1) backwards;
  }

  .hero-content > .hero-slider { animation-delay: 0.12s; }
  .hero-content > .hero-slider-controls { animation-delay: 0.3s; }

}

/* ---------- Buttons: light sweep on hover ---------- */

.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.75s cubic-bezier(0.16, 0.84, 0.24, 1);
  pointer-events: none;
}

.btn-primary:hover::after {
  transform: translateX(130%);
}

.btn {
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  box-shadow: 0 12px 26px rgba(31, 111, 178, 0.35);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* ---------- Product cards: pop-in + 3D tilt glare ---------- */

@keyframes cardPop {
  from { opacity: 0; transform: translateY(34px) scale(0.95); }
}

.product-card.pop-wait:not(.pop-in) {
  opacity: 0;
}

.product-card.pop-in {
  animation: cardPop 0.75s cubic-bezier(0.16, 0.84, 0.24, 1) var(--pop-d, 0ms) backwards;
}

.product-card,
.pc-card {
  position: relative;
  transform-style: preserve-3d;
}

.product-card::after,
.pc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;

  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.32), transparent 55%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.product-card.is-tilting,
.pc-card.is-tilting {
  transition: transform 0.12s linear, box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: var(--shadow-hover);
}

.product-card.is-tilting::after,
.pc-card.is-tilting::after {
  opacity: 1;
}

.product-card .product-image img {
  transition: transform 0.8s cubic-bezier(0.16, 0.84, 0.24, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.07);
}

/* ---------- Gallery: parallax slides + slow "Ken Burns" zoom ---------- */

.pg-slide.is-after img {
  transform: translateX(-38%) scale(0.9);
  opacity: 0.2;
}

.pg-slide.is-before img {
  transform: translateX(38%) scale(0.9);
  opacity: 0.2;
}

.pg-slide img {
  transition:
    transform 0.9s cubic-bezier(0.16, 0.84, 0.24, 1),
    opacity 0.7s ease,
    filter 0.7s ease;
}

.pg-slide:not(.is-active) img {
  filter: blur(2px);
}

@keyframes pgKen {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

@media (prefers-reduced-motion: no-preference) {

  .pg:not(.pg-illustration) .pg-slide.is-active {
    animation: pgKen 7s ease-out forwards;
  }

  .pg.is-paused .pg-slide.is-active {
    animation-play-state: paused;
  }

}

.pg-counter .pg-current {
  display: inline-block;
  animation: countFlip 0.45s cubic-bezier(0.16, 0.84, 0.24, 1);
}

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

/* ---------- Tabs: rows and items slide in one by one ---------- */

@keyframes itemIn {
  from { opacity: 0; transform: translateY(14px); }
}

@media (prefers-reduced-motion: no-preference) {

  .ptabs.is-ready .ptabs-panel.is-active .spec-table tr,
  .ptabs.is-ready .ptabs-panel.is-active .check-grid li,
  .ptabs.is-ready .ptabs-panel.is-active .how-step,
  .ptabs.is-ready .ptabs-panel.is-active .ptab-prose p {
    animation: itemIn 0.55s cubic-bezier(0.16, 0.84, 0.24, 1) calc(var(--i, 0) * 55ms + 120ms) backwards;
  }

  .ptabs.is-ready .ptabs-panel.is-active .ptab-prose p:nth-child(2) { --i: 2; }
  .ptabs.is-ready .ptabs-panel.is-active .ptab-prose p:nth-child(3) { --i: 4; }
  .ptabs.is-ready .ptabs-panel.is-active .ptab-prose p:nth-child(4) { --i: 6; }

  .quick-specs.is-in > div {
    animation: itemIn 0.55s cubic-bezier(0.16, 0.84, 0.24, 1) calc(var(--i, 0) * 70ms + 250ms) backwards;
  }

  .pchips.is-in .pchip {
    animation: animPop 0.6s cubic-bezier(0.16, 0.84, 0.24, 1) backwards;
  }

  .pchips.is-in .pchip:nth-child(2) { animation-delay: 0.1s; }
  .pchips.is-in .pchip:nth-child(3) { animation-delay: 0.2s; }

}

.pchip-primary {
  background-size: 200% 100%;
  animation: chipShine 6s ease-in-out infinite;
}

@keyframes chipShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.faq-item {
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow);
}

.faq-item[open] > p {
  animation: itemIn 0.45s cubic-bezier(0.16, 0.84, 0.24, 1);
}

.detail-industries a {
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.detail-industries a:hover {
  transform: translateY(-3px);
}


/* =====================================================
   44. HOMEPAGE LIVE PRODUCT WALL
===================================================== */

.hero-showcase {
  position: relative;
  z-index: 1;
}

.hs-frame {
  position: relative;
  height: 480px;
  overflow: hidden;

  background:
    radial-gradient(120% 90% at 70% 15%, #17426f 0%, #0d2a4b 55%, #071629 100%);
  border: 1px solid rgba(140, 203, 245, 0.2);
  border-radius: 20px;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);

  perspective: 1200px;
  isolation: isolate;
}

@keyframes hsEnter {
  from { opacity: 0; transform: translateY(34px) scale(0.95); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-showcase .hs-frame {
    animation: hsEnter 1.2s cubic-bezier(0.16, 0.84, 0.24, 1) 0.15s backwards;
  }
}

.hs-wall {
  position: absolute;
  inset: -22% -16%;
  z-index: 0;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;

  transform:
    rotateX(calc(18deg - var(--my, 0) * 8deg))
    rotateY(calc(var(--mx, 0) * 10deg))
    rotateZ(-10deg);
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.16, 0.84, 0.24, 1), opacity 1.2s ease;

  opacity: 0;
}

.hero-showcase.is-ready .hs-wall {
  opacity: 1;
}

.hs-col {
  min-width: 0;
}

.hs-strip {
  display: flex;
  flex-direction: column;
  gap: 16px;

  animation: hsScroll var(--dur, 46s) linear infinite;
  will-change: transform;
}

.hs-col-1 .hs-strip { --dur: 44s; }
.hs-col-2 .hs-strip { --dur: 54s; animation-direction: reverse; }
.hs-col-3 .hs-strip { --dur: 48s; }

/* the strip holds the list twice; move by one list + one gap */
@keyframes hsScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(calc(-50% - 8px)); }
}

.hs-frame:hover .hs-strip,
.hero-showcase.is-offscreen .hs-strip {
  animation-play-state: paused;
}

.hs-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;

  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);

  transition: transform 0.45s cubic-bezier(0.16, 0.84, 0.24, 1), box-shadow 0.45s ease;
}

.hs-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.hs-tile span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 6px 9px;
  overflow: hidden;

  color: #FFFFFF;
  background: rgba(11, 37, 69, 0.88);
  border-radius: 7px;

  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;

  transform: translateY(150%);
  transition: transform 0.35s cubic-bezier(0.16, 0.84, 0.24, 1);
}

.hs-tile:hover {
  z-index: 2;
  transform: scale(1.08) translateZ(40px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.5), 0 0 0 3px var(--accent-light);
}

.hs-tile:hover span {
  transform: none;
}

/* depth fade at the edges */
.hs-shade {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(180deg, rgba(7, 22, 41, 0.92) 0%, transparent 24%, transparent 62%, rgba(7, 22, 41, 0.96) 100%),
    radial-gradient(120% 100% at 50% 50%, transparent 55%, rgba(7, 22, 41, 0.65) 100%);
  pointer-events: none;
}

/* slow light sweep across the wall */
.hs-sweep {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hs-sweep::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  width: 35%;

  background: linear-gradient(100deg, transparent, rgba(140, 203, 245, 0.16), transparent);
  transform: translateX(-150%) skewX(-12deg);
  animation: hsSweep 7s ease-in-out infinite;
}

@keyframes hsSweep {
  0%, 15% { transform: translateX(-150%) skewX(-12deg); }
  60%, 100% { transform: translateX(420%) skewX(-12deg); }
}

.hs-topbar {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.hs-live,
.hs-total {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;

  color: #FFFFFF;
  background: rgba(7, 22, 41, 0.72);
  border: 1px solid rgba(140, 203, 245, 0.22);
  border-radius: 30px;
  backdrop-filter: blur(8px);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.hs-total {
  letter-spacing: 0.3px;
}

.hs-total strong {
  color: var(--accent-light);
  font-size: 13px;
}

.hs-live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background: #3DDC84;
  border-radius: 50%;
}

.hs-live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid #3DDC84;
  border-radius: 50%;
  animation: livePulse 1.8s ease-out infinite;
}

@keyframes livePulse {
  from { opacity: 0.9; transform: scale(0.6); }
  to   { opacity: 0; transform: scale(1.8); }
}

/* spotlight card */
.hs-spot {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  overflow: hidden;

  color: #FFFFFF;
  background: rgba(10, 30, 55, 0.72);
  border: 1px solid rgba(140, 203, 245, 0.25);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);

  transition: transform 0.35s ease, border-color 0.35s ease;
}

.hs-spot:hover {
  transform: translateY(-3px);
  border-color: var(--accent-light);
}

.hs-spot:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 3px;
}

.hs-spot-img {
  flex: 0 0 96px;
  height: 72px;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: 10px;
}

.hs-spot-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hs-spot-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.hs-spot-cat {
  color: var(--accent-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.hs-spot-name {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hs-spot-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #C6D3E2;
  font-size: 12px;
  font-weight: 700;
}

.hs-spot:hover .hs-spot-link svg {
  transform: translateX(4px);
}

.hs-spot-link svg {
  transition: transform 0.25s ease;
}

.hs-spot-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.hs-spot-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

@keyframes spotSwap {
  0%   { opacity: 1; transform: none; }
  45%  { opacity: 0; transform: translateY(10px); }
  55%  { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: none; }
}

@keyframes spotBar {
  from { width: 0; }
  to   { width: 100%; }
}

.hs-spot.is-swap .hs-spot-img,
.hs-spot.is-swap .hs-spot-text {
  animation: spotSwap 0.55s ease;
}

.hs-spot.is-swap .hs-spot-bar span {
  animation: spotBar 3.8s linear forwards;
}

.hero-showcase.is-paused .hs-spot-bar span {
  animation-play-state: paused;
}

.hero-showcase .visual-caption {
  margin-top: 14px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {

  .hero-visual.hero-showcase {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }

}

@media (max-width: 768px) {

  .hero-visual.hero-showcase {
    display: block;
  }

  .hs-frame {
    height: 380px;
  }

  .hs-wall {
    gap: 12px;
  }

  .hs-strip {
    gap: 12px;
  }

  @keyframes hsScroll {
    from { transform: translateY(0); }
    to   { transform: translateY(calc(-50% - 6px)); }
  }

}

@media (max-width: 480px) {

  .hs-frame {
    height: 320px;
    border-radius: 16px;
  }

  .hs-wall {
    inset: -24% -30%;
  }

  .hs-tile span {
    display: none;
  }

  .hs-spot {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 10px;
    padding: 9px 10px;
  }

  .hs-spot-img {
    flex-basis: 72px;
    height: 54px;
  }

  .hs-spot-name {
    font-size: 13.5px;
  }

  .hs-topbar {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .hs-live,
  .hs-total {
    padding: 6px 10px;
    font-size: 10px;
  }

}

/* ---------- Reduced motion: keep everything still ---------- */

@media (prefers-reduced-motion: reduce) {

  .hs-strip,
  .hs-sweep::before,
  .hs-live-dot::after,
  .page-hero::before,
  .hero-section::before,
  .pchip-primary,
  .pg-slide.is-active {
    animation: none !important;
  }

  .product-card.pop-wait:not(.pop-in) {
    opacity: 1;
  }

  .btn-primary::after {
    display: none;
  }

  .pg-slide:not(.is-active) img {
    filter: none;
  }

}

/* =====================================================
   45. GENTLE MODE (computer set to "reduce motion" /
       Windows "Animation effects" off): fades, no movement
===================================================== */

@keyframes fadeIn {
  from { opacity: 0; }
}

@keyframes spotFade {
  0%   { opacity: 1; }
  45%, 55% { opacity: 0; }
  100% { opacity: 1; }
}

@media (scripting: enabled) and (prefers-reduced-motion: reduce) {

  [data-anim]:not(.is-in) {
    opacity: 0;
    animation: animFailsafe 0.01s 3.5s forwards;
  }

  [data-anim].is-in {
    animation: fadeIn 0.7s ease var(--d, 0ms) backwards;
  }

}

@media (prefers-reduced-motion: reduce) {

  .product-card.pop-wait:not(.pop-in) {
    opacity: 0;
  }

  .product-card.pop-in {
    animation: fadeIn 0.6s ease var(--pop-d, 0ms) backwards;
  }

  .page-hero .container > *,
  .hero-content > .eyebrow,
  .hero-content > .hero-slider,
  .hero-content > .hero-slider-controls,
  .hero-showcase .hs-frame {
    animation: fadeIn 0.8s ease backwards;
  }

  .hs-spot.is-swap .hs-spot-img,
  .hs-spot.is-swap .hs-spot-text {
    animation: spotFade 0.55s ease;
  }

  .hs-spot.is-swap .hs-spot-bar span {
    animation: spotBar 3.8s linear forwards;
  }

  .ptabs.is-ready .ptabs-panel.is-active {
    animation: fadeIn 0.4s ease;
  }

  /* photos change by cross-fade instead of sliding */
  .pg-track {
    transition: none;
  }

  .pg-slide.is-active img {
    animation: fadeIn 0.5s ease;
  }

}

/* =====================================================
   46. HOMEPAGE ROTATING 3D PRODUCT GLOBE (main.js 15f)
===================================================== */

.hero-showcase .hs-frame {
  height: 500px;
}

.hs-globe {
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  bottom: 64px;
  z-index: 0;

  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;

  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-showcase.is-ready .hs-globe {
  opacity: 1;
}

.hs-globe.is-dragging {
  cursor: grabbing;
}

/* glowing sphere behind the photos */
.hs-sphere {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--gr, 160px) * 2.2);
  aspect-ratio: 1;

  background:
    radial-gradient(circle at 34% 28%, rgba(140, 203, 245, 0.32), rgba(31, 111, 178, 0.14) 42%, rgba(7, 22, 41, 0) 70%);
  border: 1px solid rgba(140, 203, 245, 0.16);
  border-radius: 50%;
  box-shadow:
    inset 0 0 70px rgba(140, 203, 245, 0.12),
    0 0 90px rgba(31, 111, 178, 0.3);

  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: spherePulse 6s ease-in-out infinite;
}

@keyframes spherePulse {
  0%, 100% { box-shadow: inset 0 0 70px rgba(140, 203, 245, 0.12), 0 0 90px rgba(31, 111, 178, 0.3); }
  50%      { box-shadow: inset 0 0 90px rgba(140, 203, 245, 0.2), 0 0 130px rgba(31, 111, 178, 0.45); }
}

/* tilted orbit rings with a travelling light */
.hs-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--gr, 160px) * 2.75);
  aspect-ratio: 1;

  border: 1px solid rgba(140, 203, 245, 0.22);
  border-radius: 50%;

  transform: translate(-50%, -50%) rotateZ(-16deg) rotateX(74deg);
  pointer-events: none;
}

.hs-orbit-2 {
  width: calc(var(--gr, 160px) * 2.45);
  border-color: rgba(140, 203, 245, 0.14);
  transform: translate(-50%, -50%) rotateZ(24deg) rotateX(70deg);
}

.hs-orbit span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: orbitSpin 9s linear infinite;
}

.hs-orbit-2 span {
  animation-duration: 13s;
  animation-direction: reverse;
}

.hs-orbit span::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;

  background: var(--accent-light);
  border-radius: 50%;
  box-shadow: 0 0 14px 4px rgba(140, 203, 245, 0.7);
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

/* product photos on the sphere (position set every frame by JS) */
.hs-gtile {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--tw, 84px);
  aspect-ratio: 4 / 3;

  will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
}

.hs-gtile.is-back {
  pointer-events: none;
}

.hs-gcard {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;

  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);

  transition: transform 0.35s cubic-bezier(0.16, 0.84, 0.24, 1), box-shadow 0.35s ease;
}

.hs-gcard img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

/* photos at the back of the globe get darker */
.hs-gcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #071629;
  opacity: var(--dim, 0);
  pointer-events: none;
}

.hs-gtile em {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  z-index: 2;
  padding: 5px 9px;

  color: #FFFFFF;
  background: rgba(7, 22, 41, 0.92);
  border: 1px solid rgba(140, 203, 245, 0.3);
  border-radius: 6px;

  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;

  opacity: 0;
  transform: translate(-50%, -4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.hs-gtile:hover .hs-gcard {
  transform: scale(1.18);
  box-shadow: 0 0 0 3px var(--accent-light), 0 18px 40px rgba(0, 0, 0, 0.5);
}

.hs-gtile:hover em {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* the product shown in the spotlight card glows on the globe */
.hs-gtile.is-spot .hs-gcard {
  box-shadow: 0 0 0 3px #3DDC84, 0 0 26px rgba(61, 220, 132, 0.65);
}

/* softer edge shading for the globe */
.hero-showcase .hs-shade {
  background:
    linear-gradient(180deg, rgba(7, 22, 41, 0.75) 0%, transparent 16%, transparent 70%, rgba(7, 22, 41, 0.9) 100%),
    radial-gradient(130% 110% at 50% 45%, transparent 60%, rgba(7, 22, 41, 0.6) 100%);
}

/* pause / play button */
.hs-topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hs-toggle {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;

  color: #FFFFFF;
  background: rgba(7, 22, 41, 0.72);
  border: 1px solid rgba(140, 203, 245, 0.22);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  cursor: pointer;
  pointer-events: auto;

  transition: background 0.2s ease, transform 0.2s ease;
}

.hs-toggle:hover {
  background: var(--accent);
  transform: scale(1.08);
}

.hs-toggle:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 2px;
}

.hs-icon-play,
.is-user-paused .hs-icon-pause {
  display: none;
}

.is-user-paused .hs-icon-play {
  display: block;
}

.is-user-paused .hs-orbit span,
.is-user-paused .hs-sphere,
.hero-showcase.is-offscreen .hs-orbit span,
.hero-showcase.is-offscreen .hs-sphere {
  animation-play-state: paused;
}

@media (max-width: 768px) {

  .hero-showcase .hs-frame {
    height: 420px;
  }

  .hs-globe {
    top: 46px;
    bottom: 70px;
  }

  .hs-gtile em {
    display: none;
  }

}

@media (max-width: 480px) {

  .hero-showcase .hs-frame {
    height: 380px;
  }

  .hs-globe {
    bottom: 66px;
  }

  .hs-gcard {
    border-radius: 7px;
  }

}

@media (prefers-reduced-motion: reduce) {

  .hs-orbit span,
  .hs-sphere {
    animation: none;
  }

}

/* =====================================================
   47. FIX: mobile menu no longer widens the page
   (it used to sit off-screen with translateX(100%), which made
   every page 2x wide on phones and scrollable sideways)
===================================================== */

@keyframes navLinkIn {
  from { opacity: 0; transform: translateX(28px); }
}

@media (max-width: 768px) {

  .nav-menu {
    transform: none;
    clip-path: inset(0 0 0 100%);
    transition:
      clip-path 0.45s cubic-bezier(0.16, 0.84, 0.24, 1),
      visibility 0.45s ease;
  }

  .nav-menu.open {
    transform: none;
    clip-path: inset(0 0 0 0);
  }

  .nav-menu.open > * {
    animation: navLinkIn 0.5s cubic-bezier(0.16, 0.84, 0.24, 1) backwards;
  }

  .nav-menu.open > :nth-child(1) { animation-delay: 0.08s; }
  .nav-menu.open > :nth-child(2) { animation-delay: 0.13s; }
  .nav-menu.open > :nth-child(3) { animation-delay: 0.18s; }
  .nav-menu.open > :nth-child(4) { animation-delay: 0.23s; }
  .nav-menu.open > :nth-child(5) { animation-delay: 0.28s; }
  .nav-menu.open > :nth-child(6) { animation-delay: 0.33s; }
  .nav-menu.open > :nth-child(7) { animation-delay: 0.38s; }

}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {

  .nav-menu {
    transition: none;
  }

  .nav-menu.open > * {
    animation: none;
  }

}
/* full-bleed swipe rows: subtract the scrollbar so the page never widens */
@media (max-width: 768px) {

  .services-grid,
  .why-grid,
  .industries-grid,
  .values-grid,
  .values-grid:has(> :nth-child(3):last-child),
  .projects-grid,
  .industry-tiles {
    margin-inline: calc(50% - 50vw + var(--sbw, 0px) / 2);
    padding-inline: calc(50vw - 50% - var(--sbw, 0px) / 2);
    scroll-padding-inline: calc(50vw - 50% - var(--sbw, 0px) / 2);
  }

}

/* =====================================================
   48. HOMEPAGE PRODUCT GLOBE SECTION (below the hero)
===================================================== */

.globe-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  color: #FFFFFF;
  background: var(--navy);
}

.globe-section::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;

  background:
    radial-gradient(34% 40% at 75% 45%, rgba(31, 111, 178, 0.42), transparent 70%),
    radial-gradient(28% 34% at 18% 70%, rgba(140, 203, 245, 0.16), transparent 70%);

  animation: glowDrift 24s ease-in-out infinite alternate;
  pointer-events: none;
}

.globe-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
}

.globe-intro .eyebrow {
  color: var(--accent-light);
}

.globe-intro h2 {
  color: #FFFFFF;
}

.globe-intro h2 span {
  display: block;
  color: var(--accent-light);
}

.globe-intro p {
  max-width: 480px;
  margin-top: 18px;

  color: #C6D3E2;
  font-size: 15.5px;
  line-height: 1.85;
}

.globe-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.globe-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 14px;

  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(140, 203, 245, 0.22);
  border-radius: 30px;

  font-size: 12.5px;
  font-weight: 700;

  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.globe-cat span {
  min-width: 22px;
  padding: 2px 7px;

  color: var(--navy);
  background: var(--accent-light);
  border-radius: 20px;

  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.globe-cat:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.globe-cat:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 2px;
}

.globe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* the globe card enters with the section's scroll animation instead */
.globe-showcase .hs-frame {
  animation: none !important;
}

@media (max-width: 1024px) {

  .globe-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .globe-intro {
    text-align: center;
  }

  .globe-intro p {
    margin-inline: auto;
  }

  .globe-cats,
  .globe-actions {
    justify-content: center;
  }

  .globe-showcase {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }

}

@media (max-width: 480px) {

  .globe-cats {
    gap: 7px;
  }

  .globe-cat {
    padding: 7px 10px 7px 12px;
    font-size: 11.5px;
  }

  .globe-actions .btn {
    flex: 1 1 100%;
  }

}


/* =====================================================
   49. HERO "ASSET HEALTH CHECK" ANIMATION: keep it running
   on computers with animations turned off (owner's wish),
   overriding the site-wide reduced-motion switch. The
   motor vibration stays off for those visitors.
===================================================== */

@media (prefers-reduced-motion: reduce) {

  .health-check .hc-scan {
    display: inline;
    animation: hcScan 7s linear infinite !important;
  }

  .health-check .hc-badge,
  .health-check .hc-crack {
    opacity: 0;
    animation-duration: 7s !important;
    animation-timing-function: ease-out !important;
    animation-iteration-count: infinite !important;
  }

  .health-check .hc-b1 { animation-name: hcShowTank !important; }
  .health-check .hc-b2,
  .health-check .hc-crack { animation-name: hcShowWeld !important; }
  .health-check .hc-b3 { animation-name: hcShowMotor !important; }

  .health-check .hc-ring {
    animation: hcRing 1.2s ease-out infinite !important;
  }

  .hs-orbit span {
    animation: orbitSpin 9s linear infinite !important;
  }

  .hs-orbit-2 span {
    animation: orbitSpin 13s linear infinite reverse !important;
  }

}
/* the carousel's own eased scroll runs with snapping switched off */
.pc-track.is-tweening {
  scroll-snap-type: none;
}