:root {
  --royal-blue: #0B1D3A;
  --royal-blue-dark: #050f1f;
  --royal-blue-light: #17305c;
  --gold: #C9A227;
  --gold-light: #dfba3f;
  --gold-dark: #9a7a1a;
  --white: #FFFFFF;
  --off-white: #f4f6fa;
  --light-gray: #e8ecf2;
  --gray: #6b7280;
  --dark-gray: #16162a;
  --text-dark: #0a1a35;
  --text-light: #5a6270;
  --font-heading: 'Plus Jakarta Sans', 'Montserrat', 'Poppins', sans-serif;
  --font-body: 'Inter', 'Open Sans', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.4s var(--ease-out-expo);
  --shadow-sm: 0 1px 3px rgba(11, 29, 58, 0.06), 0 1px 2px rgba(11, 29, 58, 0.04);
  --shadow-md: 0 4px 16px rgba(11, 29, 58, 0.08), 0 2px 8px rgba(11, 29, 58, 0.04);
  --shadow-lg: 0 12px 40px rgba(11, 29, 58, 0.1), 0 4px 16px rgba(11, 29, 58, 0.06);
  --shadow-xl: 0 24px 60px rgba(11, 29, 58, 0.12);
  --shadow-gold: 0 8px 30px rgba(201, 162, 39, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-nav: rgba(255, 255, 255, 0.82);
  --gold-gradient: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  --blue-gradient: linear-gradient(135deg, var(--royal-blue-dark), var(--royal-blue), var(--royal-blue-light));
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--white);
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
  word-wrap: break-word;
  /* Prevent any child from increasing viewport width */
  max-width: 100vw;
}

/* Prevent media and large elements from overflowing horizontally */
img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* Extra safety: ensure root doesn't allow horizontal scroll */
html {
  overflow-x: hidden;
  overflow-y: visible;
}

body {
  overflow-x: hidden;
}

/* Strong clamp: prevent any top-level child from forcing horizontal scroll
   This is intentionally defensive; if you need a specific element to overflow,
   adjust that element specifically instead of removing this rule. */
html,
body {
  overflow-x: hidden !important;
}

body>* {
  max-width: 100vw !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

/* Ensure commonly overflowing pseudo-elements and large decorations stay clipped */
::before,
::after {
  box-sizing: border-box !important;
}



body.is-loading {
  overflow: hidden;
  height: 100vh;
}

body.is-loading>*:not(#loader) {
  opacity: 0;
  visibility: hidden;
}

body:not(.is-loading)>*:not(#loader):not(script) {
  opacity: 1;
  visibility: visible;
}

body:not(.rk-leaving):not(.rk-reveal)>*:not(#loader):not(script) {
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s ease;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 36px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 24px;
}

.section-header.light {
  color: var(--white);
}

.section-header.light .section-title {
  color: var(--white);
}

.section-header.light .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  position: relative;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-header.light .section-tag::before {
  background: var(--gold-light);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.75;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.35s var(--ease-out-expo);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.35), 0 0 0 1px rgba(201, 162, 39, 0.2);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(201, 162, 39, 0.15);
  background: rgba(201, 162, 39, 0.06);
}

.btn-gold-shimmer {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold), var(--gold-dark));
  background-size: 300% 100%;
  color: var(--white);
  border: none;
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
  animation: goldShimmer 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.btn-gold-shimmer:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(201, 162, 39, 0.45);
}

@keyframes goldShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.25);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  background: var(--white);
  overflow: hidden;
  will-change: opacity;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader.exiting .loader-content {
  transform: scale(3.5);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease 0.1s;
}

.loader.exiting .loader-bg {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.loader.exiting .loader-particles {
  opacity: 0;
  transition: opacity 0.1s ease;
}

.loader.exiting .loader-ring {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.loader.exiting .star {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.loader.exiting .loader-shimmer {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.loader.exiting .loader-shine {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.loader.exiting .loader-footer {
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.loader-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(201, 162, 39, 0.08) 0%, var(--white) 50%, rgba(11, 29, 58, 0.02) 100%);
  animation: loaderBgShift 4s ease-in-out infinite;
  transition: opacity 0.5s ease;
}

@keyframes loaderBgShift {
  0% {
    background-position: 0% 50%;
    background-size: 100% 100%;
  }

  50% {
    background-position: 100% 50%;
    background-size: 120% 120%;
  }

  100% {
    background-position: 0% 50%;
    background-size: 100% 100%;
  }
}

.loader-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 3s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(201, 162, 39, 0.4);
}

.p1 {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
  width: 4px;
  height: 4px;
}

.p2 {
  top: 65%;
  left: 3%;
  animation-delay: 0.4s;
  width: 6px;
  height: 6px;
}

.p3 {
  top: 25%;
  right: 12%;
  animation-delay: 0.8s;
  width: 3px;
  height: 3px;
}

.p4 {
  top: 75%;
  right: 8%;
  animation-delay: 1.2s;
  width: 5px;
  height: 5px;
}

.p5 {
  top: 8%;
  left: 50%;
  animation-delay: 1.6s;
  width: 4px;
  height: 4px;
}

.p6 {
  top: 85%;
  left: 35%;
  animation-delay: 2s;
  width: 3px;
  height: 3px;
}

.p7 {
  top: 45%;
  left: 88%;
  animation-delay: 2.4s;
  width: 6px;
  height: 6px;
}

.p8 {
  top: 92%;
  left: 55%;
  animation-delay: 2.8s;
  width: 4px;
  height: 4px;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0) rotate(0deg);
  }

  20% {
    opacity: 1;
    transform: translateY(-25px) scale(1) rotate(180deg);
  }

  80% {
    opacity: 0.8;
    transform: translateY(-70px) scale(0.7) rotate(360deg);
  }

  100% {
    opacity: 0;
    transform: translateY(-100px) scale(0) rotate(540deg);
  }
}

.loader-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 90vw;
}

.loader-logo-wrapper {
  position: relative;
  width: 360px;
  height: 360px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoWrapperFloat 4s ease-in-out infinite;
}

@keyframes logoWrapperFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.loader-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  will-change: transform;
}

.loader-ring-1 {
  inset: 0;
  border-width: 3px;
  border-top-color: var(--gold);
  border-right-color: transparent;
  border-bottom-color: var(--gold);
  border-left-color: transparent;
  animation: ringSpin3d 1.8s linear infinite;
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.2), inset 0 0 20px rgba(201, 162, 39, 0.08);
}

.loader-ring-2 {
  inset: 40px;
  border-width: 3px;
  border-top-color: transparent;
  border-right-color: var(--gold-light);
  border-bottom-color: transparent;
  border-left-color: var(--gold-light);
  animation: ringSpin3dReverse 2.5s linear infinite;
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.1);
}

.loader-ring-3 {
  inset: 80px;
  border-width: 2px;
  border-top-color: var(--gold-dark);
  border-right-color: var(--gold-dark);
  border-bottom-color: transparent;
  border-left-color: transparent;
  animation: ringSpin3d 1.4s linear infinite reverse;
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.08);
}

@keyframes ringSpin3d {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(90deg);
  }

  50% {
    transform: rotate(180deg);
  }

  75% {
    transform: rotate(270deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes ringSpin3dReverse {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-90deg);
  }

  50% {
    transform: rotate(-180deg);
  }

  75% {
    transform: rotate(-270deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

.loader-brand-icon {
  width: 260px;
  height: 260px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 40px rgba(201, 162, 39, 0.2);
  animation: loaderIconIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards, iconPulse3d 2.5s ease-in-out 0.7s infinite;
}

.loader-brand-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.25), transparent, rgba(201, 162, 39, 0.2));
  z-index: -1;
  animation: iconRingGlow 2.5s ease-in-out infinite;
}

@keyframes iconRingGlow {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.loader-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

@keyframes loaderIconIn {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }

  60% {
    opacity: 1;
    transform: scale(1.05);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes iconPulse3d {

  0%,
  100% {
    box-shadow: 0 0 30px rgba(201, 162, 39, 0.3), 0 0 60px rgba(201, 162, 39, 0.1);
  }

  50% {
    box-shadow: 0 0 60px rgba(201, 162, 39, 0.5), 0 0 120px rgba(201, 162, 39, 0.2), 0 0 200px rgba(201, 162, 39, 0.05);
  }
}

.loader-brand-name {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--royal-blue);
  line-height: 1.2;
  letter-spacing: 4px;
}

.loader-brand-name span {
  display: inline-block;
  opacity: 0;
  animation: letterReveal3d 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.loader-brand-name span:nth-child(1) {
  animation-delay: 0.1s;
}

.loader-brand-name span:nth-child(2) {
  animation-delay: 0.15s;
}

.loader-brand-name span:nth-child(3) {
  animation-delay: 0.2s;
}

.loader-brand-name span:nth-child(4) {
  animation-delay: 0.25s;
}

.loader-brand-name span:nth-child(5) {
  animation-delay: 0.3s;
}

.loader-brand-name span:nth-child(6) {
  animation-delay: 0.35s;
}

.loader-brand-name span:nth-child(7) {
  animation-delay: 0.4s;
}

.loader-brand-name span:nth-child(8) {
  animation-delay: 0.45s;
}

.loader-brand-name span:nth-child(9) {
  animation-delay: 0.5s;
}

.loader-brand-name span:nth-child(10) {
  animation-delay: 0.55s;
}

.loader-brand-name span:nth-child(11) {
  animation-delay: 0.6s;
}

.loader-brand-name span:nth-child(12) {
  animation-delay: 0.65s;
}

@keyframes letterReveal3d {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.7);
  }

  60% {
    opacity: 1;
    transform: translateY(-3px) scale(1.05);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.loader-brand-sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: subReveal3d 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards;
}

@keyframes subReveal3d {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.8);
    letter-spacing: 16px;
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: 8px;
  }
}

.loader-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(201, 162, 39, 0.04) 0%, transparent 50%);
  pointer-events: none;
  animation: shineDrift 6s ease-in-out infinite;
  z-index: 1;
}

@keyframes shineDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(40px, -35px) scale(1.2);
  }

  66% {
    transform: translate(-25px, 25px) scale(0.9);
  }
}

.loader-shimmer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}

.loader-shimmer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      transparent 30%,
      rgba(201, 162, 39, 0.12) 45%,
      rgba(255, 215, 0, 0.2) 50%,
      rgba(201, 162, 39, 0.12) 55%,
      transparent 70%);
  transform: translateX(-100%);
  animation: shimmerSweep 2.5s ease-in-out infinite;
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-100%);
  }

  40% {
    transform: translateX(100%);
  }

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

.loader-footer {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  padding: 20px 0 16px;
}

.loader-footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.loader-footer-separator {
  font-size: 1.15rem;
  line-height: 1;
  color: rgba(136, 136, 136, 0.9);
  font-weight: 400;
  transform: translateY(-1px);
}

.loader-footer-text {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 500;
  color: #888;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.loader-footer-logo {
  height: 58px;
  width: auto;
  opacity: 0.8;
  object-fit: contain;
}

.loader-footer-logo--secondary {
  height: 58px;
  width: auto;
}

.star {
  position: absolute;
  font-size: 18px;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(201, 162, 39, 0.7), 0 0 25px rgba(201, 162, 39, 0.3);
  pointer-events: none;
  z-index: 1;
  animation: starSparkle 2s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes starSparkle {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.7) rotate(0deg);
  }

  25% {
    opacity: 1;
    transform: scale(1.1) rotate(45deg);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.9) rotate(90deg);
  }

  75% {
    opacity: 1;
    transform: scale(1.05) rotate(135deg);
  }
}

.s1 {
  top: -8%;
  left: 50%;
  transform-origin: center;
  animation-delay: 0s;
  font-size: 14px;
  --sx: -120px;
  --sy: -100px;
}

.s2 {
  top: 15%;
  right: -6%;
  animation-delay: 0.25s;
  font-size: 10px;
  --sx: 100px;
  --sy: -60px;
}

.s3 {
  bottom: 10%;
  right: -4%;
  animation-delay: 0.5s;
  font-size: 16px;
  --sx: 110px;
  --sy: 80px;
}

.s4 {
  bottom: -6%;
  left: 45%;
  animation-delay: 0.75s;
  font-size: 12px;
  --sx: -80px;
  --sy: 100px;
}

.s5 {
  top: -4%;
  left: 15%;
  animation-delay: 1s;
  font-size: 11px;
  --sx: -100px;
  --sy: -90px;
}

.s6 {
  top: 30%;
  left: -5%;
  animation-delay: 1.25s;
  font-size: 15px;
  --sx: -110px;
  --sy: 20px;
}

.s7 {
  bottom: -2%;
  left: 20%;
  animation-delay: 1.5s;
  font-size: 9px;
  --sx: -60px;
  --sy: 110px;
}

.s8 {
  top: -2%;
  right: 20%;
  animation-delay: 1.75s;
  font-size: 13px;
  --sx: 90px;
  --sy: -80px;
}

