/* ============================================================
   ACFI – Anti Corro Fab Industries
   Design: DeWalt-inspired — Black · Yellow · Bold · Industrial
   ============================================================ */

/* ---- CUSTOM PROPERTIES ---- */
:root {
  --yellow:        #FFCD11;
  --yellow-dark:   #e6b800;
  --yellow-light:  #fff8d6;
  --black:         #0a0a0a;
  --dark:          #1a1a1a;
  --dark-2:        #242424;
  --dark-3:        #2e2e2e;
  --gray-dark:     #444;
  --gray:          #666;
  --gray-mid:      #888;
  --gray-light:    #ccc;
  --gray-bg:       #f5f5f5;
  --white:         #fff;
  --green:         #25d366;
  --error:         #cc0000;
  --success:       #1a7a1a;

  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --container-max: 1280px;
  --container-pad: 1.5rem;

  --header-top-h:   0px;
  --header-nav-h:   68px;
  --header-total-h: 68px;

  --r-sm: 2px;
  --r:    4px;
  --r-lg: 8px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.12);
  --shadow:    0 4px 16px rgba(0,0,0,.14);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.18);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.22);

  --t:     .22s ease;
  --t-sl:  .4s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-total-h);
}
body.nav-overlay-active { overflow: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; padding: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; }
address { font-style: normal; }
figure { margin: 0; }
em { font-style: normal; }
h1, h2, h3, h4, h5 { font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---- UTILITIES ---- */
.container { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-pad); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.section-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--yellow);
  background: var(--dark);
  padding: 4px 12px;
  margin-bottom: 1rem;
}

.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-heading em { color: var(--yellow); }

.section-subheading {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 64ch;
  margin-inline: auto;
}

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-cta    { text-align: center; margin-top: 3rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary  { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn-primary:hover  { background: var(--yellow-dark); border-color: var(--yellow-dark); }

.btn-secondary { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-secondary:hover { background: transparent; color: var(--white); }

.btn-outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }

.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: var(--black); border-color: var(--black); }

.btn-whatsapp { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-whatsapp:hover { background: #1eb357; border-color: #1eb357; }
.btn-email { background: #0f66c2; color: var(--white); border-color: #0f66c2; }
.btn-email:hover { background: #0b4f98; border-color: #0b4f98; }
.btn-call { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn-call:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }
.whatsapp-icon,
.whatsapp-float-icon,
.quick-float-icon,
.contact-strip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.whatsapp-mark {
  width: 1.35em;
  height: 1.35em;
  display: block;
  object-fit: contain;
}

.btn-text-link {
  padding: 0; border: none; background: none;
  color: var(--dark); font-size: .8rem; font-weight: 900;
  letter-spacing: .07em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--t);
}
.btn-text-link:hover { color: var(--yellow); }

.btn-arrow { transition: transform var(--t); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---- SCROLL PROGRESS BAR (created by JS) ---- */
.scroll-progress-bar {
  position: absolute; bottom: 0; left: 0;
  height: 3px; width: 0;
  background: var(--yellow);
  z-index: 10;
  transition: width .1s linear;
}

/* ---- PRELOADER ---- */
/* ============================================================
   VIDEO PRELOADER / LOADER
   ============================================================ */
body.preloader-active {
  overflow: hidden;
  height: 100vh;
  touch-action: none;
}

body.preloader-active .site-header,
body.preloader-active main,
body.preloader-active .site-footer {
  opacity: 1;
}

body.preloader-complete .site-header,
body.preloader-complete main,
body.preloader-complete .site-footer {
  animation: none;
}

@keyframes pageIntroReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.preloader {
  position: fixed; inset: 0;
  z-index: 99999;
  background: #000 url('../images/hero/hero-placeholder.jpg') center/cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s cubic-bezier(.4,0,.2,1), visibility 1s ease;
}
.preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ---- Background video ---- */
.preloader-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.2s ease;
}
.preloader-video.vl-ready { opacity: 1; }
.preloader-video.vl-failed { display: none; }

/* ---- Multi-layer cinematic overlay ---- */
.preloader-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.22) 0%, rgba(0,0,0,.62) 74%),
    linear-gradient(to bottom,
      rgba(0,0,0,.72) 0%,
      rgba(0,0,0,.52) 42%,
      rgba(0,0,0,.78) 100%);
}

/* ---- Center brand block ---- */
.preloader-brand {
  position: relative; z-index: 4;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 1rem;
}

.preloader-logo-wrap {
  width: min(360px, 76vw);
  min-height: 112px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .25rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  animation: loaderLogoIn .7s cubic-bezier(.22,1,.36,1) .15s both;
}

.preloader-logo-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  max-height: 92px;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 14px 28px rgba(0,0,0,.62))
    drop-shadow(0 0 18px rgba(255,205,17,.28));
}
@keyframes loaderLogoIn {
  from { opacity: 0; transform: scale(.9) translateY(18px); filter: blur(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

.preloader-name {
  width: min(600px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  overflow: hidden;
  white-space: nowrap;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fff;
  animation: loaderTyping 2.25s steps(27, end) .2s both;
}

@keyframes loaderTyping {
  from { width: 0; }
  to { width: min(600px, calc(100vw - 2rem)); }
}

.preloader-est {
  width: min(440px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  overflow: hidden;
  white-space: nowrap;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,205,17,.75);
  animation: loaderEstTyping 1.55s steps(35, end) 1.05s both;
}

@keyframes loaderEstTyping {
  from { width: 0; }
  to { width: min(440px, calc(100vw - 2rem)); }
}

@keyframes loaderSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Bottom progress area ---- */
.preloader-progress-area {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 4;
  padding: 0 3rem 2.25rem;
  animation: loaderSlideUp .5s ease 1.3s both;
}

.preloader-progress-track {
  width: 100%; height: 2px;
  background: rgba(255,255,255,.16);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: .8rem;
}

.preloader-progress-fill {
  height: 100%; width: 0%;
  background: var(--yellow);
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(255,205,17,.7);
}

.preloader-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preloader-loading-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

.preloader-percent {
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--yellow);
  min-width: 3ch;
  text-align: right;
}

/* ---- Mobile responsive ---- */
@media (max-width: 600px) {
  .preloader-logo-wrap { width: min(310px, 82vw); min-height: 92px; }
  .preloader-logo-img  { max-height: 76px; }
  .preloader-name      { font-size: .58rem; letter-spacing: .12em; }
  .preloader-est       { font-size: .52rem; letter-spacing: .14em; padding-inline: 1rem; line-height: 1.6; }
  .preloader-progress-area { padding: 0 1.5rem 2rem; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  box-shadow: 0 2px 24px rgba(0,0,0,.10);
}


/* Main nav — WHITE background */
.main-nav {
  background: var(--white);
  height: var(--header-nav-h);
  display: flex; align-items: center;
  border-bottom: 3px solid var(--yellow);
  position: relative;
}

.nav-inner {
  display: flex; align-items: center;
  gap: 0;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
  display: flex; align-items: center;
  gap: .75rem;
  text-decoration: none;
  padding-right: 1.5rem;
  margin-right: .5rem;
  border-right: 1px solid rgba(0,0,0,.08);
}
.nav-logo-img {
  height: 48px; width: auto; display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}
.nav-logo-name {
  display: flex; flex-direction: column;
  line-height: 1.2; gap: 1px;
}
.nav-logo-name-top {
  font-size: .82rem; font-weight: 900;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--dark);
}
.nav-logo-name-bottom {
  font-size: .58rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(0,0,0,.4);
}

/* Nav links */
.nav-menu {
  display: flex; align-items: center; gap: 0;
  margin-left: auto;
}
.nav-link {
  display: block;
  padding: 0 13px;
  line-height: calc(var(--header-nav-h) - 3px);
  font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; white-space: nowrap;
  color: var(--dark); transition: color var(--t);
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute;
  bottom: 0; left: 13px; right: 13px;
  height: 3px; background: var(--yellow);
  transform: scaleX(0); transition: transform var(--t); transform-origin: left;
}
.nav-link:hover { color: var(--black); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-item.active .nav-link { color: var(--black); font-weight: 900; }
.nav-item.active .nav-link::after { transform: scaleX(1); }
.nav-arrow { font-size: 8px; margin-left: 3px; opacity: .6; }

/* Dropdown */
.has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--white); min-width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.08); border-top: 3px solid var(--yellow);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: all var(--t); z-index: 200;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown.dropdown-open .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-link {
  display: block; padding: 10px 18px;
  font-size: .74rem; font-weight: 700;
  color: rgba(0,0,0,.65); white-space: nowrap;
  transition: all var(--t); border-left: 3px solid transparent;
}
.nav-dropdown-link:hover {
  color: var(--dark); background: rgba(255,205,17,.12);
  border-left-color: var(--yellow);
}

/* CTA button in nav */
.nav-actions { margin-left: 1.25rem; flex-shrink: 0; }
.btn-request-quote { padding: 10px 22px; font-size: .72rem; white-space: nowrap; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; cursor: pointer; }
.hamburger-line { display: block; width: 24px; height: 2px; background: var(--dark); transition: all var(--t); border-radius: 1px; }
.hamburger.hamburger-active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.hamburger-active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.hamburger-active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav open state */
.nav-menu.nav-menu-open {
  display: flex; flex-direction: column;
  position: fixed;
  top: var(--header-total-h); left: 0; right: 0; bottom: 0;
  background: var(--white);
  padding: 1.5rem 1.5rem 6rem;
  gap: 0; overflow-y: auto; z-index: 999; align-items: flex-start;
}
.nav-menu.nav-menu-open .nav-item { width: 100%; border-bottom: 1px solid rgba(0,0,0,.07); }
.nav-menu.nav-menu-open .nav-link {
  padding: .9rem 0; font-size: .95rem;
  line-height: 1.4; width: 100%; color: var(--dark);
}
.nav-menu.nav-menu-open .nav-link::after { display: none; }
.nav-menu.nav-menu-open .nav-dropdown {
  position: static; opacity: 1; visibility: visible;
  transform: none; box-shadow: none; border: none;
  padding-left: 1rem; background: transparent; min-width: 0;
}
.nav-menu.nav-menu-open .nav-dropdown .nav-dropdown-link { color: rgba(0,0,0,.55); }
.nav-menu.nav-menu-open .nav-actions { display: none; }

/* Sticky state */
.site-header.header-sticky { box-shadow: 0 4px 24px rgba(0,0,0,.14); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-total-h));
  display: flex; flex-direction: column; overflow: hidden;
  /* dark fallback when images are missing */
  background: var(--black);
}

