/* ====================================================
   COREL OFFSET & PACKAGING â PREMIUM STYLESHEET
   Color System: Navy #02245B  Accent #0073A2  White #FFF
   ==================================================== */

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors â Minimal Modern Industrial Theme */
  --primary: #272729;
  --secondary: #0073A2;
  --white: #FFFFFF;
  --text-light: #F8FAFC;
  --text-dim: #CBD5E1;
  
  /* Mapping to existing variable names to maintain compatibility */
  --slate-black: #272729;
  --slate-deep: #272729;
  --slate-mid: #2c2c2e;
  --slate-light: #3a3a3c;

  --accent: #0073A2;
  --accent-lt: #0088c0;
  --accent-glow: rgba(0, 115, 162, 0.15);

  --off-white: rgba(255, 255, 255, 0.05);
  --gray-50: #272729;
  --gray-100: #F1F5F9;
  --gray-200: rgba(255, 255, 255, 0.1);
  --gray-400: #94A3B8;
  --gray-600: #64748B;
  --gray-700: #94A3B8;
  --gray-900: #FFFFFF;

  /* Typography */
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-display: 'Inter', sans-serif;

  /* Shadows â Softer, modern minimal style */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: .5s cubic-bezier(0.4, 0, 0.2, 1);

  --section-py: 100px;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  color: var(--text-dim);
  background-color: var(--primary);
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-body);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

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

/* ---- Layout Utilities ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-py) 0;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-label--light {
  color: rgba(255, 255, 255, .65);
}

.section-label--light::before {
  background: rgba(255, 255, 255, .4);
}

.section-heading {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

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

.text-accent {
  color: var(--accent);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 540px;
  line-height: 1.75;
}

.section-sub--light {
  color: rgba(255, 255, 255, 0.85);
}

.section-body {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

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

.section-header .section-sub {
  margin: 0 auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  padding: 12px 24px;
  letter-spacing: .01em;
}

.btn--lg {
  padding: 14px 30px;
  font-size: .95rem;
}

.btn--xl {
  padding: 18px 38px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn--accent:hover {
  background: #0B5A70;
  border-color: #0B5A70;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

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

.btn--primary:hover {
  background: #0B5A70;
  border-color: #0B5A70;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--slate-deep);
  border-color: var(--gray-200);
}

.btn--ghost-dark:hover {
  background: var(--gray-100);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}


/* ====================================================
   NAVBAR
   ==================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(235, 238, 242, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 120px;
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  background: rgba(225, 228, 232, 0.32);
  height: 90px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.navbar__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.brand-logo {
  height: 90px;
  width: 240px;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: logoFloating 5s ease-in-out infinite;
}

@keyframes logoFloating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.navbar.scrolled .brand-logo {
  height: 68px;
  width: 180px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.brand-logo:hover {
  transform: translateY(-4px) scale(1.05);
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.navbar__cta {
  margin-left: 20px;
  flex-shrink: 0;
}

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}

.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ====================================================
   HERO
   ==================================================== */
.hero {
  min-height: 100vh;
  background: #111317;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 120px;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPan 30s linear infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

/* Seamless fade from hero into the sections below */
.hero__bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent 0%, #111317 100%);
  pointer-events: none;
  z-index: 2;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.hero__content {
  order: 1;
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 115, 162, 0.1);
  border: 1px solid rgba(0, 115, 162, 0.2);
  color: #7dd3fc;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(0.7); }
}

.hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
  display: block;
}

.hero__subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  display: block;
}

.hero__title-group {
  display: block;
  margin-bottom: 0;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  align-items: center;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; }

.stat__num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__visual {
  order: 2;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.hero__visual-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 500px;
}

.hero__image-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--transition);
}

.hero__image-wrap:hover .hero__img {
  transform: scale(1.05);
}

.hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(39, 39, 41, 0.4), transparent);
  pointer-events: none;
}

.hero__video-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(39, 39, 41, 0.2), transparent);
  pointer-events: none;
}

.hero__image-kicker {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(39, 39, 41, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  z-index: 2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Info Cards styling */
.hero__info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.hero__info-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 250px;
  overflow: hidden;
  transition: background-color 0.3s var(--transition),
              border-color 0.3s var(--transition),
              box-shadow 0.3s var(--transition),
              transform 0.3s var(--transition);
  box-shadow: var(--shadow-sm);
}

.hero__info-card:hover {
  background: rgba(0, 115, 162, 0.06);
  border-color: rgba(0, 115, 162, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 115, 162, 0.1);
}

.hero__info-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 115, 162, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  margin-bottom: 12px;
  flex-shrink: 0;
  transition: transform 0.3s var(--transition);
}

.hero__info-card:hover .hero__info-card-icon {
  transform: scale(1.1);
  color: var(--white);
  background: var(--secondary);
}

.hero__info-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.2;
}

.hero__info-card-preview {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0;
}

.hero__info-card-expanded {
  display: none;
}

.hero__info-card-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--gray-600);
  margin-top: auto;
  transition: color 0.3s ease;
}

.hero__info-card-hint svg {
  transition: transform 0.3s ease;
}

.hero__info-card:hover .hero__info-card-hint {
  color: var(--secondary);
}

.hero__info-card:hover .hero__info-card-hint svg {
  transform: translateX(4px);
}

/* Modal styling for Info Cards */
.info-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.info-modal.active {
  opacity: 1;
  pointer-events: all;
}

.info-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 23, 0.85); /* Deep premium dark mask */
  backdrop-filter: blur(8px);
}

.info-modal__content {
  position: relative;
  width: 90%;
  max-width: 580px;
  background: #1c1e24; /* Solid premium dark card background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  z-index: 1;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.info-modal.active .info-modal__content {
  transform: translateY(0) scale(1);
}

.info-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--white);
  font-size: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.info-modal__close:hover {
  background: var(--secondary);
  color: var(--white);
  transform: rotate(90deg);
}

.info-modal__body {
  overflow-y: auto;
  padding-right: 8px;
}

.info-modal__body::-webkit-scrollbar {
  width: 4px;
}
.info-modal__body::-webkit-scrollbar-track {
  background: transparent;
}
.info-modal__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

/* Modal inside elements styling */
.info-modal .hero__info-card-icon {
  margin-bottom: 16px;
  width: 48px;
  height: 48px;
  font-size: 24px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-modal .hero__info-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.info-modal .hero__info-card-expanded {
  opacity: 1;
  max-height: none;
  display: block;
  margin-top: 0;
}

.info-modal .hero__info-card-expanded p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}

.info-modal .hero__info-card-expanded p:last-child {
  margin-bottom: 0;
}

.info-modal .hero__info-card-expanded ul {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
  padding-left: 20px;
  list-style-type: disc;
}

.info-modal .hero__info-card-expanded li {
  margin-bottom: 8px;
}

.info-modal .hero__info-card-expanded em {
  font-style: italic;
  color: var(--white);
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .4);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .5), transparent);
  border-radius: 1px;
}

