/* =====================================================
   ATHLOS HOMEPAGE — CSS
   Premium industrial X-ray imaging company
   Palette: Cyan/teal-blue technical system
   Reference: bou.co structural quality adapted for B2B
===================================================== */

/* =====================================================
   1. CUSTOM PROPERTIES
===================================================== */
:root {
  /* Brand colors */
  --cyan:          #43A1D8;
  --cyan-light:    #7DBFE8;
  --cyan-mist:     #D6EAF5;
  --cyan-deep:     #2B82B8;
  --slate:         #3A6480;
  --charcoal:      #263035;
  --charcoal-mid:  #364249;
  --gray-steel:    #8C959B;
  --gray-light:    #E2E8EA;
  --off-white:     #F4F7F8;
  --white:         #FFFFFF;
  --accent:        #FFE182;

  /* Semantic tokens */
  --color-text:        var(--charcoal);
  --color-text-muted:  var(--gray-steel);
  --color-bg:          var(--white);
  --color-bg-alt:      var(--off-white);
  --color-border:      var(--gray-light);
  --color-border-mid:  rgba(0,0,0,0.1);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale (fluid) */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-md:    1.125rem;
  --text-lg:    1.375rem;
  --text-xl:    clamp(1.5rem, 2.5vw, 2rem);
  --text-2xl:   clamp(2rem, 3.5vw, 2.75rem);
  --text-3xl:   clamp(2.5rem, 5vw, 4rem);
  --text-hero:  clamp(3rem, 6.5vw, 5.5rem);

  /* Spacing */
  --nav-h:      100px;
  --page-x:     clamp(1.5rem, 5vw, 5rem);
  --max-w:      1280px;
  --section-py: clamp(5rem, 9vw, 9rem);
  --gap-sm:     1rem;
  --gap-md:     1.5rem;
  --gap-lg:     2.5rem;
  --gap-xl:     4rem;

  /* Motion */
  --trs:        200ms ease;
  --trs-md:     350ms cubic-bezier(0.4, 0, 0.2, 1);
  --trs-lg:     600ms cubic-bezier(0.4, 0, 0.2, 1);
  --trs-slide:  1200ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Radii */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-pill: 100em;
}

/* =====================================================
   2. RESET & BASE
===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* =====================================================
   3. UTILITIES
===================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-x);
}

/* Reveal animations */
[data-animate],
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--trs-lg), transform var(--trs-lg);
}

[data-animate].is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section shared */
.section-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  display: block;
}

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

.section-headline {
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: var(--gap-lg);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.5em;
  border-radius: var(--r-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: background var(--trs-md), color var(--trs-md), border-color var(--trs-md), transform var(--trs);
  white-space: nowrap;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--cyan);
  color: var(--white);
  border: 1px solid var(--cyan);
}
.btn-primary:hover {
  background: var(--cyan-deep);
  border-color: var(--cyan-deep);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
}

.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--gray-light);
  padding-left: 0;
  border: none;
  font-size: var(--text-base);
  letter-spacing: 0;
  font-weight: 400;
}
.btn-secondary:hover {
  color: var(--cyan-deep);
  letter-spacing: 0.01em;
  transform: none;
}
.btn-secondary:hover span { transform: translateX(3px); }

.btn-large {
  padding: 0.85em 2em;
  font-size: var(--text-md);
}

/* Top accent bar */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #2B82B8 0%, #43A1D8 50%, #7DBFE8 100%);
  z-index: 200;
}

/* =====================================================
   4. NAVIGATION
===================================================== */
.nav {
  position: fixed;
  top: 2px; /* sit below the accent line */
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--trs-md), border-color var(--trs-md), backdrop-filter var(--trs-md);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-x);
  gap: 2rem;
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: var(--nav-h);
  padding: 0;
  margin-left: -150px;
}

/* PNG logo — always visible in original colors */
.nav-logo-png {
  height: 170px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: none;
  transition: opacity var(--trs-md);
}

/* Text mark — hidden, replaced by logo */
.nav-logo-text {
  display: none;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  list-style: none;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.02em;
  transition: color var(--trs);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan-light);
  transition: width var(--trs-md);
}

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

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

/* ── Products dropdown ── */
.nav-item {
  position: relative;
}

/* Transparent bridge covers the gap so cursor can reach the dropdown */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -8px;
  right: -8px;
  height: 18px;
}

.nav-item .nav-link {
  display: flex;
  align-items: center;
  gap: 0.3em;
}

/* Chevron icon */
.nav-link-chevron {
  display: inline-block;
  width: 10px;
  height: 10px;
  transition: transform var(--trs-md);
  flex-shrink: 0;
}

.nav-item:hover .nav-link-chevron,
.nav-item.open .nav-link-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trs-md), transform var(--trs-md);
  z-index: 50;
  overflow: hidden;
}