.hero-background {
  position: absolute; inset: 0;
  /* gradient fallback — looks good even without a photo */
  background: linear-gradient(135deg, #0d1a0d 0%, #0a1520 40%, #1a1a0a 100%);
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  /* hide broken-image alt text */
  color: transparent;
  opacity: 0;
  transition: opacity .75s ease;
}
.hero-bg-image.active {
  opacity: 1;
}
.hero-bg-image[data-hero-bg="1"] {
  object-position: center 68%;
}
.hero-bg-image[data-hero-bg="2"] {
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 63% 17%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.72) 0%,
      rgba(0,0,0,.58) 30%,
      rgba(0,0,0,.26) 52%,
      rgba(0,0,0,.08) 100%),
    linear-gradient(180deg, rgba(0,0,0,.12) 0%, transparent 45%, rgba(0,0,0,.18) 100%);
}

.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: min(780px, 58vw);
  background:
    linear-gradient(90deg, rgba(0,0,0,.46), rgba(0,0,0,.22) 72%, transparent),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 88px);
  pointer-events: none;
}

.hero-slide-track { flex: 1; position: relative; z-index: 1; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility 0s linear .7s;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
  pointer-events: auto;
}

.hero-content {
  padding-block: 5rem;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  align-items: flex-start;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow); color: var(--black);
  font-size: .68rem; font-weight: 900; letter-spacing: .18em;
  text-transform: uppercase; padding: 5px 14px; margin-bottom: 1.25rem;
}

.hero-pretitle {
  font-size: 1rem; color: rgba(255,255,255,.6);
  font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: .6rem;
}

.hero-heading {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 900; color: var(--white);
  line-height: 1.03; margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}
.hero-accent { color: var(--yellow); }

.hero-description {
  font-size: 1.05rem; color: rgba(255,255,255,.75);
  line-height: 1.75; max-width: 54ch; margin-bottom: 2.2rem;
}

.hero-actions { display: flex; justify-content: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.btn-hero-quote  { padding: 15px 32px; font-size: .82rem; }
.btn-hero-catalogue { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-hero-catalogue:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 1.75rem;
  align-items: start;
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 2rem;
  max-width: 760px;
  width: 100%;
  margin-left: 4.5rem;
}
.hero-stat { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hero-stat-top { display: flex; align-items: baseline; gap: 2px; min-height: 2.75rem; }
.hero-stat-number { font-size: 2.6rem; font-weight: 900; color: var(--yellow); line-height: 1; }
.hero-stat-suffix { font-size: 1.4rem; font-weight: 900; color: var(--yellow); line-height: 1; }
.hero-stat-label { font-size: .68rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; line-height: 1.2; white-space: nowrap; }

/* Slider dots */
.hero-slider-controls {
  position: relative; z-index: 2;
  display: flex; gap: 8px; justify-content: center; padding: 1.25rem;
}
.hero-dot { width: 28px; height: 4px; background: rgba(255,255,255,.25); border-radius: 2px; cursor: pointer; transition: all var(--t); }
.hero-dot.active { background: var(--yellow); width: 44px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal-section.reveal-ready {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-section.reveal-ready.revealed { opacity: 1; transform: translateY(0); }
body.page-products .products-listing.reveal-ready {
  opacity: 1;
  transform: none;
}

.card-reveal-ready {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.card-reveal-ready.card-revealed { opacity: 1; transform: translateY(0); }

/* ============================================================
   COMPANY OVERVIEW
   ============================================================ */
.company-overview { padding-block: 6rem; background: var(--white); }

.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.overview-images { position: relative; }
.overview-image-main { overflow: hidden; }
.overview-image-main img { width: 100%; height: 400px; object-fit: cover; }
.overview-image-secondary {
  position: absolute; bottom: -2rem; right: -2rem;
  width: 54%; border: 6px solid var(--white); overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.overview-image-secondary img { width: 100%; height: 200px; object-fit: cover; }
.overview-badge-box {
  position: absolute; top: 1.5rem; left: -1.5rem;
  background: var(--yellow); padding: 1.25rem 1.5rem; text-align: center; min-width: 110px;
}
.badge-number { display: block; font-size: 2.8rem; font-weight: 900; color: var(--black); line-height: 1; }
.badge-number span { font-size: 2rem; }
.badge-label { display: block; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--black); margin-top: 2px; }

.overview-content .section-heading { margin-top: .5rem; }
.overview-text { font-size: 1.04rem; color: var(--gray-dark); line-height: 1.8; margin-bottom: 1.25rem; }
.overview-highlights { margin-bottom: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.overview-highlight-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .95rem; color: var(--dark); }
.highlight-icon { color: var(--yellow); font-weight: 900; font-size: 1.1em; flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   STATISTICS
   ============================================================ */
.statistics { padding: 4.5rem 0 3rem; background: var(--black); overflow: hidden; }
.statistics .container {
  max-width: none;
  padding-inline: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
  gap: 0;
  align-items: stretch;
}
.stat-card {
  background: var(--dark); padding: 2.45rem 1.35rem; text-align: center;
  position: relative; overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.07);
  min-width: 0;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.stat-card:last-child { border-right: none; }
.stat-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--yellow);
  transform: scaleX(0); transition: transform var(--t-sl);
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-num-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 3.25rem;
  min-width: 0;
  white-space: nowrap;
}
.stat-number {
  font-size: clamp(2rem, 2.4vw, 2.75rem);
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  display: block;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  min-width: 0;
  flex: 0 0 auto;
}
.stat-suffix {
  font-size: clamp(1rem, 1.25vw, 1.3rem);
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  flex: 0 0 auto;
  transform: translateY(.12em);
}
.stat-label {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 2.5em;
  font-size: .65rem;
  font-weight: 800;
  color: rgba(255,255,255,.4);
  letter-spacing: .12em;
  line-height: 1.25;
  text-transform: uppercase;
  margin: .7rem 0 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

/* ============================================================
   HOME PRODUCT MARQUEE
   ============================================================ */
.home-product-marquee {
  overflow: hidden;
  background: #101112;
  border-block: 1px solid rgba(255,255,255,.08);
}
.product-marquee-track {
  display: flex;
  width: max-content;
  animation: productMarquee 48s linear infinite;
  will-change: transform;
}
.product-marquee-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: max-content;
  gap: clamp(1.15rem, 2.45vw, 2.55rem);
  padding: clamp(1rem, 2.05vw, 2.1rem) clamp(1.15rem, 2.45vw, 2.55rem);
}
.product-marquee-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(38px, 3.35vw, 64px);
}
.product-marquee-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255,205,17,.14));
}
.product-marquee-text {
  flex: 0 0 auto;
  color: var(--white);
  font-size: clamp(1.25rem, 2.55vw, 3.15rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes productMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .product-marquee-track { animation-duration: 90s; }
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us { padding-block: 6rem; background: var(--gray-bg); }

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

.usp-card {
  background: var(--white); padding: 2.25rem;
  position: relative; overflow: hidden;
  transition: all var(--t); border-bottom: 4px solid transparent;
  cursor: default;
}
.usp-card:hover, .usp-card.card-hovered {
  transform: translateY(-5px); box-shadow: var(--shadow-lg);
  border-bottom-color: var(--yellow);
}
.usp-number {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 4rem; font-weight: 900; color: rgba(0,0,0,.04); line-height: 1;
}
.usp-icon {
  width: 48px; height: 48px; background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.usp-icon img { width: 22px; height: 22px; filter: brightness(0); }
.usp-title  { font-size: 1.1rem; font-weight: 900; color: var(--dark); margin-bottom: .6rem; }
.usp-description { font-size: .88rem; color: var(--gray); line-height: 1.75; }

/* ============================================================
   FEATURED PRODUCTS
   ============================================================ */
.featured-products { padding-block: 6rem; background: var(--white); }

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

.product-card {
  background: var(--white); border: 1px solid rgba(0,0,0,.08);
  transition: all var(--t); overflow: hidden;
}
.product-card:hover, .product-card.card-hovered {
  transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent;
}
.product-card-image-wrap { position: relative; overflow: hidden; }
.product-card-image { width: 100%; height: 220px; object-fit: cover; transition: transform .55s ease; }
.product-card:hover .product-card-image { transform: scale(1.05); }

.product-card-badge {
  position: absolute; top: 0; left: 0;
  background: var(--yellow); color: var(--black);
  font-size: .65rem; font-weight: 900; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 12px;
}
.product-card-badge-alt { background: var(--dark); color: var(--yellow); }

.product-card-content { padding: 1.5rem; }
.product-card-category {
  display: inline-block; background: var(--dark); color: var(--yellow);
  font-size: .62rem; font-weight: 900; letter-spacing: .12em;
  text-transform: uppercase; padding: 3px 8px; margin-bottom: .75rem;
}
.product-card-title { font-size: 1.05rem; font-weight: 900; color: var(--dark); margin-bottom: .6rem; }
.product-card-desc  { font-size: .85rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.25rem; }

/* ============================================================
   APPLICATIONS PREVIEW
   ============================================================ */
.applications-preview { padding-block: 6rem; background: var(--dark); }
.applications-preview .section-label { background: var(--yellow); color: var(--black); }
.applications-preview .section-heading { color: var(--white); }
.applications-preview .section-subheading { color: rgba(255,255,255,.55); }

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

.application-card { position: relative; overflow: hidden; cursor: pointer; }
.application-card-image-wrap { overflow: hidden; }
.application-card-image {
  width: 100%; height: 260px; object-fit: cover;
  transition: transform .55s ease, filter .55s ease;
  filter: brightness(.65);
}
.application-card:hover .application-card-image { transform: scale(1.07); filter: brightness(.45); }
.application-card-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, transparent 100%);
}
.application-tag {
  display: block; font-size: .62rem; font-weight: 900;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: .4rem;
}
.application-card-title { font-size: 1.08rem; font-weight: 900; color: var(--white); }

.applications-preview .btn-outline { border-color: var(--yellow); color: var(--yellow); }
.applications-preview .btn-outline:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }

/* ============================================================
   HOME PROJECT GALLERY – Sticky Scroll (homepage only)
   ============================================================ */
.home-project-gallery {
  position: relative;
  background: var(--dark);
}

.hpg-sticky {
  height: 100vh;
  display: grid;
  grid-template-columns: 390px 1fr;
  overflow: hidden;
  background: var(--dark);
}

/* ===== LEFT PANEL: 3-zone flex column ===== */
.hpg-left {
  display: flex;
  flex-direction: column;
  padding: 0 2.75rem;
  padding-top: var(--header-total-h);
  background: var(--dark);
  position: relative;
  z-index: 2;
}

/* Thin right border separator */
.hpg-left::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255,255,255,.1) 20%,
    rgba(255,255,255,.1) 80%,
    transparent 100%
  );
}

/* ----- Zone 1: Identity (top) ----- */
.hpg-zone-top {
  padding-top: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.hpg-label {
  display: block;
  color: var(--yellow) !important;
  opacity: 0.7;
  margin-bottom: .4rem;
  font-size: .65rem;
  letter-spacing: .14em;
}

.hpg-heading {
  font-size: clamp(1.9rem, 2.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 1.1rem;
}
.hpg-heading em { color: var(--yellow); font-style: normal; }

.hpg-divider {
  width: 36px; height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

/* ----- Zone 2: Project info (grows to fill) ----- */
.hpg-zone-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
}

/* Tag + counter on same row */
.hpg-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hpg-tag {
  display: inline-flex;
  align-items: center;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  padding: .26rem .8rem;
  border-radius: 2px;
}

.hpg-counter {
  display: flex;
  align-items: baseline;
  gap: .25rem;
}
.hpg-current {
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  min-width: 2.5rem;
  text-align: right;
}
.hpg-sep  { font-size: .8rem; color: rgba(255,255,255,.22); font-weight: 700; }
.hpg-total{ font-size: .8rem; color: rgba(255,255,255,.22); font-weight: 700; }

/* Project title — biggest element, the hero */
.hpg-title {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 900;
  color: var(--white);
  margin: 0 0 .9rem;
  line-height: 1.2;
}

.hpg-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.42);
  line-height: 1.8;
  margin: 0;
  max-width: 30ch;
}

/* ----- Zone 3: Progress + nav (bottom) ----- */
.hpg-zone-bottom {
  padding-bottom: 2.25rem;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.5rem;
}

.hpg-progress-bar {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.hpg-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--yellow);
  border-radius: 2px;
}

/* Dots + CTA on same row */
.hpg-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hpg-dots {
  display: flex;
  gap: .4rem;
  align-items: center;
}
.hpg-dot {
  width: 24px; height: 3px;
  background: rgba(255,255,255,.15);
  border: none; border-radius: 2px;
  cursor: pointer; padding: 0;
  transition: background var(--t), width var(--t);
}
.hpg-dot.active {
  background: var(--yellow);
  width: 44px;
}

.hpg-cta {
  color: rgba(255,255,255,.7);
  border: 1.5px solid rgba(255,255,255,.2);
  font-size: .75rem;
  padding: .55rem 1.2rem;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.hpg-cta:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

/* ===== RIGHT IMAGE PANEL ===== */
.hpg-right {
  position: relative;
  overflow: hidden;
  margin: 1rem 1rem 1rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,.55);
}

.hpg-images-wrap {
  position: absolute;
  inset: 0;
}

.hpg-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  will-change: transform;
}
.hpg-slide-contain {
  background: #090909;
}

.hpg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  will-change: transform;
}
.hpg-slide-contain .hpg-img {
  object-fit: contain;
  object-position: center center;
}

.hpg-slide-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.04) 0%,
    transparent 55%,
    rgba(0,0,0,.12) 100%
  );
  pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hpg-sticky           { grid-template-columns: 330px 1fr; }
  .hpg-left             { padding: 0 2rem; padding-top: var(--header-total-h); }
  .hpg-heading          { font-size: 2rem; }
  .hpg-title            { font-size: 1.5rem; }
}

@media (max-width: 768px) {
  .hpg-sticky {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .hpg-left {
    padding: 0 1.25rem;
    padding-top: var(--header-total-h);
    flex-direction: column;
    justify-content: flex-start;
  }
  .hpg-left::after      { display: none; }
  .hpg-zone-top         { padding-top: 1rem; padding-bottom: 1rem; border-bottom: none; }
  .hpg-label            { display: none; }
  .hpg-heading          { font-size: 1.35rem; margin-bottom: .5rem; }
  .hpg-divider          { display: none; }
  .hpg-zone-body        { flex: none; padding: .75rem 0 .5rem; }
  .hpg-title            { font-size: 1rem; margin-bottom: .35rem; }
  .hpg-desc             { display: none; }
  .hpg-current          { font-size: 1.4rem; }
  .hpg-zone-bottom      { padding-top: .75rem; padding-bottom: .75rem; border-top: 1px solid rgba(255,255,255,.07); }
  .hpg-progress-bar     { margin-bottom: .75rem; }
  .hpg-dot              { width: 16px; }
  .hpg-dot.active       { width: 28px; }
  .hpg-right            { margin: 0 .5rem .5rem; border-radius: 10px; }
}

@media (max-width: 480px) {
  .hpg-heading          { font-size: 1.15rem; }
  .hpg-title            { font-size: .9rem; }
  .hpg-current          { font-size: 1.2rem; }
  .hpg-cta              { font-size: .7rem; padding: .45rem .9rem; }
}

/* ============================================================
   CLIENTS SLIDER
   ============================================================ */
.clients { padding-block: 4rem; background: #f7f7f5; }

.serving-globe-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 2rem;
  background: var(--black);
  color: var(--white);
  border-top: 4px solid var(--yellow);
  padding: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 3rem;
  overflow: hidden;
  position: relative;
}
.serving-globe-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 16%, rgba(255,255,255,.82) 0 1px, transparent 1.8px),
    radial-gradient(circle at 16% 78%, rgba(255,255,255,.45) 0 1px, transparent 1.8px),
    radial-gradient(circle at 34% 24%, rgba(255,255,255,.55) 0 1px, transparent 1.8px),
    radial-gradient(circle at 46% 86%, rgba(255,255,255,.36) 0 1px, transparent 1.8px),
    radial-gradient(circle at 61% 18%, rgba(255,255,255,.64) 0 1px, transparent 1.8px),
    radial-gradient(circle at 76% 72%, rgba(255,255,255,.42) 0 1px, transparent 1.8px),
    radial-gradient(circle at 91% 31%, rgba(255,255,255,.55) 0 1px, transparent 1.8px),
    radial-gradient(circle at 96% 84%, rgba(255,255,255,.32) 0 1px, transparent 1.8px),
    linear-gradient(120deg, rgba(255,205,17,.13), transparent 34%),
    radial-gradient(ellipse at 88% 18%, rgba(112,104,255,.18), transparent 24%),
    radial-gradient(circle at 82% 46%, rgba(73,190,255,.24), transparent 40%),
    radial-gradient(circle at 78% 58%, rgba(37,211,102,.12), transparent 34%);
  pointer-events: none;
}
.universe-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.space-planet,
.shooting-star {
  position: absolute;
  display: block;
  pointer-events: none;
}
.space-planet {
  border-radius: 50%;
  opacity: .72;
  filter: blur(.1px);
}
.space-planet-1 {
  width: 38px;
  height: 38px;
  right: 10%;
  top: 13%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.85), transparent 18%),
    radial-gradient(circle at 62% 64%, #6a8dff, #26386f 68%, #10182e);
  box-shadow: 0 0 26px rgba(106,141,255,.32);
}
.space-planet-1::after {
  content: '';
  position: absolute;
  left: -13px;
  top: 16px;
  width: 64px;
  height: 9px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%;
  transform: rotate(-16deg);
}
.space-planet-2 {
  width: 18px;
  height: 18px;
  left: 43%;
  bottom: 18%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.9), transparent 20%),
    radial-gradient(circle at 60% 62%, #ffcd11, #7e5f08 72%);
  box-shadow: 0 0 18px rgba(255,205,17,.24);
}
.shooting-star {
  width: 115px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), rgba(37,211,102,.8), transparent);
  border-radius: 999px;
  opacity: 0;
  transform: rotate(-22deg);
  animation: shooting-star-flight 4.8s linear infinite;
}
.shooting-star::before {
  content: '';
  position: absolute;
  right: 30px;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 16px rgba(255,255,255,.9), 0 0 24px rgba(37,211,102,.7);
}
.shooting-star-1 { left: 12%; top: 16%; animation-delay: .2s; }
.shooting-star-2 { left: 42%; top: 28%; animation-delay: 1.9s; animation-duration: 5.6s; }
.shooting-star-3 { left: 66%; top: 76%; animation-delay: 3.4s; animation-duration: 6.2s; }
@keyframes shooting-star-flight {
  0% { opacity: 0; transform: translate3d(140px, -70px, 0) rotate(-22deg); }
  8% { opacity: .95; }
  42% { opacity: .9; }
  72% { opacity: 0; transform: translate3d(-320px, 160px, 0) rotate(-22deg); }
  100% { opacity: 0; transform: translate3d(-320px, 160px, 0) rotate(-22deg); }
}
.serving-globe-copy,
.serving-globe-visual { position: relative; z-index: 3; }
.serving-globe-kicker {
  display: inline-block;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: .85rem;
}
.serving-globe-heading {
  max-width: 620px;
  font-size: clamp(1.45rem, 2.8vw, 2.45rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1rem;
}
.serving-globe-text {
  max-width: 62ch;
  color: rgba(255,255,255,.68);
  font-size: .96rem;
  line-height: 1.75;
}
.serving-country-list {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.serving-country-list span {
  border: 1px solid rgba(255,255,255,.22);
  color: var(--white);
  background: rgba(255,255,255,.06);
  padding: .48rem .75rem;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.serving-globe-visual {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
}
.real-globe-wrap {
  width: min(100%, 440px);
  aspect-ratio: 1;
  position: relative;
  cursor: grab;
  filter:
    drop-shadow(0 26px 42px rgba(0,0,0,.52))
    drop-shadow(0 0 24px rgba(65,176,255,.30));
  transform: rotateX(var(--globe-rotate-y, 2deg)) rotateY(var(--globe-rotate-x, 0deg)) translateY(var(--globe-lift, 0));
  transform-style: preserve-3d;
  transition: transform .18s ease-out;
  user-select: none;
  touch-action: none;
}
.real-globe-wrap.globe-dragging {
  cursor: grabbing;
  transition: none;
}
.serving-globe-map {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.serving-globe-labels {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.serving-globe-label {
  position: absolute;
  transform: translate(-50%, -100%);
  white-space: nowrap;
  background: rgba(7,12,14,.88);
  border: 1px solid rgba(37,211,102,.45);
  color: var(--white);
  padding: .3rem .5rem;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0,0,0,.34), 0 0 14px rgba(37,211,102,.16);
  opacity: 0;
  transition: opacity .18s ease;
}
.serving-globe-label.visible { opacity: 1; }

.clients-slider-wrap {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}
.clients-slider-wrap::before,
.clients-slider-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  z-index: 2;
  pointer-events: none;
}
.clients-slider-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,.96) 48%, rgba(255,255,255,0) 100%);
}
.clients-slider-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255,255,255,.96) 48%, rgba(255,255,255,0) 100%);
}
.clients-slider-track {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  width: max-content;
}
.client-logo-item {
  width: 238px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .8rem;
  box-sizing: border-box;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: all var(--t);
  flex: 0 0 auto;
  overflow: hidden;
}
.client-logo-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  background: transparent;
  filter: saturate(.99) contrast(1.02);
  transition: filter var(--t), opacity var(--t), transform var(--t);
}
.client-logo-item:hover {
  transform: translateY(-2px);
}
.client-logo-item:hover img {
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding-block: 6rem; background: var(--black); }
.testimonials .section-heading { color: var(--white); }
.testimonials .section-label { background: transparent; border: 1px solid var(--yellow); color: var(--yellow); }