@keyframes scrollBounce {

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

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


/* ====================================================
   TRUST BAR
   ==================================================== */
.trust-bar {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 28px 0;
  overflow: hidden;
}

.trust-bar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.trust-bar__text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--gray-600);
}

.trust-bar__text strong {
  color: var(--white);
}

.trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.trust-logo {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 10px 28px;
  border-right: 1px solid var(--gray-200);
  transition: color var(--transition);
}

.trust-logo:last-child {
  border-right: none;
}

.trust-logo:hover {
  color: var(--accent);
  opacity: 1;
  transform: scale(1.05);
}


/* ====================================================
   RECENT PRODUCTS
   ==================================================== */
.recent-products {
  background: transparent;
  padding: 100px 0;
  overflow: visible;
  position: relative !important;
  z-index: 1;
}

.recent-products__blueprint-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}

.recent-products .container {
  position: relative;
  z-index: 2;
}

/* Dual header row â two buttons side by side */
.dual-panel-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 48px;
}

.panel-header-block {
  padding: 0 40px;
}

.panel-header-block:first-child {
  padding-left: 0;
}

.panel-header-block:last-child {
  padding-right: 0;
}

.dual-panel-divider {
  width: 1px;
  background: var(--gray-200);
  align-self: stretch;
  min-height: 160px;
}

/* Panels row â side by side when open */
.dual-panels-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Each panel collapses independently */
.dual-panel-collapse {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;
}

.dual-panel-collapse.open {
  max-height: 5000px;
  opacity: 1;
  overflow: visible;
}

/* 50/50 Split Layout */
.products-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* --- Company Logos Panel --- */
.companies-panel__title,
.products-panel__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--slate-deep);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

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

.company-logo-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.company-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

/* ---- Semicircle Client Logos Carousel ---- */
.clients-semicircle-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 400px;
  margin: 40px auto 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  cursor: grab;
  user-select: none;
}

.clients-semicircle-track {
  display: none;
}

.clients-semicircle-list {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.semicircle-logo-card {
  position: absolute;
  width: 150px;
  height: 95px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: var(--shadow-md);
  transition: width 0.35s ease, height 0.35s ease, padding 0.35s ease,
              border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  cursor: pointer;
}

.semicircle-logo-card--hovered {
  width: 200px;
  height: 130px;
  border-color: var(--accent) !important;
  box-shadow: 0 0 30px rgba(0, 115, 162, 0.6) !important;
  z-index: 50 !important;
}

.semicircle-logo-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.semicircle-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.semicircle-logo-card:hover img,
.semicircle-logo-card--hovered img {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .clients-semicircle-container {
    height: 320px;
  }
  .semicircle-logo-card {
    width: 120px;
    height: 80px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .clients-semicircle-container {
    height: 260px;
  }
  .semicircle-logo-card {
    width: 95px;
    height: 65px;
    padding: 10px;
  }
}

/* ---- Semicircle Products Carousel ---- */
.products-semicircle-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 440px;
  margin: 40px auto 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  cursor: grab;
  user-select: none;
}

.products-semicircle-track {
  display: none;
}

.products-semicircle-list {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.semicircle-product-card {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: var(--shadow-md);
  transition: width 0.35s ease, height 0.35s ease, padding 0.35s ease,
              border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  cursor: pointer;
  z-index: 2;
}

.semicircle-product-card--hovered {
  width: 180px;
  height: 180px;
  border-color: var(--accent) !important;
  box-shadow: 0 0 30px rgba(0, 115, 162, 0.6) !important;
  z-index: 50 !important;
}

.semicircle-product-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.semicircle-product-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.semicircle-product-card:hover img,
.semicircle-product-card--hovered img {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .products-semicircle-container {
    height: 340px;
  }
  .semicircle-product-card {
    width: 95px;
    height: 95px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .products-semicircle-container {
    height: 280px;
  }
  .semicircle-product-card {
    width: 80px;
    height: 80px;
    padding: 6px;
  }
}

/* ---- Linear Printing Carousel ---- */
.printing-linear-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 540px;
  margin: 40px auto 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
}

.printing-linear-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 115, 162, 0.3) 20%,
    rgba(0, 115, 162, 0.6) 50%,
    rgba(0, 115, 162, 0.3) 80%,
    transparent 100%);
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.printing-linear-list {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.linear-printing-card {
  position: absolute;
  width: 220px;
  height: 220px;
  top: 50%;
  left: 0;
  will-change: transform, opacity;
  cursor: pointer;
  z-index: 2;
}

.linear-printing-card .card-inner {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* black transparent tiles */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.linear-printing-card--hovered {
  z-index: 50 !important;
}

.linear-printing-card--hovered .card-inner {
  transform: scale(2.0454); /* Restored high scale for large expansion */
  border-color: var(--accent) !important;
  box-shadow: 0 0 40px rgba(0, 115, 162, 0.7) !important;
}

.linear-printing-card:hover .card-inner {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.linear-printing-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity var(--transition);
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.linear-printing-card:hover img,
.linear-printing-card--hovered img {
  opacity: 1;
}

/* Edge fade overlays */
.printing-linear-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 3;
  pointer-events: none;
}

.printing-linear-fade--left {
  left: 0;
  background: linear-gradient(90deg, #111317 0%, transparent 100%);
}

.printing-linear-fade--right {
  right: 0;
  background: linear-gradient(270deg, #111317 0%, transparent 100%);
}

@media (max-width: 768px) {
  .printing-linear-container {
    height: 380px; /* Taller container to support expanded cards on tablet */
  }
  .linear-printing-card {
    width: 170px;
    height: 170px;
  }
  .linear-printing-card .card-inner {
    padding: 14px;
  }
  .printing-linear-fade {
    width: 80px;
  }
  .linear-printing-card--hovered .card-inner {
    transform: scale(1.4705); /* Expanded to 250px on tablet */
  }
}

@media (max-width: 480px) {
  .printing-linear-container {
    height: 320px; /* Taller container to support expanded cards on mobile */
  }
  .linear-printing-card {
    width: 130px;
    height: 130px;
  }
  .linear-printing-card .card-inner {
    padding: 10px;
  }
  .printing-linear-fade {
    width: 50px;
  }
  .linear-printing-card--hovered .card-inner {
    transform: scale(1.5384); /* Expanded to 200px on mobile */
  }
}

/* --- Products Panel --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.product-card {
  position: relative;
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 1;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    z-index 0s;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: opacity 0.4s ease;
}

.product-card:hover {
  transform: scale(1.35);
  z-index: 50;
  border-color: var(--accent);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 900px) {
  .dual-panel-header {
    grid-template-columns: 1fr;
  }

  .dual-panel-divider {
    display: none;
  }

  .panel-header-block {
    padding: 0;
    margin-bottom: 32px;
  }

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

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

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

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

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


/* ====================================================
   ABOUT SECTION
   ==================================================== */
.about-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-stack {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
}

.about-svg-bg {
  width: 100%;
  height: 100%;
}

.about-badge-stat {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.about-badge-num {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}

.about-badge-text {
  font-size: .75rem;
  font-weight: 500;
  opacity: .85;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.35;
}

.about-section__content {
  padding: 20px 0 50px;
}

.about-section__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.about-section__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: var(--gray-700);
  font-weight: 500;
}


/* ====================================================
   VIDEO SECTION
   ==================================================== */
.video-section {
  position: relative;
}

.process-video {
  max-width: 1000px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--slate-black);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, .05);
}

.video-container iframe,
.video-container video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-info {
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-info__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.video-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px;
  border-right: 1px solid var(--gray-200);
}

.video-step:last-child {
  border-right: none;
}

.video-step__num {
  font-size: .75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .1em;
}

.video-step__text {
  font-size: .88rem;
  font-weight: 600;
  color: var(--slate-deep);
}

@media (max-width: 992px) {
  .video-info__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .video-step:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 576px) {
  .video-info__grid {
    grid-template-columns: 1fr;
  }

  .video-step {
    border-right: none;
    padding: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
  }

  .video-step:last-child {
    border-bottom: none;
  }
}


/* ====================================================
   SERVICES
   ==================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 58px;
  height: 58px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  transition: all var(--transition);
}

.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-lt));
  color: var(--white);
}

.service-card__num {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: .1em;
  margin-bottom: 12px;
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: .88rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .01em;
  transition: gap var(--transition);
}

.service-card__link:hover {
  gap: 10px;
}


/* ====================================================
   INDUSTRIES
   ==================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: all var(--transition-slow);
  cursor: default;
}

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

.industry-card__icon {
  width: 70px;
  height: 70px;
  background: var(--gray-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent-lt);
  transition: all var(--transition-slow);
}

.industry-card:hover .industry-card__icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-lt));
  color: var(--white);
}

.industry-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-deep);
  margin-bottom: 8px;
}

.industry-card__desc {
  font-size: .82rem;
  color: var(--gray-400);
  line-height: 1.6;
}


/* ====================================================
   WHY CHOOSE US
   ==================================================== */
.why-section {
  background: linear-gradient(135deg, var(--slate-black) 0%, var(--slate-deep) 60%, #161c22 100%);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.why-section__inner {
  position: relative;
  z-index: 1;
}

.why-section__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}

.why-section__header .section-sub {
  margin: 0 auto;
}

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

.why-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-slow);
  backdrop-filter: blur(10px);
}