/* Small top triangle pointer */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--white);
  border-left: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
}

.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 0.7rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--gray-steel);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--trs), color var(--trs);
  white-space: nowrap;
}

.nav-dropdown-link:last-child {
  border-bottom: none;
}

.nav-dropdown-link:hover {
  background: var(--off-white);
  color: var(--charcoal);
}

/* Nav CTA */
.nav-cta {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0.45em 1.2em;
  border-radius: var(--r-pill);
  transition: background var(--trs-md), border-color var(--trs-md);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: var(--trs-md);
}

/* Mobile menu */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--charcoal);
  padding: 1.5rem var(--page-x) 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-mobile-link {
  padding: 0.85rem 0;
  font-size: var(--text-md);
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--trs);
}

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

.nav-mobile-cta {
  margin-top: 1rem;
  color: var(--cyan-light);
  border-bottom: none;
  font-weight: 500;
}

/* Scrolled state */
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
}

/* Logo always shows in original colors — no filter override needed */

.nav.scrolled .nav-link {
  color: var(--gray-steel);
}

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

.nav.scrolled .nav-link::after {
  background: var(--cyan);
}

.nav.scrolled .nav-cta {
  color: var(--charcoal);
  border-color: var(--gray-light);
}

.nav.scrolled .nav-cta:hover {
  background: var(--off-white);
  border-color: var(--gray-steel);
}

.nav.scrolled .nav-hamburger span {
  background: var(--charcoal);
}

/* =====================================================
   5. HERO
===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

/* Slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity var(--trs-slide);
  transform: scale(1.04);
  transition: opacity var(--trs-slide), transform 8000ms ease-out;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide.leaving {
  opacity: 0;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 25, 32, 0.62) 0%,
    rgba(20, 40, 52, 0.48) 60%,
    rgba(31, 160, 192, 0.15) 100%
  );
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(14, 25, 32, 0.50) 0%, transparent 100%);
  z-index: 1;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: calc(var(--nav-h) + 2rem) var(--page-x) 6rem;
}

.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.hero-headline {
  font-size: var(--text-hero);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.hero-sub {
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.35s, transform 0.8s ease 0.35s;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

/* Hero loaded state — staggered entrance */
.hero-loaded .hero-eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.hero-loaded .hero-headline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.hero-loaded .hero-sub {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.38s;
}

.hero-loaded .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}

/* Indicators */
.hero-indicators {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: background var(--trs-md), width var(--trs-md);
  padding: 0;
}

.hero-dot.active {
  background: var(--white);
  width: 24px;
  border-radius: 3px;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  right: var(--page-x);
  z-index: 3;
  display: flex;
  align-items: flex-end;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.5) translateY(-50%); }
  50% { opacity: 1; transform: scaleY(1) translateY(0); }
}

/* =====================================================
   6. STATEMENT
===================================================== */
.statement {
  padding: var(--section-py) 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.statement-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.statement-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-steel);
  margin-bottom: 2rem;
}

.statement-headline {
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.statement-body {
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-steel);
  max-width: 680px;
  margin: 0 auto 4rem;
}

.statement-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 1rem;
  gap: 0.35rem;
  text-align: center;
}

.stat-number {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  line-height: 1;
  white-space: nowrap;
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-steel);
  white-space: normal;
  max-width: 12ch;
}

.stat-divider {
  width: 1px;
  align-self: stretch;
  background: var(--color-border);
  flex-shrink: 0;
}

/* =====================================================
   7. TECHNOLOGY
===================================================== */
.technology {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}

.tech-content .section-headline {
  line-height: 1.2;
  margin-bottom: 1.75rem;
}

.tech-body {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-steel);
  margin-bottom: 1.25rem;
}

.tech-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 2rem;
  margin: 0;
}

.tech-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.tech-content {
  max-width: 48rem;
}

.tech-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--charcoal);
}

.tech-feature-icon {
  color: var(--cyan);
  flex-shrink: 0;
  display: flex;
}

/* Tech visual */
.tech-visual {
  position: relative;
}

.tech-image-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--charcoal);
}

.tech-image-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.tech-image-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(14, 25, 32, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-pill);
  padding: 0.45em 1em;
}

.tech-image-tag span {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-light);
}

/* =====================================================
   8. ADVANTAGES
===================================================== */
.advantages {
  padding: var(--section-py) 0;
  background: var(--white);
}

.advantages-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--gap-xl);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--color-border);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.advantage-card {
  background: var(--white);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background var(--trs-md);
}

.advantage-card:hover {
  background: var(--off-white);
}

.advantage-card--accent {
  background: var(--off-white);
}

.advantage-card--accent:hover {
  background: var(--cyan-mist);
}

.advantage-icon {
  color: var(--cyan);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-mist);
  border-radius: var(--r-md);
  flex-shrink: 0;
}