/* --- Loader responsive --- */
@media (max-width: 768px) {
  .loader-brand-name {
    font-size: 1.6rem;
    letter-spacing: 2px;
  }

  .loader-logo-wrapper {
    width: 150px;
    height: 150px;
  }

  .loader-brand-icon {
    width: 100px;
    height: 100px;
  }

  .loader-ring-2 {
    inset: 18px;
    border-width: 2px;
  }

  .loader-ring-3 {
    inset: 36px;
    border-width: 2px;
  }
}

@media (max-width: 480px) {
  .loader-footer {
    width: calc(100% - 32px);
    bottom: 0;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .loader-footer-logos {
    gap: 8px;
  }

  .loader-footer-logo,
  .loader-footer-logo--secondary {
    height: clamp(36px, 12vw, 48px);
    max-width: 38vw;
  }

  .loader-footer-text {
    font-size: 0.5rem;
    letter-spacing: 1px;
  }

  .loader-brand-name {
    font-size: 1.3rem;
  }

  .loader-brand-sub {
    font-size: 0.6rem;
    letter-spacing: 4px;
  }

  .loader-logo-wrapper {
    width: 130px;
    height: 130px;
  }

  .loader-brand-icon {
    width: 85px;
    height: 85px;
  }

  .loader-ring-2 {
    inset: 15px;
  }

  .loader-ring-3 {
    inset: 30px;
  }
}

@media (max-width: 360px) {
  .loader-brand-name {
    font-size: 1.1rem;
  }

  .loader-logo-wrapper {
    width: 110px;
    height: 110px;
  }

  .loader-brand-icon {
    width: 70px;
    height: 70px;
  }

  .loader-ring-2 {
    inset: 12px;
  }

  .loader-ring-3 {
    inset: 24px;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 2px 0;
  background: #fff;
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  transition: all 0.35s var(--ease-out-expo);
  border-bottom: 1px solid rgba(201, 162, 39, 0.06);
}

.navbar.scrolled {
  background: #fff;
  backdrop-filter: blur(8px) saturate(1.4);
  -webkit-backdrop-filter: blur(8px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 8px 40px rgba(0, 0, 0, 0.05);
  padding: 2px 0;
  border-bottom-color: rgba(201, 162, 39, 0.12);
}

.navbar.scrolled .nav-logo .logo-title {
  color: var(--royal-blue);
}

.navbar.scrolled .nav-logo .logo-subtitle {
  color: var(--royal-blue-light);
}

.navbar.scrolled .nav-link {
  color: var(--text-dark);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--gold);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand-block {
  position: relative;
  display: inline-block;
  line-height: 1;
}

.logo-icon-img {
  height: 110px;
  width: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--royal-blue);
  line-height: 1.2;
  transition: var(--transition);
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--royal-blue-light);
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--royal-blue);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

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

.nav-link:hover {
  color: var(--gold);
}

.nav-link.active {
  color: var(--gold);
}

.nav-cta,
.nav-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: 150px;
  border-radius: 50px;
  text-transform: none;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white) !important;
  padding: 14px 28px !important;
  border: none;
  position: relative;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
}

.nav-cta:active {
  transform: perspective(600px) rotateX(-2deg) translateZ(2px) translateY(1px);
  transition-duration: 0.05s;
}

.nav-cta-secondary {
  background: #ffffff !important;
  border: 2px solid var(--royal-blue);
  color: var(--royal-blue) !important;
  padding: 12px 26px !important;
  box-shadow: none;
}

.nav-cta-secondary:hover {
  border-color: var(--royal-blue);
  background: #f5f9ff !important;
  transform: translateY(-2px);
  color: var(--royal-blue) !important;
  box-shadow: none;
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}

.nav-cta-secondary:active {
  transform: translateY(0);
  transition-duration: 0.05s;
}

html.nav-open,
html.nav-open body {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

@media (max-width: 768px) {
  @media (min-width: 769px) {
    .nav-backdrop {
      display: none;
    }
  }

  @media (max-width: 768px) {
    .nav-home-icon {
      margin-left: auto;
    }
  }

  .nav-home-icon {
    display: flex;
    width: auto;
  }
}

@media (min-width: 769px) {
  .nav-home-icon {
    display: none;
  }

  .nav-backdrop {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 57px;
    right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    transform: translateY(-50%);
    z-index: 1000;
  }
}

.nav-home-icon {
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--gold);
  text-decoration: none;
  font-size: 1rem;
  border-radius: 50%;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  z-index: 1002;
  margin: 0;
}

.nav-home-icon:hover {
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  margin: -10px;
  position: relative;
  z-index: 1002;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  perspective: 600px;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  backface-visibility: hidden;
}

.nav-toggle.active {
  transform: perspective(600px) rotate3d(0, 1, 0, 8deg);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease;
  transform-origin: center;
  will-change: transform;
  backface-visibility: hidden;
}

.nav-toggle.active span:nth-child(1) {
  transform: perspective(400px) translate3d(0, 8px, 3px) rotateY(8deg) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: perspective(400px) translate3d(0, 0, -4px) rotateY(80deg);
}

.nav-toggle.active span:nth-child(3) {
  transform: perspective(400px) translate3d(0, -8px, 3px) rotateY(-8deg) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* prevent absolutely positioned decorative elements from causing horizontal scroll */
  overflow: hidden;
  background: var(--royal-blue-dark);
  padding-top: 86px;
}


.hero-video-wrap {
  position: absolute;
  top: 86px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-video-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(80, 80, 90, 0.45);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  will-change: transform;
}

.hero-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  touch-action: manipulation;
}

.hero-video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255,255,255,0.3);
}

.hero-video-play-btn i {
  margin-left: 4px;
}

.hero-title-gold {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  background-image:
    linear-gradient(135deg,
      var(--gold-light) 0%, var(--gold) 15%, #fff 30%,
      var(--gold-light) 40%, var(--gold) 55%,
      #fff 70%, var(--gold-light) 80%, var(--gold) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  will-change: transform;
  animation: goldLive3D 6s ease-in-out infinite;
}

@keyframes goldLive3D {
  0%, 100% {
    transform: rotateX(0deg) rotateY(0deg) translateY(0);
  }
  25% {
    transform: rotateX(3deg) rotateY(-4deg) translateY(-2px);
  }
  50% {
    transform: rotateX(0deg) rotateY(0deg) translateY(0);
  }
  75% {
    transform: rotateX(-3deg) rotateY(3deg) translateY(-3px);
  }
}

.hero-title-gold::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(5, 15, 31, 0.55) 0%,
      rgba(11, 29, 58, 0.7) 35%,
      rgba(5, 15, 31, 0.65) 70%,
      rgba(5, 15, 31, 0.5) 100%);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(201, 162, 39, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 162, 39, 0.04) 0%, transparent 50%);
  z-index: 0;
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 120px;
  overflow: hidden;
  z-index: 3;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-geometric {
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(201, 162, 39, 0.06);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  z-index: 1;
  animation: floatDrift 20s ease-in-out infinite;
  will-change: transform;
}

.hero-geometric-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  top: auto;
  right: auto;
  animation-delay: -10s;
  border-color: rgba(255, 255, 255, 0.04);
}

@keyframes floatDrift {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -30px) rotate(5deg);
  }

  66% {
    transform: translate(-20px, 20px) rotate(-3deg);
  }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 48px 80px;
  max-width: 100%;
  margin: 0 auto;
}

.hero-content {
  animation: fadeInUp 1s ease forwards;
  max-width: 860px;
  text-align: center;
}

.hero-video-section {
  align-items: flex-end;
  padding-bottom: 0;
}

.hero.hero-video-section {
  background: #000;
}

.hero-video-section .hero-container {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 30px 60px 30px 5px;
}

.hero-video-section .hero-content {
  max-width: 900px;
  text-align: justify;
  padding-right: 20px;
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  justify-self: start;
  will-change: transform, opacity;
}

.hero-video-section .hero-stats {
  display: flex;
  gap: 40px;
  grid-column: 1;
  grid-row: 2;
  justify-content: flex-start;
  align-self: end;
  padding-bottom: 10px;
  will-change: transform, opacity;
}

.hero-video-section .hero-stat {
  text-align: center;
}

.hero-video-section .hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.hero-video-section .hero-stat-label {
  font-size: 0.75rem;
  color: rgba(10, 26, 53, 0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-video-section .hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  grid-column: 2;
  grid-row: 1;
}

.hero-product-img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.2));
}

.hero-video-section .hero-title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
}

.hero-video-section .hero-subtitle {
  font-size: 20px;
  line-height: 1.5;
  color: #fff;
  text-align: left;
  max-width: 900px;
}

.hero-video-section .hero-badge {
  color: var(--royal-blue);
  border-color: rgba(11, 29, 58, 0.25);
}

.hero-video-section .hero-scroll {
  color: var(--gold);
}

.hero-video-section .btn-outline {
  color: var(--royal-blue);
  border-color: rgba(11, 29, 58, 0.25);
}

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

.hero-video-section .hero-actions {
  justify-content: flex-start;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 39, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 680px;
  font-weight: 400;
}

.hero-video-section .hero-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  justify-content: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-stat {
  text-align: center;
  padding: 32px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.hero-stat:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  right: 120px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounceDown 2s ease-in-out infinite;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(201, 162, 39, 0.3);
}

.hero-scroll i {
  font-size: 1.2rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

.page-hero {
  padding: 160px 0 36px;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.page-hero .section-title {
  font-size: 3.2rem;
}

.hero-transparent-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: imgFadeReveal 2s ease 0.5s forwards;
}

.hero-transparent-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(238, 242, 247, 0.92) 0%, rgba(238, 242, 247, 0.8) 50%, rgba(238, 242, 247, 0.92) 100%);
}

.hero-transparent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.03;
  animation: imgFloat 6s ease-in-out infinite;
  transform: scale(1.05);
}

@keyframes imgFadeReveal {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes imgFloat {

  0%,
  100% {
    transform: scale(1.05) translateY(0);
  }

  50% {
    transform: scale(1.08) translateY(-10px);
  }
}

.about {
  background: var(--off-white);
}

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

.about-image {
  position: relative;
  perspective: 1200px;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  transform: rotateY(-6deg) rotateX(3deg) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
  box-shadow:
    0 25px 60px rgba(11, 29, 58, 0.18),
    0 10px 25px rgba(11, 29, 58, 0.1),
    -8px 8px 0 rgba(201, 162, 39, 0.2);
  overflow: hidden;
  animation: subtleFloat 6s ease-in-out infinite;
}

@keyframes subtleFloat {
  0%, 100% { transform: rotateY(-6deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(-6deg) rotateX(3deg) translateY(-8px); }
}

.about-image:hover .about-image-frame {
  animation: none;
}

.about-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.08), transparent 50%);
  z-index: 2;
  pointer-events: none;
}

.about-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.3) 45%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.3) 55%, transparent 60%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-image:hover .about-image-frame::after {
  opacity: 1;
  animation: shimmerSweep 1.2s ease forwards;
}

@keyframes shimmerSweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.about-image:hover .about-image-frame {
  transform: rotateY(0deg) rotateX(0deg) translateZ(30px);
  box-shadow:
    0 40px 80px rgba(11, 29, 58, 0.25),
    0 15px 35px rgba(11, 29, 58, 0.15),
    0 0 0 4px rgba(201, 162, 39, 0.25);
}

.about-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.6);
  gap: 16px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

.about-image-placeholder i {
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.5;
}

.about-image-placeholder span {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow-gold);
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s ease;
}

.about-image:hover .about-badge {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 48px rgba(201, 162, 39, 0.35);
}

.about-content {
  animation: fadeInUp 1s ease;
}

.about-text {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.about-feature i {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), rgba(201, 162, 39, 0.05));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
}

.products {
  background: var(--white);
  position: relative;
}

.products::before {
  display: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

.product-link i {
  font-size: 0.75rem;
  transition: var(--transition);
}

.product-link:hover {
  gap: 10px;
}

.industries {
  background: var(--off-white);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.industry-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--light-gray);
}

.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.industry-card:hover::after {
  opacity: 1;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.industry-icon {
  width: 56px;
  height: 56px;
  background: var(--royal-blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--gold);
  transition: var(--transition);
  transform-style: preserve-3d;
}

.industry-card:hover .industry-icon {
  transform: scale(1.15) translateZ(20px) rotate(5deg);
}

.industry-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.why-us {
  background: var(--royal-blue);
  position: relative;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 162, 39, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(201, 162, 39, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--gold);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) translateZ(15px);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.manufacturing {
  background: var(--off-white);
}

.manufacturing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 32px;
}

.manufacturing-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.manufacturing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.manufacturing-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
  color: var(--gold);
  transition: var(--transition);
}

.manufacturing-card:hover .manufacturing-icon {
  transform: scale(1.1) rotate(5deg);
}