.why-card:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .3);
}

.why-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent-lt);
  transition: all var(--transition);
}

.why-card:hover .why-card__icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.why-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.why-card__desc {
  font-size: .86rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.7;
}


/* ====================================================
   GALLERY
   ==================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item--large {
  grid-column: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item__inner {
  width: 100%;
  height: 100%;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

.gallery-item__inner svg {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}

.gallery-item:hover .gallery-item__inner svg {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, .8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
}


/* ====================================================
   CTA SECTION
   ==================================================== */
.cta-section {
  background: var(--slate-deep);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, var(--accent-glow) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 80% 50%, var(--accent-glow) 0%, transparent 70%),
    var(--slate-black);
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section__label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent-lt);
  background: rgba(14, 116, 144, .15);
  border: 1px solid rgba(14, 116, 144, .25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.cta-section__heading {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.cta-section__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 44px;
  line-height: 1.75;
}


/* ====================================================
   CONNECT SECTION (MAP + CONTACT)
   ==================================================== */
.connect-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: stretch;
}

.connect-map {
  display: flex;
}

.connect-form-wrap {
  background: rgba(255, 255, 255, 0.02);
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-xl);
}

.connect-form {
  display: flex;
  flex-direction: column;
}

.connect-form input:focus,
.connect-form select:focus,
.connect-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

@media (max-width: 992px) {
  .connect-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .connect-map {
    height: 350px;
  }
}

/* ====================================================
   FOOTER
   ==================================================== */
.footer {
  background: var(--slate-black);
  padding-top: 80px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer__logo {
  margin-bottom: 24px;
  display: flex;
}

.brand-logo--footer {
  height: 80px;
  padding: 12px 28px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.footer__tagline {
  font-size: .88rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 300px;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer__col-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 20px;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__list a {
  font-size: .88rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
}

.footer__list a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .86rem;
  color: rgba(255, 255, 255, .55);
}

.footer__contact-item svg {
  margin-top: 2px;
  flex-shrink: 0;
  opacity: .6;
}

.footer__contact-item a {
  color: rgba(255, 255, 255, .55);
  transition: color var(--transition);
}

.footer__contact-item a:hover {
  color: var(--white);
}

.footer__bottom {
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__bottom span {
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  font-size: .78rem;
  color: rgba(255, 255, 255, .45);
  transition: color var(--transition);
}

.footer__bottom-links a:hover {
  color: var(--accent-lt);
}


/* ====================================================
   ANIMATIONS
   ==================================================== */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}

[data-anim="fade-left"] {
  transform: translateX(24px);
}

[data-anim="fade-right"] {
  transform: translateX(-24px);
}

[data-anim].is-visible {
  opacity: 1;
  transform: none;
}

[data-anim="stagger"].is-visible>* {
  animation: staggerFade .6s cubic-bezier(.4, 0, .2, 1) both;
}

[data-anim="stagger"].is-visible>*:nth-child(1) {
  animation-delay: 0s;
}

[data-anim="stagger"].is-visible>*:nth-child(2) {
  animation-delay: .1s;
}

[data-anim="stagger"].is-visible>*:nth-child(3) {
  animation-delay: .2s;
}

[data-anim="stagger"].is-visible>*:nth-child(4) {
  animation-delay: .3s;
}

[data-anim="stagger"].is-visible>*:nth-child(5) {
  animation-delay: .4s;
}

@keyframes staggerFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}


/* ====================================================
   ABOUT & FACTORY COMBINED
   ==================================================== */
.about-combined {
  position: relative;
  overflow: hidden;
  background-color: #111317;
}

.about-combined::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to bottom, #111317 0%, rgba(17, 19, 23, 0) 300px),
    url('images/final heidelberg 219.webp');
  background-size: cover;
  background-position: left 28%; /* Cropped vertically to hide ceiling lights and focus on the press */
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 60%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 60%);
}

.about-combined::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 0%, var(--accent-glow) 0%, transparent 50%),
    linear-gradient(rgba(0, 115, 162, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 115, 162, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.35) 15%, rgba(0, 0, 0, 0.35) 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.35) 15%, rgba(0, 0, 0, 0.35) 80%, transparent 100%);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.about-combined__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 5% !important;
  padding-right: 5% !important;
}

/* SVG illustration column in about section */
.about-combined__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  order: 1;
}

.about-combined__svg-img {
  display: none;
}

.about-combined__content {
  order: 2;
}

.video-card {
  position: relative;
  background: var(--slate-deep);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.mini-stat__num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 2px;
}

.mini-stat__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .about-combined::before {
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(17, 19, 23, 0.4) 0%, rgba(17, 19, 23, 0.8) 100%), url('images/heidelberg 45.webp');
    background-position: center;
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 0.12;
  }
  .about-combined__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: var(--container) !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .about-combined__visual {
    display: none; /* Hide decorative SVG on mobile to preserve layout */
  }
  .about-combined__content {
    order: 1;
  }
}