.testimonials-slider { position: relative; min-height: 260px; }
.testimonial-card { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.testimonial-card.active { opacity: 1; pointer-events: auto; position: relative; }

.testimonial-quote { max-width: 820px; margin: 0 auto 2rem; }
.testimonial-quote p {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500; color: var(--white);
  line-height: 1.7; font-style: italic; text-align: center; position: relative;
}
.testimonial-quote p::before {
  content: '\201C'; font-size: 5rem; color: var(--yellow); line-height: 0;
  vertical-align: -.55em; margin-right: 4px; font-style: normal; font-weight: 900;
}

.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--yellow); }
.testimonial-avatar-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--black);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  flex-shrink: 0;
}
.testimonial-name    { display: block; font-size: 1rem; font-weight: 900; color: var(--white); font-style: normal; }
.testimonial-company { display: block; font-size: .8rem; color: rgba(255,255,255,.45); }

.testimonials-controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; }
.testimonial-prev, .testimonial-next {
  width: 44px; height: 44px; border: 2px solid rgba(255,255,255,.2);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all var(--t);
}
.testimonial-prev:hover, .testimonial-next:hover { border-color: var(--yellow); color: var(--yellow); }

.testimonials-dots { display: flex; gap: 8px; }
.testimonial-dot { width: 22px; height: 3px; background: rgba(255,255,255,.18); cursor: pointer; transition: all var(--t); }
.testimonial-dot.active { background: var(--yellow); width: 34px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { padding-block: 4.5rem; background: var(--yellow); }

.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-heading { font-size: clamp(1.4rem, 2.5vw, 2.2rem); font-weight: 900; color: var(--black); line-height: 1.2; }
.cta-subtext { font-size: .95rem; color: rgba(0,0,0,.6); margin-top: .6rem; }
.cta-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cta-phone-link { display: flex; align-items: center; gap: .75rem; }
.cta-phone-icon { font-size: 1.4rem; }
.cta-phone-number { font-size: 1.5rem; font-weight: 900; color: var(--black); }
.btn-cta.btn-dark { background: var(--black); color: var(--yellow); border-color: var(--black); }
.btn-cta.btn-dark:hover { background: var(--dark); }
.btn-cta.btn-outline { border-color: var(--black); color: var(--black); }
.btn-cta.btn-outline:hover { background: var(--black); color: var(--yellow); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--black); }

.footer-top { padding-block: 4.5rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3.5rem; align-items: start; }
.footer-brand,
.footer-col { min-width: 0; }

.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
  /* transparent PNG on black bg — no extra background needed */
}
.footer-tagline { font-size: .82rem; color: #B0B0B0; line-height: 1.75; margin-top: 1rem; max-width: 32ch; }

.footer-col-heading { font-size: .65rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1.25rem; }
.footer-link-list { display: flex; flex-direction: column; gap: .75rem; }
.footer-link { display: inline-block; max-width: 100%; font-size: .84rem; color: #B0B0B0; transition: color var(--t); overflow-wrap: anywhere; }
.footer-link:hover { color: var(--yellow); }

.footer-address  { font-size: .84rem; color: #B0B0B0; line-height: 1.75; margin-bottom: 1rem; overflow-wrap: anywhere; }
.footer-contact-link { display: block; width: fit-content; max-width: 100%; font-size: .84rem; color: #B0B0B0; transition: color var(--t); margin-bottom: .5rem; overflow-wrap: anywhere; }
.footer-contact-link:hover { color: var(--yellow); }
.footer-proprietor { display: block; font-size: .8rem; color: #B0B0B0; margin-top: 1rem; font-weight: 700; }

.footer-mask-relative {
  position: relative;
  min-height: clamp(140px, 17vw, 270px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: var(--black);
  --footer-mask-x: 50%;
  --footer-mask-y: 50%;
}
.footer-brand-mask-base,
.footer-brand-mask-reveal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: clamp(1.8rem, 5vw, 5.5rem);
  white-space: nowrap;
  overflow: hidden;
  font-size: clamp(2.35rem, 9.55vw, 11.65rem);
  line-height: .8;
  letter-spacing: 0;
  font-weight: 1000;
  text-transform: uppercase;
  font-family: var(--font);
  user-select: none;
  pointer-events: none;
}
.footer-brand-mask-base {
  color: rgba(255,255,255,.035);
}
.footer-brand-mask-reveal {
  z-index: 1;
  color: rgba(255,255,255,.64);
  text-shadow: 0 0 34px rgba(255,255,255,.16);
  -webkit-mask-image: radial-gradient(circle at var(--footer-mask-x, 50%) var(--footer-mask-y, 50%), #000 150px, transparent 300px);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-image: radial-gradient(circle at var(--footer-mask-x, 50%) var(--footer-mask-y, 50%), #000 150px, transparent 300px);
  mask-repeat: no-repeat;
  mask-size: cover;
}

.footer-bottom { padding-block: 1.25rem; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-copy, .footer-credit { font-size: .72rem; color: #777777; }
.footer-credit-link { color: var(--yellow); transition: opacity var(--t); }
.footer-credit-link:hover { opacity: .8; text-decoration: underline; }

/* ============================================================
   QUICK CONTACT FLOAT
   ============================================================ */
.whatsapp-float,
.phone-float,
.email-float {
  position: fixed; left: 1.5rem; z-index: 900;
  width: 62px; height: 62px; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 1.4rem;
  border: 2px solid var(--yellow);
  transition: all var(--t);
}
.whatsapp-float::before,
.phone-float::before,
.email-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(255,204,0,.34);
  opacity: .2;
  animation: quickFloatGlow 2.4s ease infinite;
}
.whatsapp-float::before { border-color: rgba(37,211,102,.42); }
.phone-float::before { border-color: rgba(255,204,0,.34); }
.email-float::before { border-color: rgba(15,102,194,.38); }
.whatsapp-float {
  left: 11.3rem; bottom: 1.5rem; background: var(--green); border-color: var(--green);
  box-shadow: 0 12px 32px rgba(37,211,102,.32), inset 0 0 0 4px rgba(255,255,255,.08);
  animation: wa-pulse 2.5s ease infinite;
}
.phone-float {
  left: 6.4rem; bottom: 1.5rem; background: var(--yellow); color: var(--black);
  box-shadow: 0 12px 32px rgba(255,204,0,.32), inset 0 0 0 4px rgba(255,204,0,.08);
}
.email-float {
  left: 1.5rem; bottom: 1.5rem; background: #0f66c2; border-color: #0f66c2;
  box-shadow: 0 12px 32px rgba(15,102,194,.32), inset 0 0 0 4px rgba(255,255,255,.08);
}
.whatsapp-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 16px 36px rgba(37,211,102,.42), inset 0 0 0 4px rgba(255,255,255,.1); }
.phone-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 16px 36px rgba(255,204,0,.42), inset 0 0 0 4px rgba(255,204,0,.1); }
.email-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 16px 36px rgba(15,102,194,.42), inset 0 0 0 4px rgba(255,255,255,.1); }
.whatsapp-float-icon,
.quick-float-icon {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--black);
  border-radius: 50%;
}
.whatsapp-float-icon .whatsapp-mark { width: 32px; height: 32px; }
.email-mark {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}
.quick-float-icon { font-size: 1.35rem; line-height: 1; }
.email-float .quick-float-icon { font-size: 0; }
.phone-float .quick-float-icon {
  font-size: 0;
}
.phone-mark {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(37,211,102,.32), inset 0 0 0 4px rgba(255,255,255,.08); }
  50% { box-shadow: 0 16px 36px rgba(37,211,102,.42), inset 0 0 0 4px rgba(255,255,255,.12); }
}
@keyframes quickFloatGlow {
  0%, 100% { transform: scale(.92); opacity: .2; }
  50% { transform: scale(1.08); opacity: .62; }
}

/* ============================================================
   IMAGE ERROR FALLBACK
   ============================================================ */
img.img-error { opacity: .25; }

/* ============================================================
   PAGE HERO — inner pages
   ============================================================ */
.page-hero {
  position: relative; min-height: 220px;
  display: flex; align-items: center; overflow: hidden;
  background: var(--black);
}
.page-hero-short { min-height: 180px; }

.page-hero-background {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d1a0d 0%, #0a1520 50%, #1a1210 100%);
}
.page-hero-bg-image {
  width: 100%; height: 100%; object-fit: cover;
  color: transparent;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.72) 100%);
}

.page-hero-content { position: relative; z-index: 1; padding-block: 2rem; }
.page-hero-heading { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: .6rem; }
.page-hero-heading em { color: var(--yellow); }
.page-hero-subtext { font-size: .92rem; color: rgba(255,255,255,.65); max-width: 55ch; }