.advantage-title {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.advantage-body {
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-steel);
}

/* =====================================================
   9. PRODUCTS
===================================================== */
.products {
  padding: var(--section-py) 0;
  background: var(--charcoal);
}

.products-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--gap-xl);
}

.products-intro {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-top: -1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.product-card {
  background: var(--charcoal-mid);
  display: flex;
  flex-direction: column;
  transition: background var(--trs-md);
}

.product-card:hover {
  background: #404B54;
}

.product-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #1A2128;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.04);
}

.product-card-body {
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.product-market {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-light);
}

.product-name {
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.product-desc {
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  flex: 1;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--cyan-light);
  margin-top: 0.5rem;
  transition: color var(--trs), gap var(--trs-md);
}

.product-link:hover {
  color: var(--white);
  gap: 0.7em;
}

/* =====================================================
   10. MANUFACTURING
===================================================== */
.manufacturing {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
  background: var(--slate);
}

.manufacturing-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.manufacturing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(40%);
}

.manufacturing-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(28, 45, 55, 0.88) 45%,
    rgba(28, 45, 55, 0.60) 100%
  );
}

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

.manufacturing-content {
  max-width: 680px;
}

.manufacturing-body {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--gap-xl);
}

.manufacturing-pillars {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: var(--gap-xl);
  border-left: 2px solid rgba(255,255,255,0.15);
  padding-left: 2rem;
}

.pillar-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.pillar-body {
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
}

.manufacturing .btn-outline {
  border-color: rgba(255,255,255,0.35);
}

/* =====================================================
   11. CTA SECTION
===================================================== */
.cta-section {
  padding: var(--section-py) 0;
  background: var(--off-white);
  border-top: 1px solid var(--color-border);
}

.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-headline {
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.cta-body {
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-steel);
  margin-bottom: 3rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-detail {
  font-size: var(--text-sm);
  color: var(--gray-steel);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.cta-location {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* =====================================================
   12. FOOTER
===================================================== */
.footer {
  background: #607882;
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
  margin-bottom: 1rem;
}

.footer-brand {
  margin-top: -50px;
}

.footer-logo-wrap {
  display: block;
  margin-bottom: 1.25rem;
  margin-left: -68px;
}

.footer-logo {
  height: 150px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  filter: none;
  display: block;
}

.footer-tagline {
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,1);
  margin-top: -20px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,1);
  margin-bottom: 0.5rem;
}

.footer-link {
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(255,255,255,1);
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  line-height: 1.5;
  display: inline-block;
}

.footer-link:hover {
  color: var(--white);
  transform: translateX(3px);
  opacity: 0.75;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--text-xs);
  font-weight: 300;
  color: rgba(255,255,255,1);
}

.footer-cert {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-light);
  opacity: 1;
}

.footer-legal {
  display: none;
}

/* =====================================================
   13. RESPONSIVE
===================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .tech-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .tech-features {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

/* Large mobile */
@media (max-width: 768px) {
  :root {
    --nav-h: 80px;
  }

  .nav-logo {
    margin-left: -65px;
  }

  .nav-logo-png {
    height: 120px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile-menu.open {
    display: flex;
  }

  .nav-mobile-menu {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
  }

  .hero-headline {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
  }

  .hero-sub {
    font-size: var(--text-base);
  }

  .statement-headline {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-size: var(--text-2xl);
  }

  .statement-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 0;
    padding: 2rem 0;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    padding: 0 0.75rem;
    min-width: 0;
  }

  .stat-number {
    font-size: 1.5rem;
    white-space: normal;
  }

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

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

  .hero-scroll-cue {
    display: none;
  }

  .manufacturing-pillars {
    padding-left: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .tech-features {
    grid-template-columns: 1fr;
  }

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

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: column;
    gap: 1rem;
  }
}

/* =====================================================
   14. REDUCED MOTION
===================================================== */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 300ms; transform: none !important; }
  .hero-scroll-cue { animation: none; opacity: 0.5; }
  [data-animate], .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover { transform: none; }
}

/* =====================================================
   COOKIE BANNER
   ===================================================== */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem var(--page-x);
  background: var(--charcoal);
  border-top: 1px solid var(--charcoal-mid);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 350ms ease, transform 350ms ease;
}

#cookie-banner.cookie-banner--hidden {
  opacity: 0;
  transform: translateY(100%);
}

#cookie-banner p {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

#cookie-banner p a {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#cookie-banner p a:hover {
  color: var(--white);
}

#cookie-accept {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.55em 1.4em;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  background: var(--cyan);
  color: var(--white);
  border: 1px solid var(--cyan);
  cursor: pointer;
  transition: background var(--trs-md), border-color var(--trs-md);
}

#cookie-accept:hover {
  background: var(--cyan-deep);
  border-color: var(--cyan-deep);
}