/* ====================================================
   ANIMATIONS
   ==================================================== */


/* ====================================================
   PRODUCT CONFIGURATOR â PREMIUM MULTI-STEP
   ==================================================== */

.cfg2-progress {
  max-width: 600px;
  margin: 10px auto 60px;
  position: relative;
}

.cfg2-progress__track {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gray-200);
  border-radius: 4px;
  z-index: 1;
}

.cfg2-progress__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cfg2-steps {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}

.cfg2-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100px;
  text-align: center;
}

.cfg2-step__dot {
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.cfg2-step span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  transition: all var(--transition);
}

.cfg2-step.active .cfg2-step__dot {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 115, 162, 0.1);
}

.cfg2-step.active span {
  color: var(--white);
}

.cfg2-step.completed .cfg2-step__dot {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.cfg2-body {
  max-width: 1100px;
  margin: 0 auto;
  min-height: 540px;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cfg2-panel {
  display: none;
  animation: cfgFadeIn 0.4s ease forwards;
}

.cfg2-panel.active {
  display: block;
}

@keyframes cfgFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.cfg2-panel__header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

.cfg2-panel__num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
}

.cfg2-panel__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.cfg2-panel__sub {
  font-size: 0.95rem;
  color: var(--gray-600);
}

/* Selection Cards */
.cfg2-cards,
.cfg2-size-grid,
.cfg2-mat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.cfg2-card,
.cfg2-size-card,
.cfg2-mat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: var(--text-dim);
}

.cfg2-card:hover,
.cfg2-size-card:hover,
.cfg2-mat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cfg2-card.active,
.cfg2-size-card.active,
.cfg2-mat-card.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  background: rgba(0, 115, 162, 0.02);
}

.cfg2-card__visual {
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.cfg2-card__visual svg {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cfg2-card:hover .cfg2-card__visual svg {
  transform: scale(1.1) rotate(2deg);
}

.cfg2-card__check,
.cfg2-mat-card__check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
}

.cfg2-card.active .cfg2-card__check,
.cfg2-mat-card.active .cfg2-mat-card__check {
  opacity: 1;
  transform: scale(1);
}

.cfg2-card__label {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.cfg2-card__desc {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* Size Card Specifics */
.cfg2-size-card {
  padding: 30px 16px;
}

.cfg2-size-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

.cfg2-size-card__name {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.cfg2-size-card__sub {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.cfg2-custom-size {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  margin-bottom: 0;
}

.cfg2-custom-size.show {
  max-height: 300px;
  margin-bottom: 40px;
}

.cfg2-custom-size__fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

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

.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.form-input {
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 115, 162, 0.1);
}

/* Material Card Specifics */
.cfg2-mat-card {
  text-align: left;
  align-items: flex-start;
}

.cfg2-mat-card__swatch {
  width: 100%;
  height: 60px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.cfg2-mat-card__name {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.cfg2-mat-card__desc {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.cfg2-mat-card__tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  background: var(--gray-100);
  color: var(--gray-500);
  border-radius: 40px;
}

.cfg2-mat-card.active .cfg2-mat-card__tag {
  background: var(--accent);
  color: var(--white);
}

/* Summary */
.cfg2-summary {
  background: var(--slate-deep);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cfg2-summary::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 115, 162, 0.1) 0%, transparent 70%);
}

.cfg2-summary__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cfg2-summary__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cfg2-summary__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cfg2-summary__key {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  text-transform: uppercase;
}

.cfg2-summary__val {
  font-size: 1.1rem;
  font-weight: 600;
}

.cfg2-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 992px) {

  /* ---- Mobile Navbar ---- */
  .navbar__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(39, 39, 41, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    padding: 90px 24px 40px;
    margin-left: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .navbar__nav.open {
    transform: translateX(0);
  }

  .navbar__nav .nav-link {
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .navbar__nav .nav-link:hover,
  .navbar__nav .nav-link.active {
    background: rgba(0, 115, 162, 0.1);
  }

  .navbar__nav .nav-link.active::after {
    display: none;
  }

  .navbar__cta {
    display: none;
  }

  .navbar__burger {
    display: flex;
    z-index: 1001;
  }

  /* Mobile nav overlay */
  .navbar__nav::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: -1;
  }

  .navbar__nav.open::before {
    opacity: 1;
    pointer-events: auto;
  }

  .cfg2-cards,
  .cfg2-size-grid,
  .cfg2-mat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cfg2-summary__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* General Responsiveness */
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
    gap: 32px;
  }

  .hero__content {
    margin: 0 auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

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

  .about-combined__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: var(--container) !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

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

@media (max-width: 640px) {

  .cfg2-cards,
  .cfg2-size-grid,
  .cfg2-mat-grid {
    grid-template-columns: 1fr;
  }

  .cfg2-summary__grid {
    grid-template-columns: 1fr;
  }

  .cfg2-custom-size__fields {
    grid-template-columns: 1fr;
  }

  .cfg2-progress {
    margin-bottom: 40px;
  }

  .cfg2-step {
    width: 60px;
  }

  .cfg2-step__dot {
    width: 40px;
    height: 40px;
  }

  .cfg2-step span {
    font-size: 0.6rem;
  }

  .cfg2-body {
    padding: 24px;
  }

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

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__image-wrap {
    height: 240px;
  }

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

  .hero__info-card {
    height: 220px;
  }

  .brand-logo {
    height: 56px;
    width: 150px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
  }
}

/* Fix for overlapping or hidden content */
.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 32px;
}

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

/* Custom Premium Slider Styles */
.carousel-slider-wrap {
  width: 100%;
  max-width: 300px;
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}

.carousel-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  background: transparent;
  outline: none;
  cursor: pointer;
}

/* Range slider track styling */
.carousel-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}

.carousel-slider:hover::-webkit-slider-runnable-track {
  background: rgba(255, 255, 255, 0.15);
}

.carousel-slider::-moz-range-track {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}

.carousel-slider:hover::-moz-range-track {
  background: rgba(255, 255, 255, 0.15);
}

/* Range slider thumb */
.carousel-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22" fill="none"><rect x="3" y="3" width="16" height="16" rx="2" stroke="%230073A2" stroke-width="2" fill="%23111317" /><line x1="11" y1="6" x2="11" y2="16" stroke="%230073A2" stroke-width="1.5" /><line x1="6" y1="11" x2="16" y2="11" stroke="%230073A2" stroke-width="1.5" /></svg>') no-repeat center;
  border: none;
  box-shadow: 0 0 12px rgba(0, 115, 162, 0.6);
  transform: rotate(var(--thumb-rotate, 0deg));
  transition: transform 0.05s linear;
  margin-top: -9px; /* (4px track / 2) - (22px thumb / 2) = -9px */
  cursor: pointer;
}

.carousel-slider::-webkit-slider-thumb:hover {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22" fill="none"><rect x="3" y="3" width="16" height="16" rx="2" stroke="%230088c0" stroke-width="2.5" fill="%23111317" /><line x1="11" y1="5" x2="11" y2="17" stroke="%230088c0" stroke-width="2" /><line x1="5" y1="11" x2="17" y2="11" stroke="%230088c0" stroke-width="2" /></svg>') no-repeat center;
  transform: scale(1.2) rotate(var(--thumb-rotate, 0deg));
}

.carousel-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22" fill="none"><rect x="3" y="3" width="16" height="16" rx="2" stroke="%230073A2" stroke-width="2" fill="%23111317" /><line x1="11" y1="6" x2="11" y2="16" stroke="%230073A2" stroke-width="1.5" /><line x1="6" y1="11" x2="16" y2="11" stroke="%230073A2" stroke-width="1.5" /></svg>') no-repeat center;
  border: none;
  box-shadow: 0 0 12px rgba(0, 115, 162, 0.6);
  transform: rotate(var(--thumb-rotate, 0deg));
  transition: transform 0.05s linear;
  cursor: pointer;
}