.manufacturing-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.manufacturing-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.certifications {
  background: var(--off-white);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.cert-card {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.cert-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  transition: var(--transition);
}

.cert-card:hover .cert-icon {
  transform: scale(1.15) translateZ(20px);
  border-color: rgba(201, 162, 39, 0.3);
}

.cert-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.cert-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold);
  font-size: 0.8rem;
  transition: transform 0.35s var(--ease-out-expo), background 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: var(--gold);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), padding 0.4s var(--ease-out-expo);
  padding: 0 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  padding-bottom: 20px;
}

.faq-item.open .faq-answer {
  max-height: 320px;
  padding-top: 4px;
}

.feedback-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.feedback-card .btn {
  margin-top: 4px;
}

@media (max-width: 767px) {
  .feedback-card {
    padding: 24px;
  }
}

.testimonials {
  background: var(--white);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.testimonials-carousel {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  min-height: 250px;
}

.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateY(20px);
}

.testimonial-card.active {
  opacity: 1;
  position: relative;
  transform: translateY(0);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
  quotes: "\201C" "\201D" "\2018" "\2019";
}

.testimonial-text::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--gold);
  display: block;
  line-height: 0.5;
  margin-bottom: 16px;
  opacity: 0.5;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.testimonial-btn {
  width: 48px;
  height: 48px;
  border: 2px solid var(--light-gray);
  border-radius: 50%;
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.testimonial-btn:hover {
  transform: scale(1.1);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light-gray);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.testimonial-dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 5px;
}

.clients {
  background: var(--off-white);
  overflow: hidden;
}

#industries .section-tag {
  text-align: center;
  display: flex;
  justify-content: center;
  width: 100%;
}

#industries .section-title,
#industries .section-desc {
  text-align: center;
}

.clients-wall {
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.clients-track {
  display: flex;
  width: max-content;
  animation: scrollClients 42s linear infinite;
  will-change: transform;
}

.client-logo {
  flex-shrink: 0;
  width: 190px;
  height: 130px;
  margin-right: 8px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.client-logo img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  background-color: transparent !important;
  filter: saturate(1.1) contrast(1.06);
  opacity: 1;
  border-radius: 0;
  box-shadow: none;
}

.client-logo img.client-logo-rounded {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 18px;
}

.client-logo:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.clients-wall:hover .clients-track {
  animation-play-state: paused;
}

@media (max-width: 767px) {
  .clients-wall {
    margin-bottom: 18px;
    -webkit-mask-image: none;
    mask-image: none;
    pointer-events: none;
  }

  .clients-track {
    animation-duration: 34s;
    animation-timing-function: linear;
    will-change: transform;
    transform: translate3d(0, 0, 0);
  }

  .client-logo {
    width: 150px;
    height: 94px;
    margin-right: 10px;
  }

  .client-logo img {
    max-height: 72px;
    filter: none;
    opacity: 1;
  }

  .clients-wall:hover .clients-track {
    animation-play-state: running;
  }

  .industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    gap: 14px;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .industry-card {
    flex: 0 0 auto;
    width: 100%;
    min-height: 150px;
    height: auto;
    overflow: visible;
    scroll-snap-align: unset;
    transform: none !important;
    animation: none !important;
  }

  .industry-card::after {
    display: none;
  }

  .industry-card > * {
    position: relative;
    z-index: 1;
  }

  .industry-icon {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
    margin-bottom: 14px;
  }

  .industry-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .industry-card p {
    font-size: 0.82rem;
    line-height: 1.55;
    margin: 0;
  }
}

@keyframes scrollClients {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.cta {
  position: relative;
  background: var(--royal-blue);
  text-align: center;
  overflow: hidden;
  padding: 88px 0;
  z-index: 1;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(201, 162, 39, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer {
  background: linear-gradient(180deg, #10101c 0%, var(--dark-gray) 45%, #0d0d18 100%);
  color: var(--white);
  padding: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  margin-top: auto;
  transform: none;
  transform-style: flat;
  isolation: isolate;
  z-index: 2;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.footer-main-center {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-panel {
  width: min(100%, 1100px);
  background: rgba(14, 22, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 18px 18px 16px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  margin: 0 auto;
}

.footer-panel-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
}

.footer-brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.footer-address-box {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  justify-self: center;
  width: 100%;
  max-width: 760px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  text-align: center;
  flex: 1;
}

.footer-presence-col {
  flex: 1;
  text-align: center;
}

.footer-contact-box {
  flex: 1;
  width: 100%;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  background: transparent;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-radius: 0;
  box-shadow: none;
}

.footer-contact-box h4,
.footer-address-box h4 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.footer-contact-box h4::after,
.footer-address-box h4::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 42px;
  height: 2px;
  background: var(--gold);
}

.footer-address-list,
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-address-list p,
.footer-contact-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.94rem;
  line-height: 1.8;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-list a:hover {
  color: var(--gold);
}

.footer-address-list strong {
  color: var(--white);
  font-weight: 600;
}

.footer-copy-wrap {
  margin-top: 10px;
  text-align: center;
  width: 100%;
}

.footer-copy-wrap p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.footer-bottom {
  display: none;
}

@media (max-width: 768px) {
  .footer-main {
    width: 100%;
    text-align: center;
    padding-top: 28px;
  }

  .footer-panel {
    width: 100%;
  }

  .footer-panel-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .footer-address-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: 100%;
    padding: 0;
  }

  .footer-presence-col,
  .footer-contact-box {
    width: 100%;
    max-width: 100%;
  }

  .footer-contact-box {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
  }

  .footer-brand {
    align-items: center;
  }
}

.footer-bottom p {
  margin: 0;
}

/* guard against any horizontal overflow caused by positioned decorations */
.footer,
.footer * {
  max-width: 100%;
  box-sizing: border-box;
}

.footer-grid-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 56px);
  padding-bottom: 8px;
  position: relative;
  width: 100%;
  max-width: 100%;
  align-items: start;
}

.footer-grid>* {
  min-width: 0;
}

.footer-col {
  overflow-wrap: break-word;
  word-break: break-word;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo .logo-title {
  color: var(--white);
}

.footer-logo .logo-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.footer-brand-tagline {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-brand-text {
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
  line-height: 1.85;
  margin-bottom: 0;
  max-width: 36ch;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-link {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--gold);
}

.footer-contact p i {
  color: var(--gold);
  margin-top: 4px;
  width: 16px;
  text-align: center;
}

/* ── Footer: Contact Only (Vertical) ── */
.footer-contact-grid {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  padding-bottom: 8px;
}

.footer-contact-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 480px;
}

.footer-contact-col h4 {
  margin-bottom: 18px;
  font-size: 1rem;
}

.footer-contact-col h4::after {
  left: 50%;
  transform: translateX(-50%);
}

.footer-contact-vertical {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
}

.footer-contact-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0.05));
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: var(--gold);
  font-size: 0.85rem;
  box-shadow: 0 0 16px rgba(201, 162, 39, 0.12);
}

.footer-avail {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  margin-bottom: 6px;
}

.avail-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  white-space: nowrap;
  flex-wrap: nowrap;
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: none;
  text-shadow: 0 0 14px rgba(201, 162, 39, 0.35);
}

.avail-247 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(201, 162, 39, 0.04));
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 50px;
  padding: 3px 12px;
  box-shadow: 0 0 18px rgba(201, 162, 39, 0.18);
  animation: availPulse 2.4s ease-in-out infinite;
}

@media (max-width: 768px) {
  .footer-avail {
    width: 100%;
    overflow: hidden;
  }

  .avail-note {
    gap: 10px;
    white-space: nowrap;
    font-size: clamp(0.75rem, 2.8vw, 1rem);
    letter-spacing: 0.02em;
  }

  .avail-247 {
    font-size: 0.72rem;
    padding: 3px 10px;
  }
}

.avail-247::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20a835;
  box-shadow: 0 0 0 0 rgba(32, 168, 53, 0.6);
  animation: dotPulse 2s infinite;
}

@keyframes availPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(201, 162, 39, 0.14); }
  50% { box-shadow: 0 0 26px rgba(201, 162, 39, 0.32); }
}


.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

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

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--light-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-dark);
  z-index: 2;
  padding: 0;
  overflow: hidden;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.modal-close .close-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-close:hover {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
}

.modal-close:hover .close-icon {
  transform: rotate(90deg);
}

.modal-close:active .close-icon {
  transform: rotate(90deg) scale(0.85);
}

.modal-body {
  padding: 40px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}



.modal-body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  overflow: hidden;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 3px solid rgba(37, 211, 102, 0.3);
  animation: waRipple 2s ease-out infinite;
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.1);
  animation: waPulse 2s ease-in-out infinite;
}

@keyframes waRipple {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes waPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.3);
  }

  50% {
    transform: scale(1.08);
    opacity: 0.6;
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.whatsapp-float:hover::before {
  animation: none;
  opacity: 0;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }
}

.social-float {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}

.social-float a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(11, 29, 58, 0.85);
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.social-float a:hover,
.social-float a:active {
  transform: scale(1.15);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.social-float a[aria-label="Facebook"]:hover,
.social-float a[aria-label="Facebook"]:active {
  background: #1877F2;
}

.social-float a[aria-label="Instagram"]:hover,
.social-float a[aria-label="Instagram"]:active {
  background: #E4405F;
}

.social-float a[aria-label="LinkedIn"]:hover,
.social-float a[aria-label="LinkedIn"]:active {
  background: #0A66C2;
}

.social-float a[aria-label="YouTube"]:hover,
.social-float a[aria-label="YouTube"]:active {
  background: #FF0000;
}

@media (max-width: 768px) {
  .social-float {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    gap: 6px;
  }

  .social-float a {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.modal-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.contact-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.contact-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 36px;
  border-radius: 16px;
  background: var(--light-gray);
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
  min-width: 120px;
  cursor: pointer;
}

.contact-option:hover {
  background: var(--gold-gradient);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(201, 162, 39, 0.25);
}

.contact-option-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-dark);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.contact-option:hover .contact-option-icon {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  box-shadow: none;
}

.contact-option-label {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-option-phone {
  display: flex;
}

@media (max-width: 991px) {
  .contact-option-phone {
    display: flex;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.25s ease, box-shadow 0.3s ease;
  background: var(--white);
}

.form-group select {
  border-color: rgba(201,162,39,0.3);
  color: var(--gold-dark);
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  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 fill='%23c9a227' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group select option {
  color: var(--text-dark);
  font-weight: 400;
  background: var(--white);
}

.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.08);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.08);
}

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

.file-upload-wrap {
  position: relative;
}

.file-upload-wrap input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(220,38,38,0.1);
  color: #dc2626;
  font-size: 0.8rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s ease, transform 0.2s ease;
}

.file-upload-remove:hover {
  background: rgba(220,38,38,0.2);
  transform: scale(1.1);
}

.file-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 20px;
  border: 2px dashed rgba(201,162,39,0.35);
  border-radius: 12px;
  background: rgba(201,162,39,0.03);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.file-upload-wrap:hover .file-upload-box,
.file-upload-wrap input[type="file"]:focus + .file-upload-box {
  border-color: var(--gold);
  background: rgba(201,162,39,0.06);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.08);
}

.file-upload-box i {
  font-size: 2rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.file-upload-wrap:hover .file-upload-box i {
  transform: translateY(-4px);
}

.file-upload-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.file-upload-hint {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-light);
}

.custom-select {
  position: relative;
  width: 100%;
  cursor: pointer;
  user-select: none;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: border-color 0.25s ease, box-shadow 0.3s ease;
}

.custom-select-trigger i {
  font-size: 0.75rem;
  color: var(--text-light);
  transition: transform 0.25s ease;
}

.custom-select.open .custom-select-trigger {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 4px rgba(11,29,58,0.08);
}

.custom-select.open .custom-select-trigger i {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 50;
  display: none;
  max-height: 220px;
  overflow-y: auto;
}

.custom-select.open .custom-select-options {
  display: block;
}

.custom-select-option {
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.custom-select-option:hover {
  background: rgba(11,29,58,0.05);
  color: var(--royal-blue);
}

.custom-select-option .cat-code {
  display: inline-block;
  flex: 0 0 auto;
  min-width: 44px;
  margin-right: 10px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

#cs_category .custom-select-option {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

#cs_category .custom-select-option .cat-code {
  margin-right: 10px;
}

#cs_category .custom-select-option .cat-name {
  overflow: visible;
}

.custom-select-option .cat-name {
  color: var(--text-dark);
}

.custom-select-option:hover .cat-name {
  color: var(--royal-blue);
}

.custom-select-option:not(:last-child) {
  border-bottom: 1px solid var(--light-gray);
}

.multi-select .custom-select-options {
  max-height: 200px;
  overflow-y: auto;
}

.multi-select .custom-select-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.multi-select .custom-select-option.selected {
  background: rgba(11, 29, 58, 0.06);
  color: var(--royal-blue);
  font-weight: 500;
}

.multi-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--light-gray);
  border-radius: 3px;
  font-size: 0.7rem;
  flex-shrink: 0;
  background: var(--white);
}

.custom-select-option.selected .multi-check {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: var(--white);
}