/* Breadcrumb */
.breadcrumb { margin-bottom: 1.25rem; }
.breadcrumb-list { display: flex; align-items: center; gap: .5rem; }
.breadcrumb-item, .breadcrumb-separator { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.breadcrumb-link { color: rgba(255,255,255,.4); transition: color var(--t); }
.breadcrumb-link:hover { color: var(--yellow); }
.breadcrumb-current { color: var(--yellow); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro { padding-block: 6rem; background: #F8F8F8; }
.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 4vw, 5rem);
  align-items: start;
}
.about-intro-content,
.video-gallery { min-width: 0; max-width: 100%; }

.about-intro-text { font-size: 1.04rem; color: var(--gray-dark); line-height: 1.8; margin-bottom: 1.25rem; }

.about-proprietor-card {
  background: var(--white);
  padding: 1.75rem 2rem;
  margin-top: 2rem;
  border-left: 4px solid var(--yellow);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  border-radius: 0 6px 6px 0;
}
.proprietor-names {
  display: flex; align-items: center; gap: .75rem;
  flex-wrap: wrap; margin-bottom: .75rem;
}
.proprietor-name  { font-size: 1.1rem; font-weight: 900; color: var(--dark); }
.proprietor-divider {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(17,17,17,.45);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.proprietor-divider::before,
.proprietor-divider::after {
  content: '';
  width: 22px;
  height: 1px;
  background: rgba(17,17,17,.18);
}
.proprietor-desc  { font-size: .82rem; color: var(--gray); line-height: 1.65; }

.about-image-primary img  { width: 100%; height: 380px; object-fit: cover; }
.about-image-secondary    { margin-top: 1rem; }
.about-image-secondary img { width: 100%; height: 220px; object-fit: cover; }

.video-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-content: start;
  width: 100%;
}
.video-showcase {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  min-height: 420px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background: #111111;
  box-shadow: 0 22px 54px rgba(17,17,17,.24);
  isolation: isolate;
  transform: translateZ(0);
}
.video-thumbnail { min-width: 0; }
.about-main-video,
.video-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-main-video {
  opacity: 1;
  transition: opacity .3s ease;
  will-change: opacity;
}
.video-showcase.video-fading .about-main-video { opacity: 0; }
.video-showcase::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(17,17,17,0), rgba(17,17,17,.82));
  z-index: 1;
  pointer-events: none;
}
.video-since-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  padding: .45rem .75rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #FFFFFF;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.video-overlay {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.1rem;
  z-index: 3;
}
.video-caption {
  color: #FFFFFF;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: .01em;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.video-thumbnail {
  position: relative;
  height: 132px;
  overflow: hidden;
  border-radius: 12px;
  border: 3px solid transparent;
  background: #111111;
  box-shadow: 0 12px 26px rgba(17,17,17,.14);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  transform: translateZ(0);
}
.video-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,.08), rgba(17,17,17,.7));
  pointer-events: none;
}
.video-thumbnail:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(17,17,17,.18);
}
.video-thumbnail.active {
  border-color: #FFC107;
  box-shadow: 0 18px 36px rgba(255,193,7,.22), 0 14px 28px rgba(17,17,17,.16);
}
.video-thumbnail-label {
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .75rem;
  z-index: 2;
  color: #FFFFFF;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: left;
}
.certificates-area {
  grid-column: 1 / -1;
  margin-top: 1rem;
}
.certificates-heading {
  margin-bottom: 1.1rem;
  color: #111111;
  font-size: 1.15rem;
  letter-spacing: 0;
  text-align: center;
}
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 320px));
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
}
.certificate-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  min-height: 245px;
  padding: 1.15rem;
  border-radius: 12px;
  border-left: 4px solid #FFC107;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(17,17,17,.08);
  transition: transform .22s ease, box-shadow .22s ease;
  cursor: default;
}
.certificate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(17,17,17,.12);
}
.certificate-preview {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1 1 auto;
  min-height: 150px;
  margin-bottom: .9rem;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%);
  border: 1px solid rgba(17,17,17,.08);
}
.certificate-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}
.certificate-preview.has-certificate img { opacity: 1; }
.certificate-preview.has-certificate span { opacity: 0; }
.certificate-preview span {
  color: #111111;
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.certificate-card p {
  color: var(--gray);
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
  text-align: center;
}

.about-intro-content.about-reveal-ready,
.video-gallery.about-reveal-ready,
.certificate-card.about-reveal-ready {
  opacity: 0;
  transition: opacity .65s ease, transform .65s ease;
  will-change: opacity, transform;
}
.about-intro-content.about-reveal-ready { transform: translate3d(-34px, 0, 0); }
.video-gallery.about-reveal-ready { transform: translate3d(34px, 0, 0); }
.certificate-card.about-reveal-ready { transform: translate3d(0, 24px, 0); }
.about-intro-content.about-revealed,
.video-gallery.about-revealed,
.certificate-card.about-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Mission Vision Values */
.mission-vision { padding-block: 6rem; background: var(--gray-bg); }
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.mvv-card {
  background: var(--white); padding: 2.25rem;
  border-top: 4px solid transparent; transition: all var(--t);
}
.mvv-card:hover { border-top-color: var(--yellow); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.mvv-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
  border: 1px solid rgba(199,38,46,.22);
  background: linear-gradient(135deg, #C7262E 0%, #111111 100%);
  box-shadow: 0 14px 28px rgba(199,38,46,.18);
}
.mvv-icon img { width: 28px; height: 28px; filter: none; opacity: .96; }
.mvv-title { font-size: 1.15rem; font-weight: 900; color: var(--dark); margin-bottom: 1rem; }
.mvv-text  { font-size: .88rem; color: var(--gray); line-height: 1.8; }
.mvv-values-list { display: flex; flex-direction: column; gap: .75rem; }
.mvv-values-item { font-size: .88rem; color: var(--gray); padding-left: 1rem; border-left: 2px solid var(--yellow); line-height: 1.6; }

/* Facility */
.facility { padding-block: 6rem; background: var(--white); }
.facility-gallery {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: auto; gap: 1rem; margin-bottom: 3rem;
}
.facility-image-main,
.facility-image-sm { min-width: 0; overflow: hidden; background: #f5f5f5; }
.facility-image-main { grid-column: span 2; }
.facility-image-main img,
.facility-image-sm img {
  display: block;
  width: 100%;
  height: 320px;
}
.facility-image-main img { height: clamp(320px, 28vw, 420px); object-fit: cover; }
.facility-image-sm img { object-fit: cover; }
.facility-image-sm:last-child { grid-column: span 2; }
.facility-image-sm:last-child img { height: clamp(320px, 30vw, 430px); }
.facility-image-sm img.facility-image-top-view { object-fit: cover; object-position: center center; background: transparent; }
.facility-image-sm img.facility-image-full-view { object-fit: contain; object-position: center center; background: #f5f5f5; }
.facility-image-sm img.facility-image-vessel-loading { object-fit: cover; object-position: center 66%; }

/* Timeline */
.timeline { padding-block: 6rem; background: var(--gray-bg); }

.timeline-list {
  position: relative; max-width: 860px; margin: 0 auto;
  display: flex; flex-direction: column;
}
.timeline-list::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: rgba(0,0,0,.1); transform: translateX(-50%);
}
.timeline-item {
  display: grid; grid-template-columns: 1fr 40px 1fr;
  gap: 1.5rem; margin-bottom: 3rem; position: relative;
}
.timeline-item:nth-child(odd)  .timeline-content { grid-column: 1; grid-row: 1; text-align: right; }
.timeline-item:nth-child(odd)  .timeline-marker  { grid-column: 2; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-content { grid-column: 3; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-marker  { grid-column: 2; grid-row: 1; }
.timeline-marker {
  width: 16px; height: 16px; background: var(--yellow);
  border: 3px solid var(--dark); border-radius: 50%;
  margin-top: 6px; justify-self: center; position: relative; z-index: 1;
}
.timeline-year        { display: inline-block; font-size: 2rem; font-weight: 900; color: var(--yellow); line-height: 1; }
.timeline-event-title { font-size: 1.05rem; font-weight: 900; color: var(--dark); margin-top: .4rem; margin-bottom: .4rem; }
.timeline-event-desc  { font-size: .85rem; color: var(--gray); line-height: 1.75; }

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.products-filter-bar {
  background: var(--dark); padding-block: 1rem;
  position: sticky; top: var(--header-total-h); z-index: 50;
  border-bottom: 3px solid var(--yellow);
}
.products-filter-inner { display: flex; gap: .6rem; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 18px; font-size: .68rem; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.1);
  transition: all var(--t); cursor: pointer;
}
.filter-btn.active, .filter-btn:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }

.products-listing { padding-block: 5rem; }
body.page-products .products-listing {
  padding-top: 0;
}
body.page-products .product-detail-block:first-child {
  padding-top: 3rem;
}

.product-detail-block { padding-block: 4.5rem; border-bottom: 1px solid rgba(0,0,0,.07); }
.product-detail-block:last-child { border-bottom: none; }
.product-detail-block-alt { background: var(--gray-bg); }

.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.product-detail-grid-reverse > :first-child { order: 2; }
.product-detail-grid-reverse > :last-child  { order: 1; }

.product-detail-image-wrap { position: relative; overflow: hidden; }
.product-detail-image { width: 100%; height: 380px; object-fit: cover; }
.product-detail-image-frame-4x3 {
  aspect-ratio: 4 / 3;
}
.product-detail-image-frame-4x3 .product-detail-image {
  height: 100%;
  object-fit: cover;
}
.product-detail-image-contain {
  background: #f4f4f4;
}
.product-detail-image-contain .product-detail-image {
  object-fit: contain;
  object-position: center;
}
.product-detail-image-portrait .product-detail-image {
  height: 560px;
}
.product-detail-badge {
  position: absolute; top: 1rem; left: 0;
  background: var(--yellow); color: var(--black);
  font-size: .65rem; font-weight: 900; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 12px;
}

.product-detail-category {
  display: inline-block; background: var(--dark); color: var(--yellow);
  font-size: .65rem; font-weight: 900; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 10px; margin-bottom: 1rem;
}
.product-detail-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; color: var(--dark); margin-bottom: 1.25rem; }
.product-detail-desc  { font-size: 1.06rem; color: var(--gray-dark); line-height: 1.85; margin-bottom: 1.85rem; }

.product-spec-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.product-spec-item {
  font-size: .98rem; color: var(--gray-dark); padding: .82rem 1.05rem;
  background: var(--white); border-left: 3px solid var(--yellow); line-height: 1.5;
}
.product-detail-block-alt .product-spec-item { background: var(--white); }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-filter-bar {
  background: var(--dark); padding-block: 1rem;
  position: sticky; top: var(--header-total-h); z-index: 50;
  border-bottom: 3px solid var(--yellow);
}
.gallery-filter-inner { display: flex; gap: .6rem; flex-wrap: wrap; }
.gallery-filter-btn {
  padding: 8px 18px; font-size: .68rem; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.1);
  transition: all var(--t); cursor: pointer;
}
.gallery-filter-btn.active, .gallery-filter-btn:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }

.gallery-section { padding-block: 5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 1rem;
}

/* Gallery items */
.gallery-item {
  position: relative; overflow: hidden; cursor: pointer;
  transition: all var(--t);
}
.gallery-item.gallery-item-hidden { display: none; }
.gallery-item-large,
.gallery-item-wide   { grid-column: span 1; grid-row: span 1; }

.gallery-image {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease;
}
.gallery-item:hover .gallery-image { transform: scale(1.06); }

.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, transparent 100%);
  padding: 1.5rem 1rem .75rem;
  color: var(--white); font-size: .72rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: .06em;
  transition: opacity var(--t);
}

/* Lightbox trigger button */
.gallery-lightbox-trigger {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  transition: opacity var(--t); color: var(--yellow); font-size: 1.8rem;
}
.gallery-item:hover .gallery-lightbox-trigger { opacity: 1; }
.gallery-item:hover .gallery-lightbox-trigger::after { content: '⊕'; }

/* Lightbox modal */
.gallery-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
}
.gallery-lightbox[hidden] { display: none; }

.lightbox-overlay { position: absolute; inset: 0; background: #000; cursor: pointer; }

.lightbox-container {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 1rem;
  max-width: 90vw; max-height: 92vh;
}
.lightbox-figure {
  display: flex; flex-direction: column; align-items: center;
  max-width: 80vw;
  background: #000;
}
.lightbox-image { max-width: 100%; max-height: 80vh; object-fit: contain; display: block; background: #000; opacity: 1; }
.lightbox-caption { margin-top: .75rem; font-size: .82rem; color: rgba(255,255,255,.6); font-weight: 600; text-align: center; }

.lightbox-close {
  position: fixed; top: 1.5rem; right: 1.5rem; z-index: 2;
  width: 44px; height: 44px;
  background: var(--yellow); color: var(--black);
  font-size: 1.1rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
}
.lightbox-close:hover { background: var(--white); }

.lightbox-prev, .lightbox-next {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--dark-2); border: 2px solid rgba(255,255,255,.2);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; transition: all var(--t); cursor: pointer;
}
.lightbox-prev:hover, .lightbox-next:hover { border-color: var(--yellow); color: var(--yellow); }

body.lightbox-open { overflow: hidden; }

/* ============================================================
   APPLICATIONS PAGE
   ============================================================ */
.applications-listing { padding-block: 5rem; background: var(--white); }

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

.application-full-card {
  background: var(--white); border: 1px solid rgba(0,0,0,.08);
  overflow: hidden; transition: all var(--t); cursor: default;
}
.application-full-card:hover, .application-full-card.card-hovered {
  transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent;
}
.application-full-image-wrap { overflow: hidden; }
.application-full-image { width: 100%; height: 210px; object-fit: cover; transition: transform .55s ease; }
.application-full-card:hover .application-full-image { transform: scale(1.05); }

.application-full-content { padding: 1.75rem; }
.application-full-title { font-size: 1.08rem; font-weight: 900; color: var(--dark); margin-bottom: .6rem; }
.application-full-desc  { font-size: .84rem; color: var(--gray); line-height: 1.7; margin-bottom: 1rem; }

.application-products-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.application-product-link {
  font-size: .65rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  color: var(--yellow); background: var(--dark); padding: 3px 9px;
  transition: all var(--t); display: inline-block;
}
.application-product-link:hover { background: var(--yellow); color: var(--black); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-strip { background: var(--dark); padding-block: 0; }
.contact-strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.06);
}
.contact-strip-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.5rem; background: var(--dark);
  min-width: 0;
}
.contact-strip-info { min-width: 0; }
.contact-strip-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-strip-label { display: block; font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.contact-strip-value { display: block; font-size: .88rem; font-weight: 700; color: var(--white); transition: color var(--t); overflow-wrap: anywhere; }
.contact-strip-value + .contact-strip-value { margin-top: .28rem; }
a.contact-strip-value:hover { color: var(--yellow); }

.contact-main { padding-block: 4rem; background: var(--white); }
.contact-main-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 3.5rem; align-items: start; }

.contact-form-header { margin-bottom: 2.25rem; }
.contact-form-subtext { font-size: .95rem; color: var(--gray); line-height: 1.7; margin-top: .6rem; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }

.form-label { font-size: .8rem; font-weight: 800; color: var(--dark); letter-spacing: .03em; text-transform: uppercase; }
.form-required { color: var(--error); }

.form-input {
  padding: 12px 15px; border: 2px solid rgba(0,0,0,.12);
  font-size: .9rem; color: var(--dark); background: var(--white);
  transition: border-color var(--t); outline: none;
  border-radius: 0; -webkit-appearance: none; appearance: none;
  width: 100%;
}
.form-input:focus { border-color: var(--dark); }
.form-input.form-input-error { border-color: var(--error); }

.form-textarea { resize: vertical; min-height: 140px; }
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath stroke='%23333' stroke-width='2' fill='none' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 38px;
}

.form-error { font-size: .75rem; color: var(--error); font-weight: 600; }
.form-botcheck { display: none; }

.form-checkbox-group { flex-direction: row; align-items: flex-start; gap: .75rem; }
.form-checkbox-label { display: flex; align-items: flex-start; gap: .75rem; cursor: pointer; }
.form-checkbox { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; accent-color: var(--yellow); }
.form-checkbox-text { font-size: .84rem; color: var(--gray); line-height: 1.6; }

.form-submit-row { margin-top: .5rem; }
.btn-form-submit { width: 100%; justify-content: center; padding: 15px 24px; font-size: .85rem; }

.form-success-message {
  background: #e8f5e8; border: 1px solid #b2d8b2;
  color: var(--success); padding: 1.25rem;
  font-size: .88rem; font-weight: 700;
}
.form-success-message.form-error-message {
  background: #fff0f0;
  border-color: #f1b4b4;
  color: var(--error);
}

/* Contact sidebar */
.contact-info-card {
  background: var(--gray-bg); padding: 1.65rem 1.75rem;
  border-top: 4px solid var(--yellow); margin-bottom: 1.5rem;
}
.contact-info-card-heading {
  font-size: .82rem; font-weight: 900; color: var(--dark);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.15rem;
}
.contact-info-list  { display: flex; flex-direction: column; }
.contact-info-item  { display: grid; grid-template-columns: 128px 1fr; gap: .9rem; padding-block: .62rem; border-bottom: 1px solid rgba(0,0,0,.06); align-items: baseline; }
.contact-info-label { font-size: .68rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; color: var(--gray-mid); }
.contact-info-value { font-size: .92rem; color: var(--dark); font-weight: 600; line-height: 1.55; }
.contact-info-link  { color: var(--dark); transition: color var(--t); }
.contact-info-link:hover { color: var(--yellow); }

.contact-whatsapp-card { background: var(--dark); padding: 1.75rem; margin-bottom: 1.5rem; }
.whatsapp-card-heading { font-size: .88rem; font-weight: 900; color: var(--white); margin-bottom: .6rem; }
.whatsapp-card-text    { font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: 1.25rem; line-height: 1.6; }
.contact-quick-actions { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.btn-whatsapp-large,
.btn-contact-action    { width: 100%; justify-content: center; }

.contact-map-card {
  background: var(--gray-bg);
  border: 1px solid rgba(0,0,0,.08);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.contact-map-card-form {
  margin-top: 2rem;
  margin-bottom: 0;
}
.contact-map-heading {
  font-size: .72rem;
  font-weight: 900;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .6rem;
}
.contact-map-address {
  font-size: .82rem;
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.contact-map-card .map-embed-wrap {
  height: 260px !important;
  border: 1px solid rgba(0,0,0,.1);
}
.contact-map-card-form .map-embed-wrap {
  height: 360px !important;
}

.contact-visiting-card-frame {
  aspect-ratio: 7 / 4;
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
  background: var(--white);
}
.contact-visiting-card-file {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.btn-visiting-card-catalogue {
  margin-top: 18px;
}

.contact-faq-card { background: var(--white); border: 1px solid rgba(0,0,0,.09); padding: 1.75rem; }
.faq-card-heading { font-size: .72rem; font-weight: 900; color: var(--dark); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.5rem; }

.faq-item { border-bottom: 1px solid rgba(0,0,0,.07); }
.faq-question {
  width: 100%; text-align: left; padding-block: 1rem;
  font-size: .86rem; font-weight: 800; color: var(--dark);
  display: flex; justify-content: space-between; align-items: center;
  gap: .75rem; cursor: pointer; transition: color var(--t);
}
.faq-question::after { content: '+'; font-size: 1.3rem; font-weight: 900; color: var(--yellow); flex-shrink: 0; }
.faq-question[aria-expanded="true"]::after, .faq-item.faq-open .faq-question::after { content: '−'; }
.faq-question:hover { color: var(--yellow); }
.faq-answer { padding-bottom: 1rem; }
.faq-answer p { font-size: .84rem; color: var(--gray); line-height: 1.75; }

/* ============================================================
   SMART CHATBOT
   ============================================================ */
.chatbot-widget {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 920;
  font-family: inherit;
  width: min(370px, calc(100vw - 2rem));
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.chatbot-toggle {
  position: relative;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.22), transparent 30%),
    linear-gradient(145deg, #1b1d1f 0%, #050607 68%);
  color: var(--black);
  border: 2px solid var(--yellow);
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(255,204,0,.32), inset 0 0 0 4px rgba(255,204,0,.08);
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t);
  pointer-events: auto;
}
.chatbot-toggle:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 16px 36px rgba(255,204,0,.42); }
.chatbot-toggle-icon {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  overflow: visible;
}
.chatbot-support-mark {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}
.chatbot-avatar .chatbot-support-mark {
  width: 26px;
  height: 26px;
}
.chatbot-toggle-pulse {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(255,204,0,.34);
  border-radius: inherit;
  animation: chatbotPulse 2.2s ease infinite;
}
@keyframes chatbotPulse {
  0%, 100% { transform: scale(.92); opacity: .2; }
  50% { transform: scale(1.08); opacity: .62; }
}
.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 4.4rem;
  width: min(370px, calc(100vw - 2rem));
  background: #080b0d;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 22px 58px rgba(0,0,0,.5);
  opacity: 0;
  transform: translateY(14px) scale(.96);
  transform-origin: bottom right;
  pointer-events: none;
  overflow: hidden;
  transition: opacity .22s ease, transform .22s ease;
}
.chatbot-open .chatbot-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.chatbot-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(255,204,0,.16), transparent 56%),
    #111417;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.chatbot-header-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}