.carousel-slider::-moz-range-thumb:hover {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22" fill="none"><rect x="3" y="3" width="16" height="16" rx="2" stroke="%230088c0" stroke-width="2.5" fill="%23111317" /><line x1="11" y1="5" x2="11" y2="17" stroke="%230088c0" stroke-width="2" /><line x1="5" y1="11" x2="17" y2="11" stroke="%230088c0" stroke-width="2" /></svg>') no-repeat center;
  transform: scale(1.2) rotate(var(--thumb-rotate, 0deg));
}

/* ====================================================
   COMPREHENSIVE MOBILE FIXES
   ==================================================== */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* --- Mobile hero section fixes --- */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero__content {
    order: 1;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero__visual {
    order: 2;
    justify-content: center;
  }

  .hero__visual-grid {
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .hero__sub {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: 24px;
  }

  .hero__sub br {
    display: none;
  }

  .hero__actions {
    justify-content: center;
    margin-bottom: 32px;
  }

  .hero__stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 32px;
    padding-top: 24px;
  }

  .stat {
    padding: 0 20px;
  }

  .stat__num {
    font-size: 1.6rem;
  }

  .stat__label {
    font-size: 0.6rem;
  }

  .hero__image-wrap {
    height: 200px;
  }

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

  .hero__info-card {
    height: 180px;
  }

  /* Fix hero::after blob overflow */
  .hero::after {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
  }
}

/* --- Navbar mobile fixes --- */
@media (max-width: 768px) {
  .navbar__inner {
    padding: 0;
  }

  .navbar__cta {
    display: none;
  }

  .navbar__burger {
    display: flex;
    z-index: 1001;
  }

  .navbar__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(39, 39, 41, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    padding: 90px 20px 40px;
    margin-left: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .navbar__nav.open {
    transform: translateX(0);
  }

  .navbar__nav .nav-link {
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .navbar__nav .nav-link.active::after {
    display: none;
  }
}

/* --- Recent Products / Portfolio section mobile fixes --- */
@media (max-width: 768px) {
  .recent-products .panel-block {
    padding: 0 !important;
  }

  .clients-semicircle-container,
  .products-semicircle-container {
    height: 280px !important;
    margin-top: 20px;
  }

  .printing-linear-container {
    height: 220px !important;
    margin-top: 20px;
  }

  .section-heading {
    font-size: clamp(1.4rem, 4.5vw, 2rem) !important;
  }

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

@media (max-width: 480px) {
  .clients-semicircle-container,
  .products-semicircle-container {
    height: 230px !important;
  }

  .printing-linear-container {
    height: 180px !important;
  }
}

/* --- About Combined section mobile --- */
@media (max-width: 768px) {
  .about-combined {
    padding: 60px 0;
  }

  .about-combined::before {
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(17, 19, 23, 0.4) 0%, rgba(17, 19, 23, 0.8) 100%), url('images/heidelberg 45.webp');
    background-position: center;
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 0.08;
  }

  .about-combined__inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .about-combined__content {
    padding: 0;
  }

  .about-stats-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px;
  }

  .about-section__list {
    margin-bottom: 24px;
  }

  .about-section__list li {
    font-size: 0.85rem;
  }
}

/* --- Trust Bar mobile --- */
@media (max-width: 768px) {
  .trust-bar__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .trust-bar__logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .trust-logo {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}

/* --- CTA Section mobile --- */
@media (max-width: 768px) {
  .cta-section__inner {
    padding: 48px 20px;
  }

  .cta-section__heading {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .cta-section__sub {
    font-size: 0.9rem;
    max-width: 100%;
  }
}

/* --- Contact / Connect section mobile --- */
@media (max-width: 768px) {
  .connect-section__inner {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .connect-map {
    height: 280px;
  }

  .map-box {
    min-height: 280px !important;
  }

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

/* --- Footer mobile --- */
@media (max-width: 768px) {
  .footer {
    padding-top: 48px;
  }

  .footer__inner {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* --- Carousel slider mobile fix --- */
@media (max-width: 768px) {
  .carousel-slider-wrap {
    max-width: 200px;
    margin-top: 16px;
  }
}

/* --- Scroll indicator mobile --- */
@media (max-width: 768px) {
  .hero__scroll-indicator {
    display: none;
  }
}

/* --- Small phone fixes (320px) --- */
@media (max-width: 380px) {
  .container {
    padding: 0 12px !important;
  }

  .hero__title {
    font-size: 1.6rem !important;
  }

  .stat {
    padding: 0 12px;
  }

  .stat__num {
    font-size: 1.4rem;
  }

  .hero__info-card {
    height: 160px;
    padding: 14px;
  }

  .hero__info-card-title {
    font-size: 0.95rem;
  }

  .hero__info-card-preview {
    font-size: 0.75rem;
  }
}

/* ---- See Our Work in Action (Action Carousel) ---- */
.action-linear-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 540px;
  margin: 40px auto 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
}

.action-linear-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 115, 162, 0.3) 20%,
    rgba(0, 115, 162, 0.6) 50%,
    rgba(0, 115, 162, 0.3) 80%,
    transparent 100%);
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.action-linear-list {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.linear-action-card {
  position: absolute;
  width: 220px;
  height: 220px;
  top: 50%;
  left: 0;
  will-change: transform, opacity;
  cursor: pointer;
  z-index: 2;
}

.linear-action-card .card-inner {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* black transparent tiles */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.linear-action-card--hovered {
  z-index: 50 !important;
}

.linear-action-card--hovered .card-inner {
  transform: scale(2.0454); /* Restored high scale for large expansion */
  border-color: var(--accent) !important;
  box-shadow: 0 0 40px rgba(0, 115, 162, 0.7) !important;
}

.linear-action-card:hover .card-inner {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.linear-action-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity var(--transition);
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.linear-action-card:hover img,
.linear-action-card--hovered img {
  opacity: 1;
}

/* Linear card blur styling */
.linear-action-card {
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.35s ease, filter 0.35s ease;
}

.linear-action-card--blurred {
  filter: blur(5px);
  opacity: 0.3 !important;
}

/* --- Orbiting Circle Feature Setup --- */
.work5-hover-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 450px; /* Same width as expanded card inner */
  height: 450px;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none; /* Container itself doesn't block mouse */
  z-index: 10;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

/* Trigger orbit activation when Work 5 card is hovered */
.linear-action-card--has-hover.linear-action-card--hovered .work5-hover-orbit {
  transform: translate(-50%, -50%) scale(1);
}

.orbit-item {
  position: absolute;
  width: 170px;
  height: 120px;
  border-radius: var(--radius-md);
  background: rgba(17, 19, 23, 0.95);
  border: 1px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0, 115, 162, 0.4);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
  backdrop-filter: blur(8px);
  pointer-events: auto;
  cursor: pointer;
  /* Expand via width/height to avoid conflicting with orbit animation transform */
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              height 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
  z-index: 11;
}

/* Expand via width/height on hover — avoids conflicting with the orbit animation's transform */
.orbit-item:hover {
  width: 240px;  /* Expands from 170px */
  height: 170px; /* Expands from 120px */
  border-color: #fff;
  box-shadow: 0 0 32px rgba(0, 115, 162, 0.9), 0 16px 48px rgba(0, 0, 0, 0.6);
  z-index: 100;
}

/* JS adds this class to the orbit container to pause ALL 3 items simultaneously */
.work5-hover-orbit--paused .orbit-item {
  animation-play-state: paused;
}

/* Image smoothly fills the new expanded area */
.orbit-item:hover img {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: scale(1.0); /* Let width/height do the expansion — no extra scale needed */
}

.orbit-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease;
}

/* Position items at 120-degree intervals around a 230px radius circle */
.orbit-item--1 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg) translate(230px) rotate(0deg);
  animation: orbit-path-1 12s linear infinite;
}

.orbit-item--2 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(120deg) translate(230px) rotate(-120deg);
  animation: orbit-path-2 12s linear infinite;
}

.orbit-item--3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(240deg) translate(230px) rotate(-240deg);
  animation: orbit-path-3 12s linear infinite;
}

/* Orbit Path Animations (Rotating coordinates while keeping images upright) */
@keyframes orbit-path-1 {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translate(230px) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) translate(230px) rotate(-360deg);
  }
}