.qty-row input {
  width: 100%;
}

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

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success i {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-light);
  font-size: 1rem;
}

.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: #059669;
}

.toast.error {
  background: #dc2626;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: transform, opacity;
}

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

.page-inner {
  flex: 1;
}

.clients .section-tag::after {
  margin: 4px auto 0;
}

.credentials {
  background: var(--white);
  padding: 40px 0 60px;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

.credentials-header {
  max-width: 1280px;
  text-align: center;
  margin: 0 auto 32px;
}

.credentials-header .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
}

.credentials-header .section-tag::before {
  width: 52px;
  height: 2px;
  margin-top: 1px;
}

.credentials-title {
  font-size: 35.2px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.credentials-desc {
  font-size: clamp(1.3rem, 2vw, 2rem);
  color: var(--text-dark);
  line-height: 1.4;
  font-weight: 400;
  max-width: 980px;
  margin: 0 auto;
}

.credentials-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 46px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.cred-logo {
  padding: 16px 24px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}

.cred-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.cred-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: contain;
  border: 1px solid rgba(20, 26, 40, 0.08);
  background: rgba(255, 255, 255, 0.85);
  padding: 20px;
  transition: var(--transition);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.04));
}

.cred-image:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.12);
}

.featured-products {
  background: var(--off-white);
}

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

.top-product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.top-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.top-product-image {
  height: 240px;
  background: linear-gradient(135deg, var(--royal-blue-light), var(--royal-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.top-product-image .back-image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.top-product-card:hover .top-product-image .front-image {
  opacity: 0;
}

.top-product-card:hover .top-product-image .back-image {
  opacity: 1;
}

.top-product-body {
  padding: 24px;
}

.top-product-body h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.top-product-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.industry-filter-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.industry-filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--light-gray);
  border-radius: 50px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.industry-filter-btn:hover,
.industry-filter-btn.active {
  transform: translateY(-2px);
}

.industry-filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border-color: transparent;
}

.industry-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11, 29, 58, 0.06);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), transparent 40%, transparent 60%, rgba(201, 162, 39, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
  pointer-events: none;
}

.industry-card:hover::after {
  opacity: 1;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201, 162, 39, 0.1);
}

.video-testimonials {
  background: var(--white);
}

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

