/* ============================================
   Jupro Industries — Modern Corporate Site
   ============================================ */

:root {
  --color-bg: #f4f7fb;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-primary: #0c5c9e;
  --color-primary-light: #1a7fd4;
  --color-primary-dark: #063d6b;
  --color-accent: #f0b429;
  --color-accent-hover: #d99b0f;
  --color-accent-glow: rgba(240, 180, 41, 0.45);
  --color-teal: #0d9488;
  --color-border: #e2e8f0;
  --color-dark: #071525;
  --gradient-brand: linear-gradient(135deg, #0c5c9e 0%, #0d9488 50%, #063d6b 100%);
  --gradient-gold: linear-gradient(135deg, #f0b429 0%, #f59e0b 100%);
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 4px 30px rgba(7, 21, 37, 0.06);
  --shadow-lg: 0 24px 64px rgba(7, 21, 37, 0.14);
  --shadow-card: 0 8px 32px rgba(12, 92, 158, 0.08);
  --header-h: 76px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --brand-logo-bg: #ffffff;
  --brand-logo-bg-elevated: #ffffff;
  --brand-logo-border: rgba(12, 92, 158, 0.08);
  --brand-logo-shadow: none;
  --brand-logo-radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}

main {
  overflow-x: clip;
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right));
}

[class*="__grid"] > * {
  min-width: 0;
}

/* ---- Top bar ---- */
.top-bar {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  padding: 8px 0;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a:hover {
  color: var(--color-accent);
}

.top-bar .sep {
  margin: 0 12px;
  opacity: 0.4;
}

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  padding: 2px 0;
  text-decoration: none;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.88;
}

/* Unified logo plate — matches site surfaces */
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px 14px;
  background: var(--brand-logo-bg-elevated);
  border: 1px solid var(--brand-logo-border);
  border-radius: var(--brand-logo-radius);
  box-shadow: var(--brand-logo-shadow);
}

.brand-logo--on-dark {
  background: var(--brand-logo-bg-elevated);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.brand-logo--on-brand {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.brand-logo--soft {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  padding: 0;
}

.brand-logo--flat {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.brand-logo--round {
  padding: 7px;
  border-radius: 50%;
}

.brand-logo img,
.brand-logo .logo__img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  object-position: center;
}

.brand-logo--round img {
  height: 100%;
  max-width: 100%;
}

.brand-logo--fab {
  width: 100%;
  height: 100%;
  padding: 8px;
  border: none;
  box-shadow: none;
  background: #ffffff;
}

.logo .brand-logo .logo__img {
  height: 40px;
  max-width: 160px;
}

.logo__img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
}

.logo__tagline {
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-left: 14px;
  border-left: 2px solid var(--color-accent);
}

.logo__tagline--footer {
  color: rgba(255, 255, 255, 0.55);
  border-left-color: var(--color-accent);
}

.logo__img--footer {
  height: 40px;
  max-width: 160px;
  filter: none;
}

.logo--footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 0;
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 280px;
}

.logo--footer:hover {
  opacity: 0.9;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
}

.nav-link__icon {
  display: none;
  flex-shrink: 0;
}

.nav-link__label {
  min-width: 0;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav a:hover {
  color: var(--color-primary);
}

.nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
  transform-origin: center;
}

/* Mobile nav drawer shell (hidden on desktop) */
.nav-drawer {
  display: none;
}

.nav__cta {
  display: none;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--gradient-gold);
  color: var(--color-dark);
  border-color: transparent;
  box-shadow: 0 4px 16px var(--color-accent-glow);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--color-accent-glow);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.btn--white:hover {
  background: var(--color-bg);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 22s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1%, -1%); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 21, 37, 0.94) 0%,
    rgba(12, 92, 158, 0.72) 50%,
    rgba(13, 148, 136, 0.35) 100%
  );
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: floatGlow 8s ease-in-out infinite;
}