@keyframes orbit-path-2 {
  0% {
    transform: translate(-50%, -50%) rotate(120deg) translate(230px) rotate(-120deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(480deg) translate(230px) rotate(-480deg);
  }
}

@keyframes orbit-path-3 {
  0% {
    transform: translate(-50%, -50%) rotate(240deg) translate(230px) rotate(-240deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(600deg) translate(230px) rotate(-600deg);
  }
}

/* Responsive adjustment for orbiting circles on tablet */
@media (max-width: 768px) {
  .work5-hover-orbit {
    width: 250px;
    height: 250px;
  }
  .orbit-item {
    width: 110px;
    height: 80px;
    padding: 3px;
  }
  .orbit-item--1 { animation-name: orbit-path-1-tablet; }
  .orbit-item--2 { animation-name: orbit-path-2-tablet; }
  .orbit-item--3 { animation-name: orbit-path-3-tablet; }
  
  @keyframes orbit-path-1-tablet {
    0% { transform: translate(-50%, -50%) rotate(0deg) translate(130px) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translate(130px) rotate(-360deg); }
  }
  @keyframes orbit-path-2-tablet {
    0% { transform: translate(-50%, -50%) rotate(120deg) translate(130px) rotate(-120deg); }
    100% { transform: translate(-50%, -50%) rotate(480deg) translate(130px) rotate(-480deg); }
  }
  @keyframes orbit-path-3-tablet {
    0% { transform: translate(-50%, -50%) rotate(240deg) translate(130px) rotate(-240deg); }
    100% { transform: translate(-50%, -50%) rotate(600deg) translate(130px) rotate(-600deg); }
  }
}

/* Responsive adjustment for orbiting circles on mobile */
@media (max-width: 480px) {
  .work5-hover-orbit {
    width: 200px;
    height: 200px;
  }
  .orbit-item {
    width: 50px;
    height: 50px;
    padding: 4px;
  }
  .orbit-item--1 { animation-name: orbit-path-1-mobile; }
  .orbit-item--2 { animation-name: orbit-path-2-mobile; }
  .orbit-item--3 { animation-name: orbit-path-3-mobile; }
  
  @keyframes orbit-path-1-mobile {
    0% { transform: translate(-50%, -50%) rotate(0deg) translate(105px) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translate(105px) rotate(-360deg); }
  }
  @keyframes orbit-path-2-mobile {
    0% { transform: translate(-50%, -50%) rotate(120deg) translate(105px) rotate(-120deg); }
    100% { transform: translate(-50%, -50%) rotate(480deg) translate(105px) rotate(-480deg); }
  }
  @keyframes orbit-path-3-mobile {
    0% { transform: translate(-50%, -50%) rotate(240deg) translate(105px) rotate(240deg); }
    100% { transform: translate(-50%, -50%) rotate(600deg) translate(105px) rotate(-600deg); }
  }
}

.action-linear-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 3;
  pointer-events: none;
}

.action-linear-fade--left {
  left: 0;
  background: linear-gradient(90deg, #111317 0%, transparent 100%);
}

.action-linear-fade--right {
  right: 0;
  background: linear-gradient(270deg, #111317 0%, transparent 100%);
}

@media (max-width: 768px) {
  .action-linear-container {
    height: 380px; /* Taller container to support expanded cards on tablet */
  }
  .linear-action-card {
    width: 170px;
    height: 170px;
  }
  .linear-action-card .card-inner {
    padding: 14px;
  }
  .action-linear-fade {
    width: 80px;
  }
  .linear-action-card--hovered .card-inner {
    transform: scale(1.4705); /* Expanded to 250px on tablet */
  }
}

@media (max-width: 480px) {
  .action-linear-container {
    height: 320px; /* Taller container to support expanded cards on mobile */
  }
  .linear-action-card {
    width: 130px;
    height: 130px;
  }
  .linear-action-card .card-inner {
    padding: 10px;
  }
  .action-linear-fade {
    width: 50px;
  }
  .linear-action-card--hovered .card-inner {
    transform: scale(1.5384); /* Expanded to 200px on mobile */
  }
}

/* ====================================================
   CAROUSEL NAVIGATION ARROWS
   ==================================================== */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
}

.printing-linear-container:hover .carousel-nav-btn,
.action-linear-container:hover .carousel-nav-btn {
  opacity: 1;
  pointer-events: auto;
}

.carousel-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(0, 115, 162, 0.5);
}

.carousel-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-nav-btn--prev {
  left: 16px;
}

.carousel-nav-btn--next {
  right: 16px;
}

.carousel-nav-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
  fill: none;
  stroke: currentColor;
}