.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--light-gray);
  transition: var(--transition);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.video-thumb {
  height: 200px;
  background: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-thumb i {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.8;
  transition: var(--transition);
}

.video-card:hover .video-thumb i {
  opacity: 1;
  transform: scale(1.1);
}

.video-info {
  padding: 20px;
}

.video-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.video-info p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.footer-form {
  margin-top: 20px;
}

.footer-form .form-group {
  margin-bottom: 12px;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--white);
  transition: var(--transition);
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-form input:focus,
.footer-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.footer-form textarea {
  min-height: 80px;
  resize: vertical;
}

.footer-form .btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .hero-container {
    padding: 20px 24px 80px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .about-badge {
    right: 10px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .credentials-title {
    font-size: 2.2rem;
  }

  .cta-title {
    font-size: 2.2rem;
  }

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

  .top-products-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 768px) {
  .navbar {
    padding: 2px 0;
  }

  .navbar.scrolled {
    padding: 2px 0;
  }

  .navbar {
    z-index: 1002;
  }

  .nav-home-icon {
    margin-left: auto;
    width: 40px;
    height: 40px;
    margin-right: 5px;
  }

  .nav-toggle {
    margin: 0;
    padding: 8px;
    width: 40px;
    height: 40px;
  }

  .logo-icon-img {
    height: 60px;
  }

  .hero {
    padding-top: 88px;
  }

  .hero-video-section {
    align-items: flex-end;
  }

  .hero-container {
    padding: 20px 16px 40px;
    gap: 32px;
  }

  .section {
    padding: 28px 0;
  }

  .section-header {
    margin-bottom: 16px;
  }

  .section-title {
    font-size: 2rem;
  }

  .credentials-title {
    font-size: 2rem;
  }

  .cred-image {
    width: 100px;
    height: 100px;
    padding: 12px;
  }

  .container {
    padding: 0 16px;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.32, 0.72, 0, 1),
      visibility 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    z-index: 1000;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(11, 29, 58, 0.5);
  }

  .nav-menu {
    position: fixed;
    top: 62px;
    right: 0;
    width: min(340px, 85vw);
    max-height: calc(100dvh - 80px);
    max-height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    padding: 40px 28px 40px;
    gap: 6px;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    z-index: 1001;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.08);
    border-radius: 24px 0 0 24px;
    border-left: 4px solid var(--gold);
    overflow-y: auto;
    pointer-events: none;
  }

  .nav-menu.active {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  .nav-menu .nav-link {
    font-family: 'Plus Jakarta Sans', var(--font-body);
    color: var(--text-dark);
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
    display: block;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
  }

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

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: rgba(201, 162, 39, 0.08);
    color: var(--gold);
  }

  .nav-menu .nav-cta,
  .nav-menu .nav-cta-secondary {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    margin-top: 12px;
    padding: 14px 24px !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    white-space: normal;
  }

  .nav-menu .nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white) !important;
    border: none;
    position: relative;
  }

  .nav-menu .nav-cta:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--white) !important;
  }

  .nav-menu .nav-cta-secondary {
    background: rgba(255, 255, 255, 0.96);
    border: 2px solid var(--royal-blue);
    color: var(--royal-blue) !important;
    box-shadow: 0 4px 16px rgba(11, 29, 58, 0.08);
  }

  .nav-menu .nav-cta-secondary:hover {
    background: var(--white);
    transform: perspective(600px) rotateX(4deg) rotateY(-3deg) translateZ(8px) translateY(-3px);
    box-shadow:
      0 12px 32px rgba(11, 29, 58, 0.18),
      0 4px 12px rgba(11, 29, 58, 0.08);
  }

  .nav-menu .nav-cta-secondary:active {
    transform: perspective(600px) rotateX(-2deg) translateZ(2px) translateY(1px);
    box-shadow: 0 2px 8px rgba(11, 29, 58, 0.1);
  }

  .nav-home-item {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .navbar.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.98);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .hero-actions .btn {
    justify-content: center;
  }

  .hero-scroll {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    gap: 4px;
    font-size: 0.75rem;
  }

  .hero-scroll i {
    font-size: 0.85rem;
  }

  .hero-wave {
    height: 60px;
  }

  .hero-geometric {
    display: none;
  }

  .hero-geometric-2 {
    display: none;
  }

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

  .hero-stat {
    padding: 16px 10px;
  }

  .hero-stat-num {
    font-size: 1.6rem;
  }

  .hero-stat-label {
    font-size: 0.65rem;
  }

  .about-badge {
    right: 10px;
    bottom: -15px;
    padding: 12px 20px;
    font-size: 0.85rem;
  }

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

  .about-feature {
    font-size: 0.85rem;
  }

  .industries-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 16px;
    padding-bottom: 8px;
  }

  .industries-grid::-webkit-scrollbar {
    display: none;
  }

  .industry-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
  }

  .industry-filter-btns {
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .industry-filter-btns::-webkit-scrollbar {
    display: none;
  }

  .industry-filter-btn {
    flex-shrink: 0;
    padding: 8px 18px;
    font-size: 0.8rem;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .manufacturing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .manufacturing-card {
    padding: 24px 20px;
  }

  .cert-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .cert-card {
    padding: 24px 20px;
  }

  .cta-title {
    font-size: 1.6rem;
  }

  .cta-text {
    font-size: 1rem;
  }

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

  .cta-actions .btn {
    justify-content: center;
  }

  .testimonial-card {
    padding: 32px 24px;
  }

  .footer {
    padding: 0;
  }

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

  .footer-brand p {
    max-width: none;
  }

  .footer-bottom {
    margin-top: 0;
    padding: 14px 20px 16px;
  }

  .footer-social {
    justify-content: center;
  }

  .top-products-grid {
    grid-template-columns: 1fr;
  }

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

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

  .modal {
    max-width: 100%;
    margin: 0 12px;
    border-radius: var(--radius-lg);
  }

  .modal-body {
    padding: 28px 24px;
  }

  .modal-close {
    width: 36px;
    height: 36px;
    top: 12px;
    right: 12px;
  }

  .toast {
    right: 16px;
    left: 16px;
    bottom: 16px;
    text-align: center;
  }

  .page-hero {
    padding: 120px 0 40px;
  }

  .page-hero .section-title {
    font-size: 2rem;
  }

  .industry-card p {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .feature-card p {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .cert-card p {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .about-text {
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: left;
  }

  .btn {
    white-space: normal;
    word-break: break-word;
  }

  .section-desc {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero-video-wrap {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
  }

  .hero-video {
    object-fit: cover;
    object-position: calc(50% + 7%) center;
  }

  .hero-video-section .hero-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 16px;
  }

  .hero-video-section .hero-content {
    max-width: 100%;
    padding-right: 0;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    justify-self: start;
  }

  .hero-video-section .hero-stats {
    grid-column: 1;
    grid-row: 2;
    gap: 24px;
    justify-content: center;
    align-self: center;
  }

  .hero-video-section .hero-stat-num {
    font-size: 1.6rem;
  }

  .hero-video-section .hero-stat-label {
    font-size: 0.7rem;
  }

  .hero-video-section .hero-visual {
    display: none;
  }

  .hero-video-section .hero-title {
    font-size: 36px;
  }

  .hero-video-section .hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 84px;
  }

  .hero-video-section {
    align-items: flex-end;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 6px 14px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn {
    padding: 14px 24px;
    font-size: 0.85rem;
  }

  .hero-container {
    padding: 16px 16px 32px;
    gap: 24px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .hero-stat {
    padding: 10px 8px;
  }

  .hero-stat-num {
    font-size: 1.3rem;
  }

  .hero-stat-label {
    font-size: 0.55rem;
  }

  .hero-scroll {
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    gap: 4px;
    font-size: 0.7rem;
  }

  .hero-scroll i {
    font-size: 0.8rem;
  }

  .nav-menu {
    width: min(300px, 88vw);
    padding: 36px 24px 36px;
  }

  .about-badge {
    padding: 10px 16px;
    font-size: 0.75rem;
    right: 5px;
    bottom: -12px;
  }

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

  .about-feature {
    font-size: 0.8rem;
  }

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

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

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

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  .footer-brand p {
    font-size: 0.85rem;
  }

  .footer-col h4 {
    font-size: 1rem;
  }

  .footer-contact p {
    font-size: 0.85rem;
  }

  .footer-contact p i {
    flex-shrink: 0;
  }

  .modal-body {
    padding: 24px 18px;
  }

  .modal-close {
    width: 32px;
    height: 32px;
    top: 10px;
    right: 10px;
    font-size: 0.85rem;
  }

  .modal-body h2 {
    font-size: 1.3rem;
  }

  .page-hero {
    padding: 100px 0 32px;
  }

  .page-hero .section-title {
    font-size: 1.6rem;
  }

  .industry-card h3 {
    word-break: break-word;
  }

  .industry-card p {
    font-size: 0.8rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .feature-card h3 {
    word-break: break-word;
  }

  .feature-card p {
    font-size: 0.8rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .manufacturing-card h3 {
    word-break: break-word;
  }

  .manufacturing-card p {
    font-size: 0.8rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .cert-card h3 {
    word-break: break-word;
  }

  .cert-card p {
    font-size: 0.75rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .btn {
    white-space: normal;
    word-break: break-word;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
  }

  .hero-stat {
    padding: 10px 6px;
  }

  .hero-stat-num {
    font-size: 1.2rem;
  }

  .hero-stat-label {
    font-size: 0.55rem;
  }

  .hero-container {
    padding: 12px 12px 24px;
    gap: 16px;
  }

  .hero-stat {
    padding: 8px 6px;
  }

  .hero-stat-num {
    font-size: 1.1rem;
  }

  .hero-stat-label {
    font-size: 0.5rem;
  }

  .hero-scroll {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    gap: 3px;
    font-size: 0.65rem;
  }

  .hero-scroll i {
    font-size: 0.75rem;
  }

  .hero-badge {
    font-size: 0.6rem;
    padding: 5px 12px;
  }

  .industry-card {
    padding: 24px 16px;
  }

  .industry-card h3 {
    font-size: 1rem;
  }

  .industry-card p {
    font-size: 0.78rem;
  }

  .feature-card {
    padding: 20px 16px;
  }

  .manufacturing-card {
    padding: 20px 16px;
  }

  .cert-card {
    padding: 20px 16px;
  }

  .about-text {
    font-size: 0.9rem;
    text-align: left;
  }

  .about-feature {
    font-size: 0.75rem;
  }

  .cta-title {
    font-size: 1.3rem;
  }

  .cta-text {
    font-size: 0.85rem;
  }

  .testimonial-card {
    padding: 24px 16px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .testimonial-text::before {
    font-size: 2rem;
  }

  .testimonial-author {
    font-size: 0.85rem;
  }

  .testimonial-role {
    font-size: 0.75rem;
  }

  .nav-menu {
    width: 260px;
    padding: 32px 18px 32px;
  }

  .section {
    padding: 24px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .section-desc {
    font-size: 0.9rem;
  }

  .page-hero .section-title {
    font-size: 1.4rem;
  }
}

@media (hover: none) and (pointer: coarse) {
  .nav-link::after {
    display: none;
  }

  .hero-stat:hover {
    transform: none;
  }


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

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

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

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

  .about-image-frame:hover .about-image-placeholder img {
    transform: none;
  }

  .top-product-card:hover {
    transform: none;
  }
}


/* =============================================
   3D EFFECTS & PREMIUM ANIMATIONS
   ============================================= */

:root {
  --perspective-3d: 1000px;
  --tilt-max: 12deg;
  --depth-z: 60px;
}

/* --- 3D Tilt Cards --- */
.tilt-3d {
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
}

.tilt-3d-content {
  transform: translateZ(30px);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.tilt-3d-content-close {
  transform: translateZ(15px);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.tilt-3d-content-far {
  transform: translateZ(50px);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.tilt-3d-icon,
.tilt-3d-badge {
  transform: translateZ(40px);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

/* --- 3D Floating Elements --- */
@keyframes float3d {

  0%,
  100% {
    transform: translateZ(0) translateY(0) rotate(0deg);
  }

  25% {
    transform: translateZ(20px) translateY(-10px) rotate(3deg);
  }

  50% {
    transform: translateZ(35px) translateY(-20px) rotate(0deg);
  }

  75% {
    transform: translateZ(15px) translateY(-10px) rotate(-3deg);
  }
}

@keyframes float3d-slow {

  0%,
  100% {
    transform: translateZ(0) translateY(0) rotate(0deg);
  }

  33% {
    transform: translateZ(25px) translateY(-15px) rotate(4deg);
  }

  66% {
    transform: translateZ(10px) translateY(-8px) rotate(-3deg);
  }
}

.float-3d {
  animation: float3d 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

.float-3d-slow {
  animation: float3d-slow 8s ease-in-out infinite;
  transform-style: preserve-3d;
}

.float-3d-delayed {
  animation: float3d 7s ease-in-out infinite;
  animation-delay: -3s;
  transform-style: preserve-3d;
}

/* --- 3D Scroll Reveal --- */
.reveal-3d {
  opacity: 0;
  transform: perspective(var(--perspective-3d)) rotateX(15deg) translateY(60px) translateZ(-20px);
  transform-origin: top center;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, opacity;
}

.reveal-3d.visible {
  opacity: 1;
  transform: perspective(var(--perspective-3d)) rotateX(0deg) translateY(0) translateZ(0);
}

.reveal-3d-left {
  opacity: 0;
  transform: perspective(var(--perspective-3d)) rotateY(20deg) translateX(-50px) translateZ(-20px);
  transform-origin: left center;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, opacity;
}

.reveal-3d-left.visible {
  opacity: 1;
  transform: perspective(var(--perspective-3d)) rotateY(0deg) translateX(0) translateZ(0);
}

.reveal-3d-right {
  opacity: 0;
  transform: perspective(var(--perspective-3d)) rotateY(-20deg) translateX(50px) translateZ(-20px);
  transform-origin: right center;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, opacity;
}

.reveal-3d-right.visible {
  opacity: 1;
  transform: perspective(var(--perspective-3d)) rotateY(0deg) translateX(0) translateZ(0);
}

.reveal-3d-scale {
  opacity: 0;
  transform: perspective(var(--perspective-3d)) scale3d(0.8, 0.8, 0.8) translateY(40px);
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, opacity;
}

.reveal-3d-scale.visible {
  opacity: 1;
  transform: perspective(var(--perspective-3d)) scale3d(1, 1, 1) translateY(0);
}

/* --- 3D Glassmorphism --- */
.glass-3d {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform-style: preserve-3d;
}

.glass-3d-gold {
  background: rgba(201, 162, 39, 0.05);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(201, 162, 39, 0.12);
  box-shadow:
    0 8px 32px rgba(201, 162, 39, 0.08),
    inset 0 1px 0 rgba(201, 162, 39, 0.06);
  transform-style: preserve-3d;
}

/* --- 3D Buttons --- */
.btn-3d {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease;
}

.btn-3d::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  filter: brightness(0.7);
  transform: translateZ(-12px);
  opacity: 0.5;
  z-index: -1;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.btn-3d::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: inherit;
  opacity: 0;
  z-index: -2;
  transition: opacity 0.4s ease;
}

.btn-3d:hover {
  transform: translateY(-4px) translateZ(12px);
  box-shadow: var(--shadow-lg);
}

.btn-3d:hover::after {
  transform: translateZ(-18px);
  opacity: 0.7;
}

.btn-3d:hover::before {
  opacity: 0.3;
}

.btn-3d:active {
  transform: translateY(0) translateZ(0);
}

.btn-3d:active::after {
  transform: translateZ(-6px);
  opacity: 0.6;
}

/* --- 3D Hero Depth Layers --- */
.hero-depth-1 {
  transform: translateZ(10px);
}

.hero-depth-2 {
  transform: translateZ(30px);
}

.hero-depth-3 {
  transform: translateZ(55px);
}

.hero-depth-4 {
  transform: translateZ(80px);
}

.hero-content {
  transform-style: preserve-3d;
}

.hero-title {
  text-shadow: 0 4px 30px rgba(201, 162, 39, 0.15);
}

.hero-badge {
  backface-visibility: hidden;
}

/* --- 3D Geometric Decorations --- */
.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 39, 0.08);
  pointer-events: none;
  transform-style: preserve-3d;
  will-change: transform;
}

.geo-ring-pulse {
  animation: ringPulse 5s ease-in-out infinite;
}

@keyframes ringPulse {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.2;
  }

  50% {
    transform: scale(1.12) rotate(180deg);
    opacity: 0.5;
  }
}

.geo-ring-spin {
  animation: ringSpin3d 8s linear infinite;
}

@keyframes ringSpin3d {
  from {
    transform: perspective(800px) rotateX(20deg) rotateY(0deg);
  }

  to {
    transform: perspective(800px) rotateX(20deg) rotateY(360deg);
  }
}

/* --- 3D Cube Decorations --- */
.geo-cube {
  position: absolute;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(201, 162, 39, 0.08);
  border-radius: 16px;
  pointer-events: none;
  transform-style: preserve-3d;
  animation: cubeFloat 15s ease-in-out infinite;
  background: rgba(201, 162, 39, 0.02);
  box-shadow: 0 0 40px rgba(201, 162, 39, 0.03);
}

@keyframes cubeFloat {

  0%,
  100% {
    transform: perspective(800px) rotateX(20deg) rotateY(30deg) translateY(0) translateZ(0);
    box-shadow: 0 0 40px rgba(201, 162, 39, 0.03);
  }

  25% {
    transform: perspective(800px) rotateX(30deg) rotateY(50deg) translateY(-15px) translateZ(10px);
  }

  50% {
    transform: perspective(800px) rotateX(25deg) rotateY(60deg) translateY(-25px) translateZ(20px);
    box-shadow: 0 0 60px rgba(201, 162, 39, 0.06);
  }

  75% {
    transform: perspective(800px) rotateX(35deg) rotateY(40deg) translateY(-10px) translateZ(5px);
  }
}

/* --- 3D Glow Lines --- */
.glow-line {
  position: absolute;
  pointer-events: none;
  transform-style: preserve-3d;
}

.glow-line-h {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.15), transparent);
  animation: glowLineH 5s ease-in-out infinite;
}

@keyframes glowLineH {

  0%,
  100% {
    opacity: 0.15;
    transform: scaleX(0.7);
  }

  50% {
    opacity: 0.5;
    transform: scaleX(1);
  }
}

/* --- 3D Shine Overlay --- */
.shine-3d {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

/* =============================================
   PREMIUM 3D EFFECTS ENGINE
   ============================================= */

/* --- Page-level 3D Perspective --- */
.page-3d-wrap {
  perspective: var(--perspective-3d);
  transform-style: preserve-3d;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --- 3D Layer Depth System --- */
.layer-3d-1 {
  transform: translateZ(5px);
}

.layer-3d-2 {
  transform: translateZ(15px);
}

.layer-3d-3 {
  transform: translateZ(30px);
}

.layer-3d-4 {
  transform: translateZ(50px);
}

/* --- 3D Image Depth --- */
.img-depth {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
}

.img-depth:hover {
  transform: perspective(var(--perspective-3d)) rotateY(-5deg) rotateX(3deg) translateZ(15px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.img-depth::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

.img-depth:hover::before {
  opacity: 1;
}

/* --- 3D Stats Tilt --- */
.stat-tilt {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  backface-visibility: hidden;
}

/* --- Enhanced Product/Industry/Feature/Cert Cards 3D --- */
.industry-card,
.feature-card,
.manufacturing-card,
.cert-card {
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.industry-card:hover,
.feature-card:hover,
.manufacturing-card:hover,
.cert-card:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 8px 20px rgba(201, 162, 39, 0.08);
}

.product-icon,
.industry-icon,
.feature-icon,
.manufacturing-icon,
.cert-icon {
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- 3D Tilt Card System --- */
.tilt-3d {
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
}

.tilt-3d-content {
  transform: translateZ(25px);
  pointer-events: none;
  display: inline-block;
}

.tilt-3d-content-close {
  transform: translateZ(12px);
  pointer-events: none;
  display: inline-block;
}

.tilt-3d-content-far {
  transform: translateZ(40px);
  pointer-events: none;
  display: inline-block;
}

/* --- 3D Scroll Reveal System --- */
.reveal-3d {
  opacity: 0;
  transform: perspective(var(--perspective-3d)) rotateX(12deg) translateY(50px);
  transform-origin: top center;
  transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, opacity;
}

.reveal-3d.visible {
  opacity: 1;
  transform: perspective(var(--perspective-3d)) rotateX(0deg) translateY(0);
}

.reveal-3d-left {
  opacity: 0;
  transform: perspective(var(--perspective-3d)) rotateY(15deg) translateX(-50px);
  transform-origin: left center;
  transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, opacity;
}

.reveal-3d-left.visible {
  opacity: 1;
  transform: perspective(var(--perspective-3d)) rotateY(0deg) translateX(0);
}

.reveal-3d-right {
  opacity: 0;
  transform: perspective(var(--perspective-3d)) rotateY(-15deg) translateX(50px);
  transform-origin: right center;
  transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, opacity;
}

.reveal-3d-right.visible {
  opacity: 1;
  transform: perspective(var(--perspective-3d)) rotateY(0deg) translateX(0);
}

.reveal-3d-scale {
  opacity: 0;
  transform: perspective(var(--perspective-3d)) scale3d(0.85, 0.85, 0.85) translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, opacity;
}

.reveal-3d-scale.visible {
  opacity: 1;
  transform: perspective(var(--perspective-3d)) scale3d(1, 1, 1) translateY(0);
}

/* --- 3D Floating Animations --- */
@keyframes float3d {

  0%,
  100% {
    transform: translateZ(0) translateY(0) rotate(0deg);
  }

  25% {
    transform: translateZ(15px) translateY(-10px) rotate(2deg);
  }

  50% {
    transform: translateZ(30px) translateY(-18px) rotate(0deg);
  }

  75% {
    transform: translateZ(10px) translateY(-8px) rotate(-2deg);
  }
}

@keyframes float3d-slow {

  0%,
  100% {
    transform: translateZ(0) translateY(0);
  }

  33% {
    transform: translateZ(20px) translateY(-12px);
  }

  66% {
    transform: translateZ(10px) translateY(-6px);
  }
}

.float-3d {
  animation: float3d 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

.float-3d-slow {
  animation: float3d-slow 8s ease-in-out infinite;
  transform-style: preserve-3d;
}

/* --- 3D Glassmorphism --- */
.glass-3d {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform-style: preserve-3d;
}

.glass-3d-gold {
  background: rgba(201, 162, 39, 0.05);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(201, 162, 39, 0.12);
  box-shadow:
    0 8px 32px rgba(201, 162, 39, 0.08),
    inset 0 1px 0 rgba(201, 162, 39, 0.06);
  transform-style: preserve-3d;
}

/* --- 3D Button System --- */
.btn {
  transform-style: preserve-3d;
}

.btn-3d {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.btn-3d::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  filter: brightness(0.65);
  transform: translateZ(-8px);
  opacity: 0.5;
  z-index: -1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-3d:hover {
  transform: translateY(-3px) translateZ(10px);
  box-shadow: 0 12px 40px rgba(201, 162, 39, 0.3);
}

.btn-3d:hover::after {
  transform: translateZ(-14px);
  opacity: 0.7;
}

.btn-3d:active {
  transform: translateY(0) translateZ(0);
}

.btn-3d:active::after {
  transform: translateZ(-4px);
}

.btn-outline.btn-3d::after {
  background: rgba(255, 255, 255, 0.1);
  border: inherit;
}

/* --- 3D Hero Depth System --- */
.hero-depth-layer {
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-depth-1 {
  transform: translateZ(5px);
}

.hero-depth-2 {
  transform: translateZ(20px);
}

.hero-depth-3 {
  transform: translateZ(40px);
}

.hero-depth-4 {
  transform: translateZ(60px);
}

/* --- 3D Geometric Decoration Rings --- */
.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.08);
  pointer-events: none;
  transform-style: preserve-3d;
  will-change: transform;
}

.geo-ring-pulse {
  animation: ringPulse 4s ease-in-out infinite;
}

@keyframes ringPulse {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.2;
  }

  50% {
    transform: scale(1.1) rotate(180deg);
    opacity: 0.5;
  }
}

/* --- 3D Floating Particles --- */
.particle-3d {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(201, 162, 39, 0.3);
  pointer-events: none;
  transform-style: preserve-3d;
}

@keyframes particleRise {
  0% {
    transform: translateY(0) translateZ(0) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) translateZ(40px) scale(1);
    opacity: 0;
  }
}

/* --- 3D Navbar Enhancement --- */
.navbar {
  backface-visibility: hidden;
}

.nav-link::after {
  height: 2px;
  bottom: -2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 0 8px rgba(201, 162, 39, 0.2);
  transform: scaleX(0);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* --- Footer stays flat (no 3D shrink under page perspective) --- */
.footer {
  transform: none !important;
  transform-style: flat;
}

.footer-col h4::after {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transform: scaleX(0);
  transform-origin: left center;
}

.footer-col:hover h4::after {
  transform: scaleX(1);
}

.footer-social a {
  backface-visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-3px) scale(1.1);
}

/* --- 3D Modal Enhancement --- */
.modal {
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* --- 3D Section Divider Glow --- */
.section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.section:hover::before {
  opacity: 1;
}

.about::before,
.products::before,
.industries::before,
.testimonials::before {
  display: none;
}

/* --- Perspective Row (cards that react to each other) --- */
.perspective-row {
  perspective: 1200px;
  perspective-origin: center top;
}

.perspective-row>* {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    filter 0.5s ease, opacity 0.5s ease;
}

.perspective-row:hover>*:not(:hover) {
  transform: translateZ(-10px) scale(0.97);
  filter: brightness(0.92);
  opacity: 0.85;
}

.perspective-row>*:hover {
  transform: translateZ(25px) scale(1.03);
  z-index: 2;
}

/* --- 3D Scroll Progress Bar --- */
.scroll-progress-3d {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  z-index: 10001;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.1s linear;
  box-shadow: 0 0 15px rgba(201, 162, 39, 0.4);
  will-change: transform;
}

/* --- 3D Text Effect --- */
.text-glow-3d {
  text-shadow:
    0 1px 0 rgba(201, 162, 39, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 4px 15px rgba(201, 162, 39, 0.15);
}

/* --- 3D Depth Shadow Utilities --- */
.shadow-depth-1 {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.shadow-depth-2 {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.shadow-depth-3 {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* --- 3D Gradient Border Animation --- */
.border-glow-3d {
  position: relative;
  isolation: isolate;
}

.border-glow-3d::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 0deg at 50% 50%,
      transparent 0deg,
      rgba(201, 162, 39, 0.3) 90deg,
      transparent 180deg,
      rgba(201, 162, 39, 0.3) 270deg,
      transparent 360deg);
  z-index: -1;
  animation: borderSpin 4s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 1px;
}

@keyframes borderSpin {
  to {
    transform: rotate(360deg);
  }
}

/* --- 3D Hero Geometric Cube --- */
.geo-cube-3d {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(201, 162, 39, 0.1);
  border-radius: 10px;
  pointer-events: none;
  transform-style: preserve-3d;
  animation: cubeFloat3d 12s ease-in-out infinite;
}

@keyframes cubeFloat3d {

  0%,
  100% {
    transform: perspective(800px) rotateX(15deg) rotateY(20deg) translateY(0);
  }

  50% {
    transform: perspective(800px) rotateX(25deg) rotateY(40deg) translateY(-25px);
  }
}

/* --- 3D Loader Enhancement --- */
.loader-ring {
  backface-visibility: hidden;
}

/* --- 3D WhatsApp Float --- */
.whatsapp-float {
  backface-visibility: hidden;
}

/* --- Touch Device Safeguards --- */
@media (hover: none) and (pointer: coarse) {

  .tilt-3d,
  .stat-tilt,
  .img-depth,
  .btn-3d {
    transform: none !important;
  }

  .img-depth:hover,
  .btn-3d:hover,
  .perspective-row>*:hover {
    transform: none !important;
  }

  .perspective-row:hover>*:not(:hover) {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .geo-ring,
  .geo-cube-3d,
  .particle-3d {
    display: none;
  }
}

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

  .loader-ring,
  .loader-brand-icon,
  .whatsapp-float {
    animation: none !important;
  }

  body>*:not(#loader):not(script) {
    transition: none !important;
  }

  .reveal,
  .reveal-3d,
  .reveal-3d-left,
  .reveal-3d-right,
  .reveal-3d-scale {
    opacity: 1 !important;
    transform: none !important;
  }

  .nav-menu,
  .nav-menu .nav-link,
  .nav-backdrop,
  .nav-toggle span {
    transition: none !important;
  }

  .nav-menu {
    transform: translate3d(100%, 0, 0) !important;
    transition: none !important;
    pointer-events: none !important;
  }

  .nav-menu.active {
    transform: translate3d(0, 0, 0) !important;
    pointer-events: auto !important;
  }

  .nav-backdrop {
    opacity: 0 !important;
  }

  .nav-backdrop.active {
    opacity: 1 !important;
  }
}

/* ── Premium Design System ── */

::selection {
  background: var(--gold);
  color: var(--white);
  text-shadow: none;
}

::-moz-selection {
  background: var(--gold);
  color: var(--white);
}

::-webkit-scrollbar {
  display: none;
}

html {
  scrollbar-width: none;
}

/* ---------------------------------------------------------------------------
   Overflow / Decorative element safeguards
   Constrain large absolutely-positioned decorations so they cannot push
   the page wider than the viewport. These are defensive overrides —
   tweak per-element for more precise visuals if desired.
   ------------------------------------------------------------------------ */

/* Clip common container types */
.hero,
.page-hero,
.feature-card,
.cta {
  overflow-x: hidden !important;
}

/* Constrain geometric/decorative shapes */
.hero-geometric,
.hero-geometric-2,
.loader-shine,
.feature-card::before,
.about-image-frame::after,
.loader-shimmer::before,
.btn-primary::after,
.shine-3d {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  max-width: 100vw !important;
  width: auto !important;
  box-sizing: border-box !important;
}

/* Reduce size of hero geometry on narrow screens */
@media (max-width: 992px) {
  .hero-geometric {
    width: min(320px, 40vw);
    height: min(320px, 40vw);
    top: -10vw;
    right: -6vw;
  }

  .hero-geometric-2 {
    width: min(260px, 34vw);
    height: min(260px, 34vw);
    left: -6vw;
    bottom: -6vw;
  }
}

/* Keep pseudo elements inside their parent bounds */
*::before,
*::after {
  max-width: 100vw !important;
  box-sizing: border-box !important;
}




*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.section-title.gold-text,
.gold-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Button Shimmer ── */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(25deg) translateX(-60%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn-primary:hover::after {
  transform: rotate(25deg) translateX(120%);
}

/* ── Card Glow ── */
.industry-card,
.hp-product-card,
.feature-card,
.top-product-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  will-change: transform;
}

.industry-card:hover,
.hp-product-card:hover,
.feature-card:hover,
.top-product-card:hover {
  box-shadow: 0 20px 50px rgba(11, 29, 58, 0.12), 0 0 0 1px rgba(201, 162, 39, 0.15);
  transform: translateY(-8px) scale(1.01);
}

/* ── Focus Ring for Buttons ── */
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--gold);
}

/* ── Image Loading Fade ── */
img {
  opacity: 0;
  transition: opacity 0.4s ease;
}

img.loaded,
img[src] {
  opacity: 1;
}

/* ── Footer Gold Accent ── */
.footer-bottom {
  position: relative;
  overflow: hidden;
}

/* ── Text Reveal ── */
.rk-text-reveal {
  animation: textReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity, filter;
}

@keyframes textReveal {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }

  40% {
    opacity: 1;
  }

  80% {
    transform: translateY(-1px) scale(1.001);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.rk-text-fade {
  animation: textFadeUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes textFadeUp {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Premium Design System v2 ── */

/* Gradient Text - Premium */
.gradient-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Premium Enhancements */
.hero {
  background: linear-gradient(135deg, #0a1628 0%, #0f2140 40%, #162d52 70%, #0f2140 100%);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(201, 162, 39, 0.04) 0%, transparent 40%);
  z-index: 0;
  pointer-events: none;
}

/* Glass Card Premium */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 162, 39, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* Card 3D Hover System */
.card-3d {
  transform-style: preserve-3d;
  perspective: 800px;
}

.card-3d .card-face {
  backface-visibility: hidden;
  transition: transform 0.5s var(--ease-out-expo);
}

.card-3d:hover .card-face {
  transform: rotateY(-3deg) rotateX(2deg);
}

/* Hero Stat Premium Upgrade */
.hero-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.hero-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-stat:hover::before {
  opacity: 1;
}

.hero-stat:hover {
  border-color: rgba(201, 162, 39, 0.2);
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.08);
}

/* Hero Title Premium */
.hero-title {
  letter-spacing: -0.02em;
}

.hero-title .gradient-gold {
  display: inline;
}

/* Section Tag Premium */
.section-tag {
  font-weight: 700;
  letter-spacing: 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.section-tag::after {
  display: none;
}

.page-hero .section-tag::before {
  background: var(--gold-light);
}

/* Section Title Premium */
.section-title {
  letter-spacing: -0.02em;
  position: relative;
}

/* Section Desc Premium */
.section-desc {
  font-size: 1.1rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Button Premium Enhancement */
.btn {
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 30%, var(--gold-dark) 100%);
  background-size: 200% 200%;
  animation: goldShift 4s ease-in-out infinite;
}

@keyframes goldShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(201, 162, 39, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s var(--ease-out-expo);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 39, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.1);
}

/* About Badge Premium */
.about-badge {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, var(--gold-dark) 100%);
  padding: 18px 32px;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  box-shadow: 0 12px 40px rgba(201, 162, 39, 0.25);
  border-radius: var(--radius-sm);
}

.about-badge::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-sm) + 2px);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.3), transparent, rgba(201, 162, 39, 0.3));
  z-index: -1;
  opacity: 0.5;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.8;
  }
}

/* About Image Premium Frame */
.about-image-frame {
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(11, 29, 58, 0.15);
  position: relative;
}

.about-image-frame::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.2), transparent 40%, rgba(201, 162, 39, 0.1));
  z-index: -1;
}

/* Feature Card Premium (Why Us page) */
.feature-card {
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(201, 162, 39, 0.03), transparent 60%);
  animation: cardRotateGlow 8s linear infinite;
  pointer-events: none;
}

@keyframes cardRotateGlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 162, 39, 0.12);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Industry Card Premium */
.industry-card {
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(201, 162, 39, 0.03));
  pointer-events: none;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(201, 162, 39, 0.1);
  border-color: transparent;
}

/* Testimonial Card Premium */
.testimonial-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

/* CTA Section Premium */
.cta {
  background: linear-gradient(135deg, #0a1628 0%, #0f2140 40%, #162d52 100%);
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 162, 39, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(201, 162, 39, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.cta-title {
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cta-text {
  position: relative;
  z-index: 1;
}

.cta-actions {
  position: relative;
  z-index: 1;
}

/* Credentials Premium */
.cred-logo {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 14px 28px;
  border: 1px solid var(--light-gray);
  border-radius: 50px;
  transition: all 0.3s var(--ease-out-expo);
  background: var(--white);
}

.cred-logo:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.1);
  transform: translateY(-2px);
}

/* Navbar Scrolled Premium */
.navbar.scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 8px 40px rgba(0, 0, 0, 0.04);
}

/* Footer Premium */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.35), transparent);
  pointer-events: none;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 80%);
  height: 120px;
  background: radial-gradient(ellipse at center top, rgba(201, 162, 39, 0.07), transparent 70%);
  pointer-events: none;
}

.footer-col h4 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Image Reveal Premium */
img {
  transition: transform 0.6s var(--ease-out-expo), opacity 0.4s ease;
}

img:hover {
  transform: scale(1.02);
}

/* Smooth Section Entry */
.section {
  position: relative;
}

/* Page Hero Premium */
.page-hero {
  background: linear-gradient(135deg, #f0f3f8 0%, #e8ecf4 100%);
  position: relative;
  overflow: hidden;
}

/* ── Products Section ── */
.products-section {
  padding: 60px 0 100px;
  background: var(--off-white);
}

/* ── Filter Bar ── */
.products-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--light-gray);
  border-radius: 50px;
  background: var(--white);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 39, 0.05);
}

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

