/* ============================================================
   RimaCold — Main Stylesheet
   Obsidian + Glacier Teal palette — precision cold, premium feel
   BEM methodology · CSS custom properties · Mobile-first
   ============================================================ */

/* ── Custom Properties — Glacier Teal palette ── */
:root {
  --bg-primary:    #07090E;
  --bg-secondary:  #0B1118;
  --bg-card:       #0E1620;
  --bg-glass:      rgba(9, 14, 22, 0.80);
  --accent-blue:   #00C4A7;
  --accent-cyan:   #5EECD8;
  --accent-glow:   rgba(0, 196, 167, 0.12);
  --accent-glow-strong: rgba(0, 196, 167, 0.28);
  --white:         #FFFFFF;
  --text-primary:  #EEF2F4;
  --text-secondary:#A8BAC2;
  --text-muted:    #5E7280;
  --border:        rgba(0, 196, 167, 0.10);
  --border-hover:  rgba(0, 196, 167, 0.32);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --shadow-card:   0 4px 24px rgba(0,0,0,0.55), 0 0 1px rgba(0,196,167,0.08);
  --shadow-hover:  0 8px 40px rgba(0,0,0,0.65), 0 0 20px rgba(0,196,167,0.14);
  --transition:    all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display:  'Space Grotesk', Inter, system-ui, sans-serif;
  --font-body:     'Inter', 'Space Grotesk', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* ── Typography Scale ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p  { color: var(--text-secondary); line-height: 1.75; }

/* ── Utility Classes ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.section { padding: clamp(5rem, 10vw, 8rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

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

.label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal--left  { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--left.visible, .reveal--right.visible { transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent-blue);
  color: var(--white);
  box-shadow: 0 0 24px rgba(0, 196, 167, 0.3);
}
.btn--primary:hover {
  background: #00A890;
  box-shadow: 0 0 36px rgba(0, 196, 167, 0.5);
  transform: translateY(-2px);
}

.btn--outline {
  border: 1.5px solid var(--border-hover);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}
.btn--outline:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--accent-cyan);
  padding: 0.85rem 0;
}
.btn--ghost:hover { color: var(--accent-blue); gap: 0.75rem; }

.btn--arrow::after { content: '→'; font-size: 1.1em; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}

.nav--scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo img { height: 36px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--accent-blue);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta { margin-left: 1rem; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.1rem;
}
.nav__mobile .btn--primary { margin-top: 1rem; justify-content: center; }

/* ── Hero Section ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(10, 22, 40, 0.65) 50%,
    rgba(0, 196, 167, 0.08) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(94, 236, 216, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(94, 236, 216, 0); }
}

.hero__title {
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: normal;
  color: var(--accent-blue);
  display: block;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
}
.hero__scroll::after {
  content: '';
  display: block;
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent-blue), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Trust Bar ── */
.trust-bar {
  background: #050C17;
  border-top: 1px solid rgba(0,196,167,0.07);
  border-bottom: 1px solid rgba(0,196,167,0.07);
  padding: 1.5rem 0;
}

.trust-bar__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.trust-bar__item svg { color: var(--accent-blue); flex-shrink: 0; }

/* ── Stats Section ── */
.stats {
  background: #060D18;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(0,196,167,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,196,167,0.1);
}

.stats__item {
  background: #080F1C;
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  transition: background 0.3s;
}
.stats__item:hover { background: #0C1A2E; }

.stats__number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats__label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Section Header ── */
.section-header {
  margin-bottom: clamp(3rem, 5vw, 4rem);
}
.section-header--center { text-align: center; }
.section-header p {
  margin-top: 1rem;
  font-size: 1.05rem;
  max-width: 600px;
}
.section-header--center p { margin: 1rem auto 0; }

/* ── Product Cards ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.product-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-secondary);
}
.product-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.05); }

.product-card__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-hover);
  color: var(--accent-cyan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
}

.product-card__body {
  padding: 1.75rem;
}

.product-card__category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.product-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.product-card__description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.tag {
  background: var(--accent-glow);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  font-weight: 500;
}

.product-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Pillars / Why Section ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  transform: scaleX(0);
  transition: transform 0.4s;
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pillar-card__icon {
  width: 52px; height: 52px;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
  font-size: 1.5rem;
  transition: var(--transition);
}
.pillar-card:hover .pillar-card__icon {
  background: var(--accent-glow-strong);
  border-color: var(--accent-blue);
}

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

.pillar-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Manufacturing / Video Section ── */
.mfg-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.mfg-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.mfg-section__video-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-hover);
}

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