@media (max-width: 768px) {
  .carousel-nav-btn {
    width: 36px;
    height: 36px;
    opacity: 0.7;
    pointer-events: auto;
  }
  .carousel-nav-btn--prev { left: 8px; }
  .carousel-nav-btn--next { right: 8px; }
  .carousel-nav-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* ====================================================
   IMAGE SKELETON LOADING
   ==================================================== */
.skeleton-loading {
  position: relative;
  overflow: hidden;
}

.skeleton-loading::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 100%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
  border-radius: inherit;
  z-index: 1;
}

.skeleton-loading.loaded::before {
  display: none;
}

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

/* ====================================================
   FILE UPLOAD FIELD
   ==================================================== */
.file-upload-zone {
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 20px;
}

.file-upload-zone:hover {
  border-color: var(--accent);
  background: rgba(0, 115, 162, 0.05);
}

.file-upload-zone.dragover {
  border-color: var(--accent);
  background: rgba(0, 115, 162, 0.1);
  box-shadow: 0 0 20px rgba(0, 115, 162, 0.2);
}

.file-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-upload-icon {
  color: var(--accent);
  margin-bottom: 8px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.file-upload-zone:hover .file-upload-icon {
  opacity: 1;
}

.file-upload-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.file-upload-text strong {
  color: var(--accent);
}

.file-upload-hint {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 6px;
}

.file-upload-preview {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 115, 162, 0.08);
  border: 1px solid rgba(0, 115, 162, 0.2);
  border-radius: var(--radius-sm);
  margin-top: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.file-upload-preview.active {
  display: flex;
}

.file-upload-preview svg {
  flex-shrink: 0;
  color: var(--accent);
}

.file-upload-remove {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 2px;
  transition: color 0.2s;
}

.file-upload-remove:hover {
  color: #ef4444;
}

/* ====================================================
   MOBILE-FIRST COMPREHENSIVE OPTIMIZATIONS
   All rules inside media queries — desktop untouched.
   ==================================================== */

/* ---- Hero Title Group (two-line guarantee) ---- */
.hero__title-group {
  display: block;
}

/* ---- Global touch-target safety ---- */
@media (max-width: 768px) {
  a, button, [role="button"], input[type="range"] {
    min-height: 44px;
  }

  /* Prevent any section from bleeding horizontally */
  section, header, footer, .container {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

/* ====================================================
   NAVBAR — MOBILE
   ==================================================== */
@media (max-width: 768px) {
  .navbar {
    height: 70px;
  }

  .navbar.scrolled {
    height: 60px;
  }

  .navbar__inner {
    padding: 0 16px;
    gap: 12px;
  }

  .brand-logo {
    height: 48px;
    width: 130px;
    padding: 5px 10px;
    animation: none; /* Disable float on mobile for perf */
  }

  .navbar.scrolled .brand-logo {
    height: 42px;
    width: 115px;
  }

  /* Burger — bigger tap target */
  .navbar__burger {
    display: flex;
    padding: 12px;
    margin-left: auto;
  }

  .navbar__burger span {
    width: 24px;
    height: 2.5px;
  }

  /* Slide-in menu */
  .navbar__nav {
    width: min(280px, 85vw);
    padding: 80px 20px 40px;
  }

  .navbar__nav .nav-link {
    font-size: 1.05rem;
    padding: 16px 16px;
    min-height: 52px;
    display: flex;
    align-items: center;
  }
}

/* ====================================================
   HERO — MOBILE
   ==================================================== */
@media (max-width: 768px) {
  .hero {
    padding-top: 80px;
    min-height: 100svh; /* Use svh for accurate mobile viewport */
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 24px;
    padding-bottom: 60px;
    text-align: left; /* Left-aligned is more premium on mobile */
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__badge {
    font-size: 0.72rem;
    padding: 6px 12px;
    margin-bottom: 16px;
  }

  /* Two-line title */
  .hero__title {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
    margin-bottom: 2px;
    letter-spacing: -0.02em;
  }

  .hero__subtitle {
    font-size: clamp(1.3rem, 5vw, 2rem);
    margin-bottom: 16px;
  }

  .hero__sub {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 100%;
  }

  .hero__sub br {
    display: none;
  }

  .hero__actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    justify-content: flex-start;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    min-width: 140px;
    justify-content: center;
    font-size: 0.88rem;
    padding: 12px 20px;
  }

  .hero__stats {
    margin-top: 28px;
    padding-top: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0;
  }

  .stat {
    padding: 0 20px;
    flex: 0 0 auto;
  }

  .stat:first-child {
    padding-left: 0;
  }

  .stat__num {
    font-size: 1.7rem;
  }

  .stat__label {
    font-size: 0.58rem;
  }

  /* Video panel */
  .hero__visual {
    display: none; /* Remove hero visual on mobile to save space & keep focus on content */
  }

  /* Remove overflow blob that can extend page width */
  .hero::after {
    width: 200px;
    height: 200px;
    opacity: 0.4;
  }

  /* Grid background — reduce opacity for performance */
  .hero__bg-grid {
    opacity: 0.5;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .hero__subtitle {
    font-size: clamp(1.1rem, 6vw, 1.6rem);
  }

  .hero__inner {
    padding-top: 16px;
  }

  .stat {
    padding: 0 14px;
  }

  .stat__num {
    font-size: 1.4rem;
  }
}

/* ====================================================
   ABOUT / 25+ YEARS — MOBILE
   ==================================================== */
@media (max-width: 768px) {
  .about-combined {
    padding: 52px 0;
  }

  .about-combined__inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .about-combined__visual {
    display: none;
  }

  .about-combined__content {
    order: 1;
    padding: 0;
  }

  .about-combined::before {
    opacity: 0.07;
    -webkit-mask-image: none;
    mask-image: none;
    background-position: center center;
    background-size: cover;
  }

  .section-heading {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
    line-height: 1.2;
  }

  .section-body {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .about-stats-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px;
    padding: 16px 0;
    margin: 20px 0;
  }

  .mini-stat__num {
    font-size: 1.2rem;
  }

  .mini-stat__label {
    font-size: 0.62rem;
  }

  .about-section__list {
    gap: 10px;
    margin-bottom: 20px;
  }

  .about-section__list li {
    font-size: 0.88rem;
  }

  /* Stack CTA buttons */
  .about-combined__content > div[style*="flex"] {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .about-combined__content .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

/* ====================================================
   RECENT PRODUCTS / PORTFOLIO SECTION — MOBILE
   ==================================================== */
@media (max-width: 768px) {
  .recent-products {
    padding: 52px 0;
  }

  /* Section labels inside panels */
  .recent-products .section-label {
    font-size: 0.7rem;
  }

  .recent-products .section-heading {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem) !important;
    margin-bottom: 10px;
  }

  .recent-products .section-sub {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  /* Client logos carousel */
  .clients-semicircle-container {
    height: 260px !important;
    margin-top: 16px;
  }

  .semicircle-logo-card {
    width: 105px !important;
    height: 70px !important;
    padding: 10px !important;
  }

  /* Products carousel */
  .products-semicircle-container {
    height: 270px !important;
    margin-top: 16px;
  }

  .semicircle-product-card {
    width: 88px !important;
    height: 88px !important;
    padding: 7px !important;
  }

  /* Printing linear carousel */
  .printing-linear-container {
    height: 240px !important;
    margin-top: 16px;
  }

  .linear-printing-card {
    width: 140px !important;
    height: 140px !important;
  }

  .linear-printing-card--hovered .card-inner {
    transform: scale(1.42) !important;
  }

  .printing-linear-fade {
    width: 60px;
  }

  /* Action (work) carousel */
  .action-linear-container {
    height: 240px !important;
    margin-top: 16px;
  }

  .linear-action-card {
    width: 140px !important;
    height: 140px !important;
  }

  .linear-action-card--hovered .card-inner {
    transform: scale(1.42) !important;
  }

  .action-linear-fade {
    width: 60px;
  }

  /* Slider thumb — bigger touch target */
  .carousel-slider-wrap {
    max-width: 80%;
    margin-top: 14px;
  }

  .carousel-slider::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
    margin-top: -12px;
  }

  /* Section dividers inside portfolio */
  .recent-products > .container > div[style*="height: 1px"] {
    margin: 0;
  }

  /* Blueprint background — reduce on mobile */
  .recent-products__blueprint-bg {
    opacity: 0.1;
  }

  /* Disable orbit on mobile — too complex for small screens */
  .work5-hover-orbit {
    display: none;
  }
}

@media (max-width: 480px) {
  .clients-semicircle-container {
    height: 210px !important;
  }

  .semicircle-logo-card {
    width: 85px !important;
    height: 58px !important;
    padding: 8px !important;
  }

  .products-semicircle-container {
    height: 220px !important;
  }

  .semicircle-product-card {
    width: 72px !important;
    height: 72px !important;
    padding: 6px !important;
  }

  .printing-linear-container,
  .action-linear-container {
    height: 200px !important;
  }

  .linear-printing-card,
  .linear-action-card {
    width: 120px !important;
    height: 120px !important;
  }

  .linear-printing-card--hovered .card-inner,
  .linear-action-card--hovered .card-inner {
    transform: scale(1.5) !important;
  }
}

/* ====================================================
   TRUST BAR — MOBILE
   ==================================================== */
@media (max-width: 768px) {
  .trust-bar {
    padding: 20px 0;
  }

  .trust-bar__inner {
    gap: 12px;
    text-align: center;
  }

  .trust-logo {
    font-size: 0.7rem;
    padding: 6px 10px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .trust-logo:last-child {
    border-bottom: none;
  }

  .trust-bar__logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
  }
}

/* ====================================================
   CTA SECTION — MOBILE
   ==================================================== */
@media (max-width: 768px) {
  .cta-section {
    padding: 60px 0;
  }

  .cta-section__inner {
    padding: 0 16px;
    max-width: 100%;
  }

  .cta-section__heading {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    line-height: 1.2;
  }

  .cta-section__heading br {
    display: none;
  }

  .cta-section__sub {
    font-size: 0.88rem;
    margin-bottom: 32px;
  }

  .cta-section .btn--xl {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }
}

/* ====================================================
   CONNECT / CONTACT — MOBILE
   ==================================================== */
@media (max-width: 768px) {
  .connect-section {
    padding: 52px 0;
  }

  .connect-section__inner {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .connect-map {
    height: 260px;
    min-height: 260px;
  }

  .map-box {
    min-height: 260px !important;
    border-radius: var(--radius-lg) !important;
  }

  .map-box iframe {
    border-radius: var(--radius-lg);
  }

  .connect-form-wrap {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }

  .connect-form-wrap .section-heading {
    font-size: 1.4rem !important;
    margin-bottom: 16px !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-bottom: 0 !important;
  }

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

  .form-input {
    font-size: 16px; /* Prevent iOS zoom on input focus */
    padding: 13px 14px;
    border-radius: var(--radius-sm);
  }

  .form-input::placeholder {
    font-size: 0.88rem;
  }

  #ms3Submit {
    padding: 14px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }
}

/* ====================================================
   FOOTER — MOBILE
   ==================================================== */
@media (max-width: 768px) {
  .footer {
    padding-top: 44px;
  }

  .footer__inner {
    grid-template-columns: 1fr !important;
    gap: 28px;
    padding-bottom: 32px;
  }

  .brand-logo--footer {
    height: 64px;
    padding: 10px 20px;
  }

  .footer__tagline {
    font-size: 0.84rem;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .footer__socials {
    gap: 8px;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  .footer__col-title {
    margin-bottom: 14px;
    margin-top: 4px;
  }

  .footer__list {
    gap: 12px;
  }

  .footer__list a {
    font-size: 0.9rem;
    display: block;
    padding: 2px 0;
  }

  .footer__contact-list {
    gap: 12px;
  }

  .footer__contact-item {
    font-size: 0.84rem;
    align-items: flex-start;
    gap: 10px;
  }

  .footer__contact-item a {
    word-break: break-word;
  }

  .footer__bottom {
    padding: 16px 0;
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .footer__bottom-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer__bottom span,
  .footer__bottom-links a {
    font-size: 0.75rem;
  }
}

/* ====================================================
   INFO MODAL — MOBILE
   ==================================================== */
@media (max-width: 768px) {
  .info-modal__content {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    max-height: 90vh;
  }

  .info-modal .hero__info-card-title {
    font-size: 1.2rem;
  }

  .info-modal .hero__info-card-expanded p,
  .info-modal .hero__info-card-expanded ul {
    font-size: 0.88rem;
  }
}

/* ====================================================
   ANIMATION PERFORMANCE — MOBILE
   ==================================================== */
@media (max-width: 768px) {
  /* Reduce animation complexity on mobile */
  @keyframes gridPan {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 60px 60px, 60px 60px; }
  }

  /* Disable heavy transform animations */
  .brand-logo {
    animation: none !important;
  }

  /* Simplify stagger animations */
  [data-anim] {
    transition-duration: 0.5s;
  }

  /* Reduce blur effects on mobile for perf */
  .info-modal__backdrop {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .navbar__nav {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

/* ====================================================
   VERY SMALL PHONES (320px – 380px)
   ==================================================== */
@media (max-width: 380px) {
  .container {
    padding: 0 14px !important;
  }

  .hero__title {
    font-size: 1.5rem !important;
  }

  .hero__subtitle {
    font-size: 1.05rem !important;
  }

  .stat {
    padding: 0 10px;
  }

  .stat__num {
    font-size: 1.3rem;
  }

  .section-heading {
    font-size: 1.35rem !important;
  }

  .btn {
    font-size: 0.82rem;
    padding: 11px 16px;
  }

  .about-combined__content .btn {
    font-size: 0.85rem;
  }

  .connect-form-wrap {
    padding: 20px 14px;
  }

  .footer__inner {
    gap: 22px;
  }
}

/* ====================================================
   PRINT MEDIA QUERY (bonus for professional sites)
   ==================================================== */
@media print {
  .navbar, .hero__scroll-indicator, .cta-section,
  .carousel-slider-wrap, .carousel-nav-btn {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section-heading, .hero__title, .hero__subtitle {
    color: black;
  }
}