/* ── Product Category Cards (Homepage) ── */
.hp-product-card {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid rgba(201, 162, 39, 0.08);
  animation: cardFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: all 0.5s var(--ease-out-expo);
  overflow: visible;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.06));
}

.hp-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 10px 30px rgba(201, 162, 39, 0.08);
  border-color: transparent;
}

.hp-product-card-inner {
  background: var(--white);
  border-radius: 20px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(201, 162, 39, 0.08);
  transition: border-radius 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s ease, border-color 0.6s ease;
  overflow: visible;
}

.product-card-image-section {
  padding: 20px 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.03), transparent 60%);
  border-radius: 20px 20px 0 0;
  transition: border-radius 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: visible;
}

.product-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  margin-top: -40px;
}

.product-icon-wrap i {
  transition: transform 0.4s var(--ease-out-expo);
}

.hp-product-card:hover .product-icon-wrap i {
  transform: scale(1.15);
}

.hp-product-card-body {
  padding: 10px 16px 24px;
  text-align: center;
  position: relative;
}

.product-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.hp-product-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.35;
  transition: color 0.4s ease, transform 0.5s var(--ease-out-expo);
}

.hp-product-card:hover .hp-product-card-body h3 {
  color: var(--gold-dark);
  transform: scale(0.94);
}