.mfg-section__play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 22, 40, 0.35);
  transition: background 0.3s;
  cursor: pointer;
}
.mfg-section__play-btn:hover { background: rgba(10, 22, 40, 0.15); }

.play-circle {
  width: 72px; height: 72px;
  background: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(0, 196, 167, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}
.mfg-section__play-btn:hover .play-circle {
  transform: scale(1.1);
  box-shadow: 0 0 60px rgba(0, 196, 167, 0.7);
}

.play-circle svg { color: white; margin-left: 4px; }

.mfg-section__caption {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.mfg-section__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.mfg-fact {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mfg-fact__icon {
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.mfg-fact__title { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.25rem; }
.mfg-fact__text  { font-size: 0.875rem; color: var(--text-muted); }

/* ── Partner Section ── */
.partner-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.partner-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 196, 167, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.partner-logo-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}
.partner-badge__flag { font-size: 1.5rem; }

.partner-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.partner-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── Markets Section ── */
.markets-section { background: var(--bg-secondary); }

.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.market-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.market-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.market-card__icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.market-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.market-card__text { font-size: 0.8rem; color: var(--text-muted); }

/* ── Installations / Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.gallery-item:first-child { grid-row: span 2; aspect-ratio: auto; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

/* ── CTA Banner ── */
.cta-section {
  background: linear-gradient(135deg, #071020 0%, #0A1628 40%, #0D1F3C 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -150px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 196, 167, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__title { margin-bottom: 1.25rem; }
.cta-section__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}
.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ── Footer ── */
.footer {
  background: #050D1A;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.7;
}

.footer__logo { height: 32px; width: auto; }

.footer__title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.25s;
}
.footer__link:hover { color: var(--accent-cyan); }

.footer__group-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer__group-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__group-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.25s;
}
.footer__group-link:hover { color: var(--accent-blue); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__bottom a { color: var(--text-muted); transition: color 0.25s; }
.footer__bottom a:hover { color: var(--accent-cyan); }

.footer__etl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.8rem;
}
.footer__etl-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
}

/* ── Footer Social Icons ── */
.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}
.footer__social-link:hover {
  color: var(--accent-blue);
  border-color: rgba(0,196,167,0.38);
  background: rgba(0,196,167,0.08);
  transform: translateY(-2px);
}
.footer__social-link svg { display: block; }

/* ── Contact Form ── */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-display);
}

.form-input, .form-select, .form-textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--white);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 196, 167, 0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A90A8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
}
.form-select option { background: var(--bg-card); }

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

.form-submit { grid-column: 1 / -1; }
.form-submit .btn { width: 100%; justify-content: center; padding: 1rem; }

.form-note {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Form state messages */
.form-message {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
}
.form-message--success {
  background: rgba(0, 200, 100, 0.1);
  border: 1px solid rgba(0, 200, 100, 0.3);
  color: #4caf7d;
  display: block;
}
.form-message--error {
  background: rgba(232, 50, 50, 0.08);
  border: 1px solid rgba(232, 50, 50, 0.2);
  color: #e05555;
  display: block;
}

/* ── Products Page ── */
.products-hero {
  padding: 10rem 0 5rem;
  background: linear-gradient(180deg, #071020 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
}

.products-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--white);
}

/* ── About Page ── */
.about-hero {
  padding: 10rem 0 5rem;
  background: linear-gradient(180deg, #071020 0%, var(--bg-primary) 100%);
}

.about-image-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 480px;
}