.chatbot-avatar {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--white);
  border: 2px solid rgba(255,204,0,.82);
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
}
.chatbot-avatar img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}
.chatbot-kicker {
  display: block;
  font-size: .62rem;
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.chatbot-title {
  font-size: .9rem;
  line-height: 1.35;
  color: var(--white);
  font-weight: 900;
}
.chatbot-close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.08);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.chatbot-close:hover { background: var(--yellow); color: var(--black); }
.chatbot-messages {
  height: 280px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), transparent),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 64px);
}
.chatbot-message {
  max-width: 88%;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.chatbot-message p {
  padding: .72rem .82rem;
  font-size: .82rem;
  line-height: 1.55;
  margin: 0;
}
.chatbot-message-bot { align-self: flex-start; }
.chatbot-message-bot p {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  border-left: 3px solid var(--yellow);
}
.chatbot-typing p {
  display: inline-flex;
  gap: .3rem;
  align-items: center;
  min-width: 58px;
}
.chatbot-typing span {
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: .35;
  animation: chatbotTyping 1s ease infinite;
}
.chatbot-typing span:nth-child(2) { animation-delay: .15s; }
.chatbot-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatbotTyping {
  0%, 100% { transform: translateY(0); opacity: .32; }
  50% { transform: translateY(-4px); opacity: 1; }
}
.chatbot-message-user { align-self: flex-end; }
.chatbot-message-user p {
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
}
.chatbot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.chatbot-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .48rem .62rem;
  background: rgba(255,204,0,.12);
  border: 1px solid rgba(255,204,0,.42);
  color: var(--yellow);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background var(--t), color var(--t);
}
.chatbot-action:hover { background: var(--yellow); color: var(--black); }
.chatbot-chips {
  display: flex;
  gap: .5rem;
  padding: .75rem 1rem;
  overflow-x: auto;
  max-width: 100%;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #0d1012;
}
.chatbot-chip {
  flex: 0 0 auto;
  padding: .48rem .62rem;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.74);
  border: 1px solid rgba(255,255,255,.1);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--t), color var(--t);
}
.chatbot-chip:hover { color: var(--yellow); border-color: rgba(255,204,0,.45); }
.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .55rem;
  padding: 1rem;
  background: #080b0d;
  border-top: 1px solid rgba(255,255,255,.08);
}
.chatbot-input {
  width: 100%;
  min-width: 0;
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.14);
  padding: .78rem .85rem;
  font-size: .82rem;
  outline: none;
}
.chatbot-input:focus { border-color: rgba(255,204,0,.62); }
.chatbot-send {
  background: var(--yellow);
  color: var(--black);
  padding: .78rem .9rem;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.map-embed-wrap { height: 420px; }
.map-embed { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1280px) {
  .stats-grid           { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .stat-card            { min-height: 148px; }
  .stat-number          { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
  .stat-suffix          { font-size: clamp(.85rem, 1.55vw, 1.15rem); }
  .about-intro-grid     { gap: 2.5rem; }
  .video-showcase       { min-height: 0; }
}

/* ---- Large tablet 1100 ---- */
@media (max-width: 1100px) {
  .stat-card            { min-height: 142px; padding-inline: 1.5rem; }
  .stat-num-row         { height: 3rem; }
  .featured-product-grid{ grid-template-columns: repeat(2, 1fr); }
  .clients-slider-wrap  { padding: 1rem 1.15rem; }
  .clients-slider-track { gap: 1.45rem; }
  .client-logo-item     { width: 220px; height: 114px; padding: .4rem .65rem; }
  .product-marquee-track { animation-duration: 42s; }
  .product-marquee-group { gap: 1.3rem; padding-block: 1.35rem; }
  .product-marquee-text  { font-size: clamp(1.2rem, 2.8vw, 2.55rem); }
  .product-marquee-logo  { width: clamp(34px, 3.7vw, 50px); }
  .footer-top           { padding-block: 3.75rem; }
  .footer-grid          { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.75rem 2.25rem; }
  .footer-brand         { max-width: 34rem; }
  .footer-tagline       { max-width: 40ch; }
  .footer-brand-mask-base,
  .footer-brand-mask-reveal {
    padding-inline: clamp(1.5rem, 4vw, 3rem);
    font-size: clamp(2rem, 8.45vw, 5.8rem);
  }
  .gallery-grid         { grid-template-columns: repeat(3, 1fr); }
  .about-intro-grid     { grid-template-columns: 1fr; gap: 3rem; }
  .video-gallery        { order: -1; max-width: 820px; width: 100%; margin-inline: auto; }
  .video-showcase       { min-height: 340px; }
  body.page-contact .chatbot-widget { display: none; }
}

/* ---- Tablet 900 ---- */
@media (max-width: 900px) {
  :root { --header-top-h: 0px; --header-nav-h: 62px; --header-total-h: 62px; }

  /* Hide desktop nav */
  .nav-menu:not(.nav-menu-open), .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding-left: 1rem; padding-right: 1rem; }
  .nav-logo { padding-right: .8rem; margin-right: 0; }
  .nav-logo-img { height: 42px; }
  .nav-logo-name-bottom { max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .footer-top           { padding-block: 3.25rem; }
  .footer-grid          { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.35rem 1.75rem; }
  .footer-logo-img      { height: 68px; }
  .footer-tagline       { max-width: 36ch; }
  .footer-col-heading   { margin-bottom: 1rem; }
  .footer-link-list     { gap: .62rem; }
  .footer-bottom-inner  { justify-content: center; text-align: center; }

  /* Layout fixes */
  .overview-grid        { grid-template-columns: 1fr; }
  .overview-image-secondary { position: static; width: 60%; margin-top: 1rem; border: none; box-shadow: none; }
  .overview-badge-box   { top: 1rem; left: 1rem; }

  .why-us-grid          { grid-template-columns: repeat(2, 1fr); }
  .applications-grid    { grid-template-columns: repeat(2, 1fr); }
  .applications-full-grid { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid             { grid-template-columns: 1fr; }
  .about-intro-grid     { grid-template-columns: 1fr; }
  .video-gallery        { order: -1; }
  .video-showcase       { min-height: 360px; }
  .certificate-grid     { grid-template-columns: repeat(2, minmax(220px, 320px)); }
  .contact-main-grid    { grid-template-columns: 1fr; }
  .contact-strip-grid   { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid  { grid-template-columns: 1fr; }
  .product-detail-grid-reverse > * { order: unset; }
  .gallery-grid         { grid-template-columns: repeat(2, 1fr); }
  .serving-globe-panel  { grid-template-columns: 1fr; }
  .serving-globe-visual { min-height: 300px; }
  .space-planet-1 { right: 8%; top: 8%; transform: scale(.78); }
  .space-planet-2 { left: 72%; bottom: 42%; transform: scale(.85); }
  .product-detail-block { padding-block: 3.25rem; }
  .product-detail-grid { gap: 2rem; }
  .product-detail-image { height: auto; aspect-ratio: 4 / 3; }
  .product-detail-image-frame-4x3 .product-detail-image { height: 100%; }
  .product-detail-image-portrait .product-detail-image { height: min(72vh, 520px); aspect-ratio: auto; }
  .gallery-grid { grid-auto-rows: 210px; }
  .contact-main { padding-block: 3rem; }
  .contact-map-card-form .map-embed-wrap { height: 320px !important; }
  body.page-contact .email-float,
  body.page-contact .phone-float,
  body.page-contact .whatsapp-float,
  body.page-contact .chatbot-widget { display: none; }
  .whatsapp-float,
  .phone-float,
  .email-float { width: 52px; height: 52px; bottom: 1rem; }
  .email-float { left: .9rem; }
  .phone-float { left: 4.75rem; }
  .whatsapp-float { left: 8.6rem; }
  .whatsapp-float-icon,
  .quick-float-icon { width: 38px; height: 38px; }
  .chatbot-widget { right: 1rem; bottom: 1rem; }

  /* Timeline mobile */
  .timeline-list::before { left: 22px; transform: none; }
  .timeline-item { grid-template-columns: 44px 1fr; }
  .timeline-item:nth-child(odd)  .timeline-content { grid-column: 2; text-align: left; }
  .timeline-item:nth-child(even) .timeline-content { grid-column: 2; }
  .timeline-item:nth-child(odd)  .timeline-marker  { grid-column: 1; }
  .timeline-item:nth-child(even) .timeline-marker  { grid-column: 1; }

  .cta-inner            { flex-direction: column; text-align: center; }
  .cta-actions          { justify-content: center; }

  .hero-stats-strip     { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-left: 0; }
  .hero-stat-number     { font-size: 2rem; }
  .hero-stat-suffix     { font-size: 1rem; }
  .hero-stat-label      { white-space: normal; }
}

/* ---- Mobile 600 ---- */
@media (max-width: 600px) {
  :root { --container-pad: 1rem; }

  html,
  body { width: 100%; max-width: 100%; overflow-x: hidden; }
  main,
  section,
  .container { width: 100%; max-width: 100%; min-width: 0; }
  .page-hero-content,
  .product-detail-content,
  .contact-form-wrap,
  .contact-sidebar,
  .contact-strip-info,
  .application-full-content { min-width: 0; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .section-header       { margin-bottom: 2.25rem; }
  .section-heading      { font-size: clamp(1.55rem, 8vw, 2.1rem); }
  .section-subheading   { font-size: .95rem; }

  .nav-logo-name        { display: none; }
  .nav-logo             { border-right: 0; padding-right: 0; }

  .hero                 { min-height: calc(100svh - var(--header-total-h)); }
  .hero-slide-track     { min-height: calc(100svh - var(--header-total-h) - 52px); }
  .hero-slide           { align-items: flex-start; transition: none; }
  .hero-content         { padding-block: 2rem; }
  .hero-badge           { font-size: .55rem; letter-spacing: .1em; max-width: 100%; }
  .hero-pretitle        { font-size: .75rem; }
  .hero-heading         { font-size: clamp(2.15rem, 13vw, 3.25rem); line-height: 1.05; }
  .hero-description     { font-size: .92rem; line-height: 1.65; margin-bottom: 1.5rem; }
  .hero-actions         { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn    { width: 100%; justify-content: center; }
  .hero-stats-strip     { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-left: 0; padding-top: 1.25rem; }
  .hero-stat-number     { font-size: 2rem; }
  .hero-stat-suffix     { font-size: 1rem; }
  .hero-stat-label      { white-space: normal; }
  .product-marquee-track { animation-duration: 38s; }
  .product-marquee-group {
    gap: .9rem;
    padding: .9rem 1rem;
  }
  .product-marquee-text {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
    line-height: 1;
  }
  .product-marquee-logo  { width: clamp(24px, 6.4vw, 32px); }

  .stats-grid           { grid-template-columns: repeat(2, 1fr); }
  .stat-card            { min-height: 132px; padding: 1.75rem 1.25rem; }
  .stat-num-row         { height: 2.75rem; gap: 4px; }
  .stat-number          { font-size: clamp(1.75rem, 7vw, 2.2rem); }
  .stat-suffix          { font-size: clamp(.9rem, 3.5vw, 1.1rem); }
  .stat-label           { min-height: 2.6em; font-size: .65rem; letter-spacing: .12em; }
  .clients-slider-wrap  { padding: .85rem 1rem; }
  .clients-slider-wrap::before,
  .clients-slider-wrap::after { width: 42px; }
  .clients-slider-track { gap: 1.2rem; }
  .client-logo-item     { width: 184px; height: 96px; padding: .38rem .55rem; }
  .featured-product-grid{ grid-template-columns: 1fr; }
  .why-us-grid          { grid-template-columns: 1fr; }
  .applications-grid    { grid-template-columns: 1fr; }
  .applications-full-grid { grid-template-columns: 1fr; }
  .gallery-grid         { grid-template-columns: 1fr; }
  .gallery-section,
  .applications-listing,
  .products-listing     { padding-block: 3rem; }
  .products-filter-inner,
  .gallery-filter-inner  {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: .25rem;
    -webkit-overflow-scrolling: touch;
  }
  .filter-btn,
  .gallery-filter-btn    { flex: 0 0 auto; }
  .gallery-grid         { grid-auto-rows: 245px; gap: .9rem; }
  .gallery-item-large,
  .gallery-item-wide    { grid-column: span 1; grid-row: span 1; }
  .gallery-caption      { font-size: .68rem; padding: 1.5rem .85rem .75rem; white-space: normal; }
  .site-footer          { padding-bottom: calc(4.25rem + env(safe-area-inset-bottom)); }
  .footer-top           { padding-block: 2.7rem; }
  .footer-grid          { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-brand         { max-width: none; }
  .footer-logo          { display: flex; justify-content: center; }
  .footer-logo-img      { height: 62px; margin-inline: auto; }
  .footer-tagline       { max-width: 34rem; margin-inline: auto; }
  .footer-link-list     { align-items: center; gap: .55rem; }
  .footer-address       { max-width: 32rem; margin-inline: auto; }
  .footer-contact-link  { margin-inline: auto; }
  .footer-proprietor    { text-align: center; }
  .footer-mask-relative { min-height: 104px; }
  .footer-brand-mask-base,
  .footer-brand-mask-reveal {
    padding-inline: 1.1rem;
    font-size: clamp(1.3rem, 6.45vw, 2.45rem);
  }
  .footer-brand-mask-reveal {
    -webkit-mask-image: radial-gradient(circle at var(--footer-mask-x, 50%) var(--footer-mask-y, 50%), #000 90px, transparent 180px);
    mask-image: radial-gradient(circle at var(--footer-mask-x, 50%) var(--footer-mask-y, 50%), #000 90px, transparent 180px);
  }
  .footer-bottom-inner  { flex-direction: column; text-align: center; }
  .form-row             { grid-template-columns: 1fr; }
  .contact-strip-grid   { grid-template-columns: 1fr; }
  .contact-strip-item   { width: 100%; padding: 1.1rem; align-items: flex-start; }
  .contact-strip-value,
  .page-hero-subtext,
  .product-detail-desc,
  .product-spec-item,
  .application-full-desc,
  .contact-form-subtext,
  .form-checkbox-text,
  .contact-map-address  {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .form-input,
  .form-textarea,
  .form-select { min-width: 0; }
  .contact-main-grid    { gap: 2rem; }
  .contact-info-item    { grid-template-columns: 1fr; gap: .25rem; }
  .contact-map-card-form .map-embed-wrap { height: 280px !important; }
  .facility-gallery     { grid-template-columns: 1fr; }
  .facility-image-main  { grid-column: span 1; }
  .facility-image-sm:last-child { grid-column: span 1; }
  .about-intro          { padding-block: 3.75rem; }
  .about-intro-grid     { gap: 2.35rem; }
  .video-gallery        { grid-template-columns: 1fr; gap: .85rem; }
  .video-showcase       { min-height: 250px; height: clamp(250px, 76vw, 320px); aspect-ratio: auto; }
  .video-thumbnail      { height: 96px; }
  .video-since-badge    { top: .75rem; right: .75rem; font-size: .62rem; }
  .video-overlay        { left: 1rem; right: 1rem; bottom: .9rem; }
  .video-caption        { font-size: .92rem; }
  .certificate-grid     { grid-template-columns: 1fr; }
  .certificate-card     { width: min(100%, 360px); min-height: 230px; justify-self: center; }
  .certificate-preview  { min-height: 145px; }
  .overview-image-main img,
  .about-image-primary img,
  .facility-image-main img { height: clamp(230px, 62vw, 340px); aspect-ratio: auto; object-fit: cover; }
  .overview-image-secondary { width: 100%; }
  .overview-image-secondary img,
  .about-image-secondary img,
  .facility-image-sm img { height: clamp(230px, 62vw, 340px); aspect-ratio: auto; }
  .facility-image-sm img.facility-image-top-view { object-fit: cover; object-position: center center; }
  .facility-image-sm img.facility-image-full-view { object-fit: contain; object-position: center center; background: #f5f5f5; }
  .facility-image-sm img.facility-image-vessel-loading { object-fit: cover; object-position: center 66%; }
  .cta-actions .btn     { width: 100%; justify-content: center; }
  .cta-phone-link       { justify-content: center; }
  .cta-phone-number     { font-size: 1.15rem; }
  .mvv-grid             { grid-template-columns: 1fr; }
  .about-intro-grid     { grid-template-columns: 1fr; }
  .serving-globe-panel  { padding: 1.25rem; }
  .real-globe-wrap { width: min(100%, 320px); }
  .shooting-star { width: 80px; }
  .whatsapp-float,
  .phone-float,
  .email-float          { width: 48px; height: 48px; bottom: 1rem; }
  .email-float          { left: .85rem; }
  .phone-float          { left: 4.45rem; }
  .whatsapp-float       { left: 8.05rem; }
  .whatsapp-float-icon,
  .quick-float-icon     { width: 34px; height: 34px; }
  .whatsapp-float-icon .whatsapp-mark { width: 25px; height: 25px; }
  .email-mark,
  .phone-mark           { width: 22px; height: 22px; }
  .chatbot-widget       { right: 1rem; bottom: 1rem; }
  .chatbot-toggle       { width: 56px; height: 56px; }
  .chatbot-toggle-icon  { width: 40px; height: 40px; }
  .chatbot-panel        { width: calc(100vw - 2rem); }
  .chatbot-messages     { height: 260px; }
}

/* ---- Very small 400 ---- */
@media (max-width: 400px) {
  .gallery-grid         { grid-template-columns: 1fr; }
  .hero-heading         { font-size: clamp(1.9rem, 12vw, 2.75rem); }
  .hero-stats-strip     { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .hero-stat-number     { font-size: 1.75rem; }
  .btn                  { padding-inline: 18px; }
  .product-marquee-group { gap: .68rem; padding: .78rem .85rem; }
  .product-marquee-text  { font-size: clamp(.86rem, 4.45vw, 1.05rem); }
  .product-marquee-logo  { width: 22px; }
  .stat-card             { min-height: 122px; padding-inline: .85rem; }
  .stat-num-row          { height: 2.35rem; gap: 3px; }
  .stat-number           { font-size: clamp(1.45rem, 6.5vw, 1.75rem); }
  .stat-suffix           { font-size: .85rem; }
  .stat-label            { font-size: .58rem; letter-spacing: .09em; }
  .clients-slider-wrap::before,
  .clients-slider-wrap::after { width: 26px; }
  .client-logo-item     { width: 154px; height: 82px; padding: .32rem .45rem; }
  .footer-top           { padding-block: 2.25rem; }
  .footer-grid          { gap: 1.65rem; }
  .footer-logo-img      { height: 54px; }
  .footer-tagline,
  .footer-link,
  .footer-address,
  .footer-contact-link  { font-size: .78rem; }
  .footer-col-heading   { font-size: .58rem; letter-spacing: .14em; margin-bottom: .8rem; }
  .footer-mask-relative { min-height: 92px; }
  .footer-brand-mask-base,
  .footer-brand-mask-reveal {
    padding-inline: 1.25rem;
    font-size: clamp(1.05rem, 6vw, 1.55rem);
  }
  .footer-brand-mask-reveal {
    -webkit-mask-image: radial-gradient(circle at var(--footer-mask-x, 50%) var(--footer-mask-y, 50%), #000 70px, transparent 140px);
    mask-image: radial-gradient(circle at var(--footer-mask-x, 50%) var(--footer-mask-y, 50%), #000 70px, transparent 140px);
  }
}