.hp-product-card-body p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
}

.product-link i {
  font-size: 0.75rem;
  transition: transform 0.3s var(--ease-out-expo);
}

@keyframes cardFadeIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Products Layout ── */
.products-page {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background: var(--white);
}

.products-page::-webkit-scrollbar {
  display: block;
  width: 6px;
}

.products-page::-webkit-scrollbar-track {
  background: transparent;
}

.products-page::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  border-radius: 3px;
}

.products-page::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
}

/* ── Products Hero ── */
.products-hero {
  width: 100%;
  padding: 48px 24px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.products-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(11, 29, 58, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.products-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.products-hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.products-hero-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.products-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
  font-weight: 400;
}

/* ── Sticky Filter Bar ── */
.products-sticky-bar {
  width: 100%;
  position: sticky;
  top: 80px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--light-gray);
  transition: box-shadow 0.3s ease;
}

.products-sticky-bar.is-stuck {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 4px 20px rgba(0, 0, 0, 0.04);
}

.products-sticky-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-tags {
  position: relative;
  display: flex;
  gap: 4px;
  background: var(--off-white);
  padding: 3px;
  border-radius: 12px;
  border: 1px solid var(--light-gray);
}

.filter-slider {
  position: absolute;
  top: 3px;
  left: 0;
  height: calc(100% - 6px);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  z-index: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, width;
}

.filter-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, transparent 60%);
  pointer-events: none;
}

.filter-tag {
  position: relative;
  padding: 8px 24px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 1;
}

.filter-tag:hover {
  color: var(--text-dark);
}

.filter-tag.active {
  color: var(--text-dark);
  font-weight: 600;
}

.products-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ── Apple-style Product Grid ── */
.products-catalog {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

@media (max-width: 640px) {
  .products-catalog {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
  transform: translateY(30px);
  opacity: 0;
  will-change: transform, opacity;
}

.product-card.visible {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), opacity 0.5s ease;
}

.product-card.hidden {
  display: none;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
  border-color: rgba(201, 162, 39, 0.15);
}

.product-card-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.04), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 16px;
  min-height: 260px;
}

.product-card-k-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  background: linear-gradient(135deg, var(--royal-blue), #0b1d3a);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 0 0 12px 0;
  box-shadow: 0 4px 14px rgba(0, 59, 142, 0.25);
}

.product-card-img {
  width: 85%;
  height: auto;
  object-fit: contain;
  transition: transform 0.6s var(--ease-out-expo);
  transform: scale(1);
  image-rendering: auto;
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.product-card-img-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.15) 45%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.15) 55%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover .product-card-img-shine {
  opacity: 1;
  animation: productShimmer 0.8s ease forwards;
}

@keyframes productShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.product-card-body {
  padding: 20px 28px 28px;
  text-align: center;
}

.product-card-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.product-card-code {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 6px;
  background: rgba(201, 162, 39, 0.08);
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: var(--font-heading);
}

.product-card-category {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--royal-blue);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.product-card-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.product-card-flavor {
  display: block;
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.product-card-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: 0 4px 14px rgba(11, 29, 58, 0.25);
}

.product-card-btn i {
  font-size: 0.7rem;
  transition: transform 0.3s var(--ease-out-expo);
}

.product-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.3);
}

.product-card-btn:hover i {
  transform: translateX(4px);
}

.product-card-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.15);
}

.product-card--french-rose .product-card-btn {
  margin-top: 43px;
}

/* ── Package Size Alert Banner ── */
.pkg-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(11, 29, 58, 0.5);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pkg-popup-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.pkg-popup {
  background: var(--white);
  border-radius: 16px;
  padding: 24px 32px 20px;
  max-width: 600px;
  width: 90%;
  margin-top: 140px;
  box-shadow: 0 16px 60px rgba(11, 29, 58, 0.2);
  text-align: center;
  height: fit-content;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pkg-popup-overlay.is-visible .pkg-popup {
  opacity: 1;
  transform: translateY(0);
}

.pkg-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(201, 162, 39, 0.1);
  border-radius: 50%;
  color: var(--gold-dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.pkg-popup-close .close-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pkg-popup-close:hover {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
}

.pkg-popup-close:hover .close-icon {
  transform: rotate(90deg);
}

.pkg-popup-close:active .close-icon {
  transform: rotate(90deg) scale(0.85);
}

.pkg-popup-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.3);
  margin: 0 auto 16px;
}

.pkg-popup-title {
  font-family: 'Plus Jakarta Sans', var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--royal-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 18px;
}

.pkg-popup-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pkg-popup-list li {
  font-family: 'Plus Jakarta Sans', var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.6;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.06), transparent);
  border-radius: 10px;
  text-align: left;
}

.pkg-popup-list li .pkg-popup-item-icon {
  color: var(--gold);
  margin-right: 10px;
  font-size: 1.05rem;
}

.pkg-popup-list li strong {
  color: var(--gold-dark);
  font-weight: 700;
}

/* ── Notebook Sidebar ── */
.sidebar-notebook {
  background: var(--white);
  border-radius: 16px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid var(--light-gray);
  overflow: hidden;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sidebar-notebook::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.02), transparent 50%, rgba(11, 29, 58, 0.02));
  pointer-events: none;
  z-index: 1;
}

.sidebar-notebook-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--light-gray);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.04), rgba(11, 29, 58, 0.02));
  position: relative;
  z-index: 2;
}

.sidebar-notebook-header h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.sidebar-nav {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  position: relative;
  z-index: 2;
  flex: 1;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}

.sidebar-nav-item:hover {
  color: var(--gold);
}

.sidebar-nav-item:hover .sidebar-nav-icon {
  animation: icon3DBounce 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transform-style: preserve-3d;
}

@keyframes icon3DBounce {
  0% {
    transform: rotateY(0deg) scale(1);
  }

  40% {
    transform: rotateY(180deg) scale(1.15);
  }

  60% {
    transform: rotateY(190deg) scale(1.1);
  }

  100% {
    transform: rotateY(360deg) scale(1);
  }
}

.sidebar-nav-item.active .sidebar-nav-icon {
  animation: none;
}

.sidebar-nav-item.active {
  color: var(--gold);
  font-weight: 700;
  transform: scale(1.05);
}

.sidebar-nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background: var(--off-white);
  color: var(--text-light);
  flex-shrink: 0;
  perspective: 600px;
  transition: background 0.3s ease, color 0.3s ease;
}

.sidebar-nav-item.active .sidebar-nav-icon {
  color: var(--gold);
  background: rgba(201, 162, 39, 0.06);
}

.sidebar-action {
  padding: 16px 0 0;
}

.sidebar-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.2);
  animation: btnPulse 2s ease-in-out infinite;
  transition: box-shadow 0.3s ease;
}

.sidebar-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.sidebar-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  animation: btnShimmer 2.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.sidebar-cta-btn:hover {
  box-shadow: 0 12px 36px rgba(201, 162, 39, 0.35);
  animation: none;
}

.sidebar-cta-btn:hover::after {
  animation: none;
  opacity: 0;
}

@keyframes btnShimmer {
  0% {
    transform: translateX(-75%) skewX(-25deg);
  }

  100% {
    transform: translateX(125%) skewX(-25deg);
  }
}

.sidebar-cta-btn:active {
  transition: box-shadow 0.08s ease;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.15);
}

@keyframes btnPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 14px rgba(11, 29, 58, 0.25);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(11, 29, 58, 0.38);
  }
}

.cta-btn-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-cta-btn i {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar-cta-btn i.fa-arrow-right {
  font-size: 0.75rem;
}

.sidebar-cta-btn:hover i.fa-arrow-right {
  transform: translateX(6px);
}

.sidebar-cta-btn i.fa-hand-point-down {
  font-size: 1.3rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  animation: fingerPointBtn 0.8s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes fingerPointBtn {

  0%,
  100% {
    transform: translateY(0) rotateX(0deg);
  }

  40% {
    transform: translateY(5px) rotateX(14deg);
  }
}

.finger-3d-icon {
  display: inline-block;
  font-size: 1.2rem;
  color: var(--gold-dark);
  animation: fingerPoint3D 0.8s ease-in-out infinite;
  transform-style: preserve-3d;
  margin-left: 24px;
}

.finger-mirror {
  display: inline-block;
  transform: scaleX(-1);
}

@keyframes fingerPoint3D {

  0%,
  100% {
    transform: translateY(0) rotateX(0deg);
  }

  40% {
    transform: translateY(6px) rotateX(16deg);
  }
}

.sidebar-cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 10px rgba(40, 200, 64, 0.5);
}

.sidebar-notebook-footer {
  height: 8px;
  background: linear-gradient(90deg, var(--light-gray), transparent);
  opacity: 0.5;
  position: relative;
  z-index: 2;
}

/* ── Products Page Responsive ── */
@media (max-width: 1024px) {
  .products-page {
    padding: 40px 0 80px;
  }
}

/* Responsive touch for buttons */
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-3px);
  }

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

/* ── Smooth Reduce Motion ── */
@media (prefers-reduced-motion: reduce) {

  .btn-primary::after,
  .nav-link::before,
  .industry-card,
  .product-card,
  .feature-card,
  .top-product-card {
    transition: none !important;
    animation: none !important;
  }
}

/* ── Latest updates button (shared) ── */
.latest-updates-wrap {
  text-align: center;
  margin-bottom: 20px;
}

@keyframes btnInOut {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.28);
    opacity: 1;
  }
  15% {
    opacity: 1;
  }
  30% {
    transform: scale(1.04);
    box-shadow: 0 8px 26px rgba(201, 162, 39, 0.5);
    opacity: 1;
  }
  45% {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.58);
    opacity: 0.8;
  }
  60% {
    transform: scale(1.05);
    box-shadow: 0 10px 32px rgba(201, 162, 39, 0.64);
    opacity: 1;
  }
  75% {
    opacity: 0.9;
  }
}

@keyframes btnBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.latest-updates-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: linear-gradient(135deg, #0b1d3a 0%, #1d4d99 52%, #2c69c9 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(11, 29, 58, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.1);
  animation: btnInOut 1.45s ease-in-out infinite;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.latest-updates-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.38) 40%, transparent 100%);
  transform: translateX(-120%);
  animation: ctaShine 2.6s ease-in-out infinite;
}

@keyframes ctaShine {
  0% { transform: translateX(-120%); }
  45%, 100% { transform: translateX(120%); }
}

.latest-updates-btn:hover {
  animation: none;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 28px rgba(11, 29, 58, 0.42), 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.latest-updates-btn-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7bff9d, #1dcf60);
  box-shadow: 0 0 0 4px rgba(30, 191, 87, 0.18), 0 0 14px rgba(30, 191, 87, 1), 0 0 20px rgba(30, 191, 87, 0.6);
  position: relative;
  z-index: 1;
  animation: dotBlink 0.5s ease-in-out infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  30% { opacity: 1; transform: scale(1.2); }
  50% { opacity: 0.2; transform: scale(0.8); }
  70% { opacity: 1; transform: scale(1.2); }
}

/* ── Products Page Responsive ── */
@media (max-width: 1024px) {
  .products-hero {
    padding: 36px 20px 28px;
  }

  .products-hero-title {
    font-size: 2.6rem;
  }

  .products-wrapper {
    padding: 32px 20px 60px;
  }
}