.about-image-grid__main {
  grid-row: span 2;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about-image-grid__main img, .about-image-grid__side img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-image-grid__side {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ── Privacy Page ── */
.privacy-hero {
  padding: 10rem 0 4rem;
  background: linear-gradient(180deg, #071020 0%, var(--bg-primary) 100%);
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 0;
}
.privacy-content h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.privacy-content h2:first-child { border-top: none; padding-top: 0; }
.privacy-content p { margin-bottom: 1rem; }
.privacy-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}
.privacy-content ul li { margin-bottom: 0.4rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .mfg-section__grid,
  .partner-grid,
  .about-image-grid { grid-template-columns: 1fr; }

  .about-image-grid { height: auto; grid-template-rows: auto; }
  .about-image-grid__main { grid-row: auto; aspect-ratio: 16/9; }
  .about-image-grid__side { aspect-ratio: 16/9; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-row: auto; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }

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

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

  .contact-form { grid-template-columns: 1fr; }
  .form-group--full { grid-column: auto; }
  .form-submit { grid-column: auto; }
  .form-note { grid-column: auto; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .cta-section__actions { flex-direction: column; align-items: center; }
  .stats__grid { grid-template-columns: 1fr; }
  .markets-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Glowing line decoration ── */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-cyan), transparent);
  opacity: 0.4;
  margin: 0;
}

/* ══════════════════════════════════════════════════════
   DYNAMIC UI LAYER — snow · cursor · progress · marquee
══════════════════════════════════════════════════════ */

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-cyan) 70%, #a0f0e4 100%);
  z-index: 10001;
  pointer-events: none;
  box-shadow: 0 0 6px rgba(94, 236, 216, 0.55);
}

/* Cursor ambient glow */
#cursor-glow {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(0, 196, 167, 0.065) 0%,
    rgba(94, 236, 216, 0.025) 45%,
    transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.55s ease;
}

/* Snow canvas — full-page fixed, screen-blends over all sections */
#snow-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9;
  mix-blend-mode: screen;
}

/* Hero content entrance — staggered pop-up */
@keyframes rcFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes rcFadeScale {
  from { opacity: 0; transform: scale(0.94) translateY(16px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

.hero__eyebrow  { animation: rcFadeUp    0.6s  0.10s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__title    { animation: rcFadeUp    0.78s 0.30s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__subtitle { animation: rcFadeUp    0.65s 0.52s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__actions  { animation: rcFadeScale 0.62s 0.76s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* Trust bar — infinite marquee */
.trust-bar { overflow: hidden; }

.trust-bar--marquee .trust-bar__list {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  width: max-content;
  animation: trustScroll 28s linear infinite;
}
.trust-bar--marquee .trust-bar__list:hover {
  animation-play-state: paused;
}
.trust-bar--marquee .trust-bar__item {
  padding: 0 2.25rem;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}

@keyframes trustScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Stats card — 3D tilt support */
.stats__item {
  transition: transform 0.12s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* Magnetic buttons — smooth snap-back class applied by JS */
.btn--snapping {
  transition:
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.35s, box-shadow 0.35s,
    color 0.35s, border-color 0.35s !important;
}

/* ── Back to Top ── */
#back-to-top {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 88;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, background 0.25s, border-color 0.25s;
  pointer-events: none;
  cursor: pointer;
  text-decoration: none;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
#back-to-top:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--bg-primary);
  box-shadow: 0 0 18px rgba(0,196,167,0.35);
}
@media (max-width: 640px) { #back-to-top { display: none; } }

/* Enhanced nav glass depth */
.nav--scrolled {
  background: rgba(5, 10, 20, 0.93) !important;
  box-shadow: 0 4px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,196,167,0.1) !important;
}

/* ── Section depth rhythm — break blue monotony ── */

/* Deep sections alternate with slightly lighter ones */
/* Products section — pull back from the same navy */
section.section[style*="bg-secondary"] {
  background: #0A1828 !important;
}

/* Pillars section — deeper dark */
.pillars-grid + * { background: #040810; }

/* Body-level grain overlay — adds micro-texture to flat dark surfaces */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 8;         /* just below snow canvas (z-index: 9) */
  pointer-events: none;
  opacity: 0.018;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
}

/* Section BG overrides to create alternating depth rhythm */
.mfg-section   { background: #050C18 !important; }
.cta-section   { background: #060E1C !important; }
.footer        { background: #030810 !important; }