.hero__glow--1 {
  width: 400px;
  height: 400px;
  background: var(--color-accent-glow);
  top: 20%;
  right: 10%;
}

.hero__glow--2 {
  width: 300px;
  height: 300px;
  background: rgba(13, 148, 136, 0.35);
  bottom: 10%;
  left: 5%;
  animation-delay: -4s;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.08); }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 720px;
}

.hero__eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
}

.hero__title-brand {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.65em;
}

.hero__title em {
  font-style: italic;
  color: var(--color-accent);
}

.hero__desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 28px 36px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  width: fit-content;
}

.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hero-stat span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

.hero-stat__divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Marquee ---- */
.marquee {
  background: var(--color-dark);
  padding: 14px 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 35s linear infinite;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marquee__track span:not(:nth-child(even)) {
  color: var(--color-accent);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Trust strip ---- */
.trust-strip {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 36px 0;
  margin-top: -1px;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 20px 22px;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.trust-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(12, 92, 158, 0.2);
}

.trust-item svg {
  color: #fff;
  flex-shrink: 0;
  padding: 10px;
  width: 48px;
  height: 48px;
  background: var(--gradient-brand);
  border-radius: 12px;
  box-sizing: content-box;
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
  padding: 6px 14px;
  background: rgba(12, 92, 158, 0.08);
  border-radius: 100px;
  border: 1px solid rgba(12, 92, 158, 0.12);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.section-desc {
  color: var(--color-text-muted);
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ---- About ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--gradient-gold);
  color: var(--color-dark);
  padding: 22px 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 12px 40px var(--color-accent-glow);
}

.about__badge span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about__badge strong {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.about__content p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.about__list {
  margin: 28px 0;
}

.about__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 500;
}

.about__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.about__director {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.about__director img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.about__director strong {
  display: block;
  font-size: 1rem;
}

.about__director span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ---- Partners ---- */
.partners {
  position: relative;
  background: var(--color-dark);
  color: #fff;
  overflow: hidden;
}

.partners__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(12, 92, 158, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(13, 148, 136, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

.partners .container {
  position: relative;
  z-index: 1;
}

.partners .section-label {
  color: var(--color-accent);
  background: rgba(240, 180, 41, 0.12);
  border-color: rgba(240, 180, 41, 0.25);
}

.partners .section-title {
  color: #fff;
}

.partners .section-desc {
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
  margin: 0 auto;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 20px 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.partner-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(240, 180, 41, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.partner-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 8px 12px;
  background: var(--brand-logo-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--brand-logo-radius);
  box-shadow: var(--brand-logo-shadow);
  transition: transform var(--transition);
}

.partner-card:hover .partner-card__logo {
  transform: scale(1.04);
}

.partner-card__logo img {
  width: 100%;
  max-width: 140px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  object-position: center;
}

.partner-card__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.partner-card:hover .partner-card__name {
  color: var(--color-accent);
}

.partners__note {
  text-align: center;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.partners__grid .partner-card {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.partners__grid.reveal.visible .partner-card {
  opacity: 1;
  transform: translateY(0);
}

.partners__grid.reveal.visible .partner-card:nth-child(1) { transition-delay: 0.05s; }
.partners__grid.reveal.visible .partner-card:nth-child(2) { transition-delay: 0.12s; }
.partners__grid.reveal.visible .partner-card:nth-child(3) { transition-delay: 0.19s; }
.partners__grid.reveal.visible .partner-card:nth-child(4) { transition-delay: 0.26s; }
.partners__grid.reveal.visible .partner-card:nth-child(5) { transition-delay: 0.33s; }

/* ---- Products ---- */
.products {
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
}

.products__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(12, 92, 158, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(13, 148, 136, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.products .container {
  position: relative;
  z-index: 1;
}

.products__count {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 12px 24px;
  background: var(--gradient-gold);
  color: var(--color-dark);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 8px 24px var(--color-accent-glow);
}

.products__count-num {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}

.product-filter {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.product-filter:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.product-filter.active {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(12, 92, 158, 0.3);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(12, 92, 158, 0.2), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 2;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(12, 92, 158, 0.15);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card.hidden {
  display: none !important;
}

.product-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 21, 37, 0.35) 0%, transparent 50%);
  pointer-events: none;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card__img img {
  transform: scale(1.08);
}

.product-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  background: var(--gradient-gold);
  color: var(--color-dark);
  border-radius: 100px;
}

.product-card__tag--new {
  background: var(--gradient-brand);
  color: #fff;
}

.product-card__body {
  padding: 26px 26px 28px;
}

.product-card__cat {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  margin-bottom: 8px;
}

.product-card__body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-card__body p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: gap var(--transition), border-color var(--transition), color var(--transition);
}

.product-card__link:hover {
  color: var(--color-accent-hover);
  gap: 10px;
  border-bottom-color: var(--color-accent);
}

.products__empty {
  text-align: center;
  padding: 48px;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* ---- Solutions ---- */
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.solution-card:hover img {
  transform: scale(1.08);
}

.solution-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #fff;
}

.solution-card__overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.solution-card__overlay p {
  font-size: 0.9375rem;
  opacity: 0.85;
}

/* ---- Tool room ---- */
.toolroom {
  background: var(--color-dark);
  color: #fff;
}

.toolroom .section-label {
  color: var(--color-accent);
}

.toolroom .section-title {
  color: #fff;
}

.toolroom__content p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
}

.toolroom__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.toolroom__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.toolroom__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.toolroom-feature {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toolroom-feature:last-child {
  border-bottom: none;
}

.toolroom-feature__num {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
  flex-shrink: 0;
}

.toolroom-feature strong {
  display: block;
  margin-bottom: 4px;
}

.toolroom-feature p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ---- CTA banner ---- */
.cta-banner {
  padding: 88px 0;
  background: var(--gradient-brand);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(240, 180, 41, 0.15);
  border-radius: 50%;
  top: -200px;
  right: -100px;
  filter: blur(60px);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #fff;
  margin-bottom: 8px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
}

/* ---- Testimonials ---- */
.testimonials {
  background: var(--color-surface);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial {
  background: var(--color-surface);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 20px;
  left: 28px;
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.4;
}

.testimonial p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial footer strong {
  display: block;
  font-size: 0.9375rem;
}

.testimonial footer span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ---- FAQ ---- */
.faq {
  background: var(--color-bg);
}

.faq__inner {
  max-width: 760px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq__item summary {
  padding: 18px 20px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  float: right;
  color: var(--color-primary);
  font-size: 1.25rem;
  line-height: 1;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  padding: 0 20px 18px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq__item a {
  color: var(--color-primary);
  font-weight: 600;
}

.faq__item a:hover {
  color: var(--color-primary-light);
}

/* ---- Contact ---- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact__list li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--color-text-muted);
}

.contact__list svg {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

.contact__list a:hover {
  color: var(--color-primary);
}

.contact__map {
  margin-top: 32px;
}

.quote-form {
  background: var(--color-surface);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.quote-form h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.quote-form > p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quote-form label {
  display: block;
  margin-bottom: 20px;
}

.quote-form label span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.15);
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status--success {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.form-status--error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.quote-form button:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.quote-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* ---- Footer ---- */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}


.footer__brand p {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer h4 {
  color: #fff;
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  opacity: 0.7;
}

.footer__bottom-inner a {
  color: var(--color-accent);
  text-decoration: none;
}

.footer__bottom-inner a:hover {
  text-decoration: underline;
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes trustPop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}

body.is-loaded .animate-in {
  animation-play-state: running;
}

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal--left {
  transform: translateX(-48px);
}

.reveal--right {
  transform: translateX(48px);
}

.reveal--scale {
  transform: scale(0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

.trust-item {
  opacity: 0;
  animation: trustPop 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.trust-item:nth-child(1) { animation-delay: 0.1s; }
.trust-item:nth-child(2) { animation-delay: 0.2s; }
.trust-item:nth-child(3) { animation-delay: 0.3s; }
.trust-item:nth-child(4) { animation-delay: 0.4s; }

.about__badge {
  animation: scaleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.about__media.visible .about__badge {
  animation-play-state: running;
}

.product-card.filter-in {
  animation: scaleIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.product-card.filter-out {
  animation: fadeOutScale 0.3s ease forwards;
  pointer-events: none;
}

@keyframes fadeOutScale {
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

.products__grid .product-card.reveal:nth-child(3n+2) { --reveal-delay: 0.08s; }
.products__grid .product-card.reveal:nth-child(3n+3) { --reveal-delay: 0.16s; }
.products__grid .product-card.reveal:nth-child(6n+4) { --reveal-delay: 0.12s; }
.products__grid .product-card.reveal:nth-child(6n+5) { --reveal-delay: 0.2s; }

.cta-banner__inner.reveal.visible {
  animation: fadeInUp 0.8s ease;
}

.solution-card.reveal.visible img {
  animation: kenBurns 18s ease-in-out infinite alternate;
}

.header {
  animation: fadeInUp 0.6s ease;
}

.top-bar {
  animation: fadeInUp 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__bg-img {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .animate-in {
    opacity: 1;
    animation: none;
  }

  .trust-item {
    opacity: 1;
    animation: none;
  }
}

/* ---- WhatsApp chat widget ---- */
.wa-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 10060;
}

.wa-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(380px, calc(100vw - 32px));
  max-height: min(580px, calc(100vh - 100px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 4px 24px rgba(7, 21, 37, 0.08),
    0 24px 64px rgba(7, 21, 37, 0.18);
  border: 1px solid rgba(7, 21, 37, 0.06);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.97);
  transform-origin: bottom right;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.wa-widget.is-open .wa-panel {
  bottom: 0;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-widget.is-open .chat-fab {
  display: none;
}

.wa-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.wa-panel__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.wa-panel__avatar.brand-initials {
  width: 46px;
  height: 46px;
  padding: 0;
}

.brand-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--color-dark);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.brand-initials--fab {
  width: 100%;
  height: 100%;
  font-size: 1.125rem;
}

.wa-panel__brand p {
  margin: 0;
  min-width: 0;
}

.wa-panel__brand strong {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.wa-panel__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  opacity: 0.92;
  margin-top: 3px;
}

.wa-panel__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(240, 180, 41, 0.45);
  animation: waStatusPulse 2s ease-in-out infinite;
}

@keyframes waStatusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
  .wa-panel__status-dot {
    animation: none;
  }
}

.wa-panel__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.wa-panel__close:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: scale(1.05);
}

.wa-panel__body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  max-height: 400px;
  padding: 16px 14px;
  background-color: #e5ddd5;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d1c9c0' fill-opacity='0.45'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/svg%3E");
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.wa-msg {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  max-width: 88%;
}

.wa-msg--bot {
  align-self: flex-start;
}

.wa-msg--user {
  align-self: flex-end;
  align-items: flex-end;
}

.wa-msg__bubble {
  padding: 10px 14px 11px;
  font-size: 0.875rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}

.wa-msg--bot .wa-msg__bubble {
  background: #fff;
  color: #1f2937;
  border-radius: 4px 16px 16px 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.wa-msg--user .wa-msg__bubble {
  background: #d9fdd3;
  color: #1f2937;
  border-radius: 16px 4px 16px 16px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.wa-msg--map {
  align-self: stretch;
  max-width: 100%;
  margin-bottom: 12px;
}

.wa-map-card {
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.wa-map-card iframe {
  display: block;
  width: 100%;
  height: 168px;
  border: 0;
  background: #e8e8e8;
}

.wa-map-card__link {
  display: block;
  padding: 10px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-primary-dark);
  text-decoration: none;
  background: #f4f8fc;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  transition: background var(--transition);
}

.wa-map-card__link:hover {
  background: rgba(12, 92, 158, 0.06);
}

.wa-msg__time {
  font-size: 0.625rem;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 4px;
  padding: 0 4px;
}

.wa-msg--typing .wa-msg__bubble {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 14px 16px;
  min-width: 56px;
}

.wa-msg--typing .wa-msg__bubble span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ca3af;
  animation: waTypingDot 1.2s ease-in-out infinite;
}

.wa-msg--typing .wa-msg__bubble span:nth-child(2) {
  animation-delay: 0.15s;
}

.wa-msg--typing .wa-msg__bubble span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes waTypingDot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
  40% { transform: translateY(-4px); opacity: 1; }
}

.wa-chips-row {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  margin: 8px 0 12px;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.wa-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  padding: 11px 16px;
  background: #fff;
  border: 1.5px solid var(--color-primary);
  border-radius: 24px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.wa-chip:hover {
  background: rgba(12, 92, 158, 0.06);
  border-color: var(--color-primary-light);
  transform: translateY(-1px);
}

.wa-chip:active {
  transform: translateY(0);
}

.wa-panel__footer {
  flex-shrink: 0;
  padding: 10px 12px 14px;
  background: #f0f2f5;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.wa-compose {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-compose__input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.9375rem;
  border: none;
  border-radius: 24px;
  background: #fff;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.wa-compose__input:focus {
  box-shadow: 0 0 0 2px rgba(12, 92, 158, 0.28);
}

.wa-compose__send {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.wa-compose__send:hover {
  background: var(--color-primary-light);
  transform: scale(1.05);
}

.chat-fab {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--gradient-gold);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow:
    0 8px 24px var(--color-accent-glow),
    0 2px 8px rgba(7, 21, 37, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}

.chat-fab:hover {
  transform: scale(1.06);
  box-shadow:
    0 12px 32px rgba(240, 180, 41, 0.55),
    0 4px 12px rgba(7, 21, 37, 0.15);
}

@keyframes chatFabPulse {
  0%, 100% {
    box-shadow:
      0 8px 24px var(--color-accent-glow),
      0 0 0 0 rgba(240, 180, 41, 0.4);
  }
  50% {
    box-shadow:
      0 12px 32px rgba(240, 180, 41, 0.55),
      0 0 0 10px rgba(240, 180, 41, 0.14);
  }
}

.wa-widget:not(.is-open) .chat-fab {
  animation: chatFabPulse 3s ease-in-out infinite;
}

.nav a.nav-link--active {
  color: var(--color-primary);
}

.nav a.nav-link--active::after {
  width: 100%;
}

/* Desktop: nav is moved into .header__inner via JS */
@media (min-width: 769px) {
  .nav-drawer {
    display: none !important;
  }

  .header__inner .nav {
    position: static;
    display: flex !important;
    flex: 1;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    transform: none !important;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    gap: 32px;
    flex-direction: row;
  }

  .header__inner .nav a {
    padding: 0;
    border-bottom: none;
    font-size: 0.9375rem;
    white-space: nowrap;
  }

  .header__inner .nav a::after {
    display: block;
  }

  .header__inner .nav-link__icon,
  .header__inner .nav-drawer__close {
    display: none !important;
  }

  .header__inner .nav__cta {
    display: inline-flex;
    flex-shrink: 0;
    margin-left: 8px;
    white-space: nowrap;
  }

  .header__inner .nav__cta::after {
    display: none;
  }

  .header__inner .nav-drawer__brand {
    display: none !important;
  }
}

/* Drawer brand only on mobile (nav lives in drawer) */
.nav-drawer__brand {
  display: none;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .partners__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .partners__grid .partner-card:nth-child(4),
  .partners__grid .partner-card:nth-child(5) {
    grid-column: span 1;
  }

  .products__grid,
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions__grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    aspect-ratio: 16/9;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .container {
    padding-inline: max(22px, env(safe-area-inset-left)) max(22px, env(safe-area-inset-right));
  }

  /* Prevent horizontal reveal transforms from causing page drift */
  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--scale {
    transform: translateY(20px) !important;
  }

  .reveal.visible {
    transform: translateY(0) !important;
  }

  /* Top bar */
  .top-bar {
    font-size: 0.75rem;
    padding: 6px 0;
  }

  .top-bar__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .top-bar__contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 10px;
  }

  .top-bar__address {
    display: none;
  }

  .top-bar .sep {
    display: none;
  }

  /* Mobile aside drawer */
  .header {
    z-index: 1000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #ffffff;
    animation: none;
  }

  .header__inner {
    gap: 12px;
  }

  /* Safety: never show nav inline in header bar on mobile */
  .header__inner > .nav {
    display: none !important;
  }

  .nav-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 10050;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  .nav-drawer .nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 21, 37, 0.65);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav-drawer.is-open .nav-backdrop {
    opacity: 1;
  }

  .nav-drawer .nav-drawer__brand {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    margin: 0 -24px 4px;
    padding: 18px 64px 18px 24px;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-drawer__close {
    position: absolute;
    top: 14px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
  }

  .nav-drawer__close:hover {
    background: var(--color-bg);
    color: var(--color-text);
  }

  .nav-drawer__brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    transition: opacity var(--transition);
  }

  .nav-drawer__brand-link:hover {
    opacity: 0.88;
  }

  .nav-drawer__brand .brand-logo {
    width: 100%;
    max-width: 220px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .nav-drawer__logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: center;
  }

  .nav-drawer .nav {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(300px, 88vw);
    margin: 0;
    padding: 0 24px 32px;
    gap: 0;
    background: var(--color-surface);
    border-left: 1px solid var(--color-border);
    box-shadow: -16px 0 48px rgba(7, 21, 37, 0.2);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1;
  }

  .nav-drawer.is-open .nav {
    transform: translateX(0);
  }

  .nav-drawer .nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 4px;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
    color: var(--color-text-muted);
  }

  .nav-drawer .nav a::after {
    display: none;
  }

  .nav-drawer .nav-link__icon {
    display: block;
    width: 22px;
    height: 22px;
    color: var(--color-primary);
    opacity: 0.9;
  }

  .nav-drawer .nav a:hover .nav-link__icon,
  .nav-drawer .nav a:focus-visible .nav-link__icon {
    color: var(--color-primary-light);
    opacity: 1;
  }

  .nav-drawer .nav a:hover,
  .nav-drawer .nav a:focus-visible {
    color: var(--color-primary);
  }

  .nav-drawer .nav a:last-of-type:not(.nav__cta) {
    border-bottom: none;
  }

  .nav-drawer .nav__cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    width: 100%;
    text-align: center;
  }

  .nav-drawer .nav__cta .nav-link__icon--cta {
    color: var(--color-dark);
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  body.nav-open {
    overflow: hidden;
  }

  .logo__tagline {
    display: none;
  }

  .logo__tagline--footer {
    display: none;
  }

  .logo__img {
    height: 36px;
    max-width: 130px;
  }

  .logo__img--footer {
    height: 36px;
    max-width: 130px;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-bottom: 40px;
  }

  .hero__content {
    padding: 72px 0 48px;
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
    margin-bottom: 16px;
  }

  .hero__desc {
    font-size: 0.9375rem;
    margin-bottom: 28px;
  }

  .hero__actions {
    margin-bottom: 36px;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    padding: 20px 16px;
  }

  .hero-stat {
    text-align: center;
  }

  .hero-stat strong {
    font-size: 1.375rem;
  }

  .hero-stat span {
    font-size: 0.625rem;
    line-height: 1.3;
  }

  .hero-stat__divider {
    display: none;
  }

  .hero__scroll {
    display: none;
  }

  .hero__glow--1 {
    width: 240px;
    height: 240px;
  }

  .hero__glow--2 {
    width: 180px;
    height: 180px;
  }

  /* Trust strip */
  .trust-strip {
    padding: 24px 0;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .trust-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    font-size: 0.8125rem;
  }

  .trust-item svg {
    width: 36px;
    height: 36px;
    padding: 8px;
  }

  /* Sections */
  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: clamp(1.625rem, 6vw, 2rem);
  }

  /* About */
  .about__grid,
  .toolroom__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__badge {
    padding: 14px 20px;
    bottom: 16px;
    right: 16px;
  }

  .about__badge strong {
    font-size: 1.75rem;
  }

  .toolroom__media {
    order: -1;
  }

  /* Partners */
  .partners__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .partner-card {
    padding: 20px 14px 18px;
    gap: 12px;
  }

  .partner-card__logo {
    min-height: 48px;
    padding: 6px 10px;
  }

  .partner-card__logo img {
    max-width: 110px;
    max-height: 36px;
  }

  /* Products */
  .products__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 36px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-filters::-webkit-scrollbar {
    display: none;
  }

  .product-filter {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.8125rem;
  }

  .product-card__body {
    padding: 20px;
  }

  /* Solutions */
  .solution-card__overlay {
    padding: 24px;
  }

  .solution-card__overlay h3 {
    font-size: 1.25rem;
  }

  /* CTA */
  .cta-banner {
    padding: 56px 0;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__inner .btn {
    width: 100%;
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial {
    padding: 28px 24px;
  }

  /* Contact */
  .contact__info,
  .quote-form {
    width: 100%;
    max-width: 100%;
  }

  .contact__list li {
    align-items: flex-start;
    gap: 12px;
  }

  .contact__list svg {
    margin-top: 3px;
  }

  .section-label {
    max-width: 100%;
  }

  .section-title {
    font-size: clamp(1.5rem, 5.5vw, 1.875rem);
    line-height: 1.25;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 24px 20px;
  }

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    font-size: 16px;
  }

  .contact__map iframe {
    height: 180px;
  }

  /* Footer */
  .footer {
    padding-top: 48px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer__desc {
    max-width: none;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Chat widget — mobile full-screen */
  body.wa-chat-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .wa-widget {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
  }

  .wa-widget.is-open {
    inset: 0;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
  }

  .wa-panel {
    width: min(340px, calc(100vw - 32px));
    bottom: calc(100% + 12px);
    max-height: min(520px, calc(100dvh - 90px));
  }

  .wa-widget.is-open .wa-panel {
    position: fixed;
    inset: 0;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100dvh;
    border-radius: 0;
    transform: none !important;
  }

  .wa-panel__header {
    flex-shrink: 0;
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .wa-panel__body {
    flex: 1;
    min-height: 0;
    max-height: none;
    padding: 14px 12px;
  }

  .wa-panel__footer {
    flex-shrink: 0;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .wa-chips-row {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
  }

  .wa-chip {
    width: 100% !important;
    min-height: 46px;
    padding: 12px 14px;
    font-size: 0.875rem;
    line-height: 1.35;
  }

  .wa-msg {
    max-width: 90%;
  }

  .wa-map-card iframe {
    height: 140px;
  }

  .chat-fab {
    width: 56px;
    height: 56px;
  }

  .brand-initials--fab {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
  }

  .top-bar__contact {
    flex-direction: column;
    gap: 2px;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr;
  }

  .partners__grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }

  .hero-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-stat:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .hero-stat strong {
    font-size: 1.5rem;
    order: 2;
  }

  .hero-stat span {
    font-size: 0.75rem;
    order: 1;
    max-width: 55%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .btn--lg {
    padding: 13px 24px;
  }

  .about__director {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