@media (max-width: 768px) {
  .products-hero {
    padding: 28px 16px 24px;
  }

  .products-hero-title {
    font-size: 2rem;
  }

  .products-hero-subtitle {
    font-size: 0.95rem;
  }

  .products-sticky-inner {
    padding: 10px 16px;
  }

  .filter-tag {
    padding: 6px 16px;
    font-size: 0.8rem;
  }

  .products-wrapper {
    padding: 24px 16px 48px;
  }

  .product-card-media {
    min-height: 200px;
    padding: 24px 16px 12px;
    aspect-ratio: 4 / 3;
    contain: layout paint style;
  }

  .product-card-img {
    width: auto;
    max-width: 78%;
    height: 100%;
    max-height: 100%;
    display: block;
    will-change: transform;
  }
}

@media (max-width: 640px) {
  .products-hero-title {
    font-size: 1.7rem;
  }

  .cred-image {
    width: 84px;
    height: 84px;
    padding: 10px;
  }

  .product-card-media {
    min-height: 180px;
    padding: 20px 12px 8px;
    aspect-ratio: 4 / 3;
  }

  .product-card-body {
    padding: 12px 16px 20px;
  }

  .product-card-name {
    font-size: 0.95rem;
  }

  .product-card-btn {
    padding: 8px 20px;
    font-size: 0.78rem;
  }
}

/* ═══════════════════════════════════════════
   REF.MD 3D CAROUSEL
   ═══════════════════════════════════════════ */
.ref-wrapper {
  padding: 60px 60px 80px;
  background: linear-gradient(135deg, #0a0a1a, #1a1a3e, #0d0d2b);
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.ref-header {
  text-align: center;
  margin-bottom: 50px;
}

.ref-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #D4AF37, #F5D76E, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: 3px;
}

.ref-subtitle {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  margin-top: 10px;
  font-family: var(--font-heading);
  letter-spacing: 5px;
  text-transform: uppercase;
}

.ref-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  padding: 10px 0;
}

.ref-stage {
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
  -webkit-perspective: 1500px;
  overflow: visible;
}

.ref-track {
  position: relative;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.ref-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 220px;
  height: 390px;
  border-radius: 18px;
  overflow: hidden;
  backface-visibility: hidden;
  will-change: transform, opacity;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
  cursor: pointer;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.ref-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-family: var(--font-heading);
}

.ref-bottle {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 0;
}

.ref-bottle-cap {
  width: 48%;
  height: 28px;
  border-radius: 4px 4px 8px 8px;
  margin-top: 18px;
  flex-shrink: 0;
  opacity: 0.9;
}

.ref-bottle-body {
  width: 74%;
  flex: 1;
  margin-top: 8px;
  border-radius: 6px 6px 14px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
  position: relative;
}

.ref-label {
  text-align: center;
  padding: 10px;
  width: 100%;
}

.ref-category {
  display: block;
  font-size: 0.58rem;
  color: #888;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.ref-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 4px;
  line-height: 1.2;
}

.ref-scent {
  display: block;
  font-size: 0.62rem;
  color: #999;
  font-style: italic;
  font-weight: 500;
}

.ref-btn {
  display: block;
  width: calc(100% - 24px);
  margin: 0 12px 16px;
  padding: 10px 0;
  border: none;
  border-radius: 8px;
  background: #D4AF37;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(212,175,55,0.25);
  flex-shrink: 0;
}

.ref-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(212,175,55,0.4);
}

.ref-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  border: 1.5px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.ref-arrow:hover {
  background: rgba(212,175,55,0.15);
  color: #D4AF37;
  border-color: rgba(212,175,55,0.3);
  box-shadow: 0 4px 24px rgba(212,175,55,0.15);
  transform: translateY(-50%) scale(1.08);
}

.ref-prev { left: -24px; }
.ref-next { right: -24px; }

.ref-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.06);
}

.ref-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  padding: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ref-dot.active {
  width: 38px;
  height: 10px;
  border-radius: 100px;
  background: linear-gradient(90deg, #D4AF37, #F5D76E, #D4AF37);
  background-size: 200% 100%;
  animation: refShimmer 2.5s linear infinite;
  box-shadow: 0 0 16px rgba(212,175,55,0.45);
}

.ref-dot:not(.active):hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.3);
}

@keyframes refShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@media (max-width: 1024px) {
  .ref-wrapper { padding: 60px 50px 70px; }
  .ref-prev { left: -16px; }
  .ref-next { right: -16px; }
}

@media (max-width: 768px) {
  .ref-wrapper { padding: 50px 40px 60px; }
  .ref-title { font-size: 2rem; }
  .ref-subtitle { font-size: 0.8rem; letter-spacing: 3px; }
  .ref-card { width: 190px; height: 350px; }
  .ref-stage { min-height: 440px; }
  .ref-arrow { display: none; }
  .ref-header { margin-bottom: 30px; }
  .ref-name { font-size: 0.78rem; }
  .ref-bottle-body { width: 68%; }
  .ref-bottle-cap { width: 42%; height: 22px; }
}

@media (max-width: 480px) {
  .ref-wrapper { padding: 30px 20px 40px; min-height: auto; }
  .ref-title { font-size: 1.5rem; }
  .ref-card { width: 160px; height: 300px; }
  .ref-stage { min-height: 370px; }
  .ref-name { font-size: 0.7rem; }
  .ref-category { font-size: 0.5rem; }
  .ref-scent { font-size: 0.55rem; }
  .ref-btn { font-size: 0.65rem; padding: 8px 0; }
  .ref-arrow { display: none; }
  .ref-dots { gap: 10px; padding: 6px 14px; }
  .ref-dot.active { width: 28px; }
}

/* ── Product Info Panel ── */
.pip-modal {
  max-width: 1180px !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
}

.pip-modal .modal-body {
  padding: 0 !important;
}

.pip-modal .modal-close {
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.pip-modal .modal-close:hover {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
}

.pip {
  display: flex;
  min-height: 500px;
  max-height: 80vh;
}

.pip-image-col {
  width: 440px;
  min-width: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px;
  flex-shrink: 0;
}

.pip-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  perspective: 1000px;
  background: linear-gradient(135deg, var(--off-white), var(--light-gray));
  border-radius: 20px;
  overflow: hidden;
  padding: 24px;
}

.pip-image-wrap::before {
  content: '';
  position: absolute;
  bottom: 6%;
  left: 8%;
  right: 8%;
  height: 18%;
  background: radial-gradient(ellipse at center, rgba(11,29,58,0.10) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: pipShadow 6s linear infinite;
}

@keyframes pipShadow {
  0%, 100% { opacity: 0.8; transform: scaleX(1); }
  25% { opacity: 0.4; transform: scaleX(0.7); }
  50% { opacity: 0.8; transform: scaleX(1); }
  75% { opacity: 0.4; transform: scaleX(0.7); }
}

.pip-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 2%;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11,29,58,0.05), transparent);
  z-index: 0;
  pointer-events: none;
}

.pip-image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pipSpin3D 8s linear infinite;
  transform-style: preserve-3d;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

@keyframes pipSpin3D {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.pip-image {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 95%;
  max-height: 680px;
  width: auto;
  height: auto;
  object-fit: contain;
  backface-visibility: hidden;
  pointer-events: none;
}

.pip-image-front {
  z-index: 2;
}

.pip-image-back {
  z-index: 1;
  transform: rotateY(180deg);
}

.pip-image-badge {
  position: absolute;
  top: 0;
  left: 0;
  padding: 7px 18px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 0 0 14px 0;
  box-shadow: 0 4px 16px rgba(201,162,39,0.3);
  z-index: 10;
}

.pip-content-col {
  flex: 1;
  padding: 36px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pip-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pip-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--royal-blue);
  line-height: 1.3;
  margin: 0;
}

.pip-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

.pip-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pip-spec {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-gray);
  transition: all 0.25s var(--ease-out-expo);
}

.pip-spec:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201,162,39,0.08);
}

.pip-spec-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.pip-spec-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pip-spec-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pip-spec-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pip-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pip-section-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--royal-blue);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pip-section-title i {
  color: var(--gold);
  font-size: 0.8rem;
}

.pip-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pip-variant {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  transition: all 0.25s var(--ease-out-expo);
}

.pip-variant.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(201,162,39,0.25);
}

.pip-pack-info {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
}

.pip-app-text {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin: 0;
  padding: 14px 18px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}

.pip-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pip-highlights li {
  position: relative;
  padding: 10px 14px 10px 34px;
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.5;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-gray);
}

.pip-highlights li::before {
  content: '✦';
  position: absolute;
  left: 12px;
  top: 10px;
  color: var(--gold);
  font-size: 0.75rem;
}

.pip-cta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--light-gray);
}

.pip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-out-expo);
}

.pip-btn i {
  font-size: 0.9rem;
}

.pip-btn-primary {
  background: linear-gradient(135deg, var(--royal-blue-dark), var(--royal-blue), var(--royal-blue-light));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(11, 29, 58, 0.2);
  animation: btnPulse 1s ease-in-out infinite;
}

.pip-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 29, 58, 0.32);
  animation: none;
}

.pip-btn-outline {
  background: var(--white);
  color: var(--royal-blue);
  border: 1.5px solid var(--royal-blue);
}

.pip-btn-outline:hover {
  background: var(--royal-blue);
  color: var(--white);
}

.pip-btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,0.25);
}

.pip-btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.pip-btn-call {
  background: linear-gradient(135deg, var(--text-dark), #1a1a2e);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.pip-btn-call i {
  transform: scaleX(-1);
}

.pip-btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
}

@media (max-width: 900px) {
  .pip-modal {
    max-width: 100% !important;
    margin: 0 10px;
    max-height: 90vh;
    border-radius: 16px !important;
  }

  .pip {
    flex-direction: column;
    max-height: 90vh;
    min-height: 0;
  }

  .pip-image-col {
    width: 100%;
    min-width: 100%;
    padding: 16px;
    max-height: 380px;
    min-height: 300px;
    height: 380px;
    flex-shrink: 0;
  }

  .pip-image-wrap {
    padding: 0;
    background: none;
    border-radius: 0;
    overflow: visible;
  }

  .pip-image-inner {
    animation-duration: 10s;
  }

  .pip-image {
    max-width: 100%;
    max-height: 100%;
  }

  .pip-content-col {
    padding: 20px 18px;
    gap: 14px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
  }

  .pip-image-badge {
    font-size: 0.65rem;
    padding: 5px 14px;
  }

  .pip-header {
    padding-bottom: 12px;
  }

  .pip-name {
    font-size: 1.15rem;
  }

  .pip-desc {
    font-size: 0.85rem;
  }

  .pip-specs {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pip-spec {
    padding: 10px 12px;
  }

  .pip-spec-icon {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    border-radius: 9px;
  }

  .pip-spec-value {
    font-size: 0.82rem;
  }

  .pip-section-title {
    font-size: 0.72rem;
  }

  .pip-section {
    gap: 8px;
  }

  .pip-highlights {
    grid-template-columns: 1fr;
  }

  .pip-cta {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 12px;
  }

  .pip-btn {
    padding: 11px 14px;
    font-size: 0.78rem;
  }
}

@media (max-width: 600px) {
  .pip-modal {
    margin: 0 6px;
    max-height: 92vh;
    border-radius: 12px !important;
  }

  .pip {
    max-height: 92vh;
  }

  .pip-image-col {
    padding: 12px;
    max-height: 320px;
    min-height: 260px;
    height: 320px;
  }

  .pip-image-wrap {
    padding: 0;
    background: none;
    border-radius: 0;
    overflow: visible;
  }

  .pip-image {
    max-width: 100%;
    max-height: 100%;
  }

  .pip-content-col {
    padding: 16px 14px;
    gap: 12px;
  }

  .pip-name {
    font-size: 1.05rem;
  }

  .pip-desc {
    font-size: 0.82rem;
  }

  .pip-specs {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .pip-spec {
    padding: 8px 10px;
    gap: 10px;
  }

  .pip-spec-icon {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .pip-spec-label {
    font-size: 0.6rem;
  }

  .pip-spec-value {
    font-size: 0.78rem;
  }

  .pip-app-text {
    font-size: 0.82rem;
    padding: 12px 14px;
  }

  .pip-cta {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .pip-btn {
    padding: 10px 10px;
    font-size: 0.75rem;
    gap: 6px;
  }

  .pip-btn i {
    font-size: 0.8rem;
  }
}

@media (max-width: 400px) {
  .pip-modal {
    margin: 0 4px;
    max-height: 95vh;
  }

  .pip {
    max-height: 95vh;
  }

  .pip-image-col {
    padding: 10px;
    max-height: 280px;
    min-height: 220px;
    height: 280px;
  }

  .pip-image-wrap {
    padding: 0;
    background: none;
    border-radius: 0;
    overflow: visible;
  }

  .pip-image {
    max-width: 100%;
    max-height: 100%;
  }

  .pip-content-col {
    padding: 14px 12px;
    gap: 10px;
  }

  .pip-name {
    font-size: 0.95rem;
  }

  .pip-specs {
    grid-template-columns: 1fr;
  }

  .pip-cta {
    grid-template-columns: 1fr;
  }

  .pip-btn {
    padding: 10px 14px;
    font-size: 0.8rem;
  }
}

