/* ============================================================
   NAMO SOLAR ENERGY — COMPLETE DESIGN SYSTEM
   Cinematic · Editorial · Dark
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --black: #0a0a0a;
  --charcoal: #141414;
  --deep: #0d0d0d;
  --warm-white: #f5f0ea;
  --off-white: #e8e2d9;
  --solar-yellow: #f5c518;
  --gold: #d4a017;
  --metallic: #8a8a8a;
  --accent-green: #2a5c2a;
  --font-display: 'Bebas Neue', sans-serif;
  --font-sub: 'Barlow', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease-cinematic: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  background: var(--black);
  color: var(--warm-white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; }
button { font-family: inherit; }

/* ============================================================
   GRAIN OVERLAY
   ============================================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: grainShift 0.5s steps(1) infinite;
}

@keyframes grainShift {
  0%   { background-position: 0 0; }
  25%  { background-position: -30px 15px; }
  50%  { background-position: 15px -25px; }
  75%  { background-position: -20px -10px; }
  100% { background-position: 5px 20px; }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor,
.cursor-follower {
  display: none !important;
}


/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s var(--ease-cinematic);
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(245, 197, 24, 0.08);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.99);
  padding: 14px 48px;
  border-bottom: 1px solid rgba(245, 197, 24, 0.15);
}


.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-logo:hover {
  opacity: 0.9;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--warm-white);
}

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

.nav-link {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--warm-white);
  text-decoration: none;
  position: relative;
  text-transform: uppercase;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--solar-yellow);
  transition: width 0.3s var(--ease-cinematic);
}

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

.nav-cta {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--black);
  background: var(--solar-yellow);
  padding: 10px 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-cinematic);
  display: inline-block;
}

.nav-cta:hover { background: var(--gold); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--warm-white);
  transition: all 0.3s var(--ease-cinematic);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.4s ease;
}

.nav-mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-mobile-menu a {
  font-family: var(--font-display);
  font-size: 56px;
  letter-spacing: 4px;
  color: var(--warm-white);
  text-decoration: none;
  transition: color 0.3s var(--ease-cinematic);
  text-transform: uppercase;
}

.nav-mobile-menu a:hover { color: var(--solar-yellow); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 110px 0 50px;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-video-mobile {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.88) 0%,
    rgba(10, 10, 10, 0.55) 50%,
    rgba(10, 10, 10, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 860px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  opacity: 1;
  transform: translateY(0);
}

.hero-line {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--solar-yellow);
  flex-shrink: 0;
}

.hero-tag {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--solar-yellow);
  text-transform: uppercase;
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.hero-title-line {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 84px);
  line-height: 0.95;
  letter-spacing: 1px;
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.hero-title-line.accent { color: var(--solar-yellow); }

.hero-sub {
  font-family: var(--font-sub);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--off-white);
  margin-bottom: 24px;
  opacity: 1;
  transform: translateY(0);
  font-weight: 300;
  text-transform: uppercase;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 1;
  transform: translateY(0);
}

.btn-primary {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--black);
  background: var(--solar-yellow);
  padding: 14px 32px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s var(--ease-cinematic);
  font-weight: 600;
  text-transform: uppercase;
}

.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.btn-outline {
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--warm-white);
  border: 1px solid rgba(245, 240, 234, 0.5);
  padding: 16px 36px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s var(--ease-cinematic);
  text-transform: uppercase;
}

.btn-outline:hover {
  border-color: var(--solar-yellow);
  color: var(--solar-yellow);
}

.hero-scroll-indicator {
  position: absolute;
  right: 48px;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-text {
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--metallic);
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--solar-yellow), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  transform-origin: top center;
}

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

.hero-stats {
  position: absolute;
  left: 80px;
  bottom: 48px;
  display: flex;
  gap: 60px;
  z-index: 2;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--solar-yellow);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-sub);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--metallic);
  text-transform: uppercase;
}

/* ============================================================
   BRAND INTRO
   ============================================================ */
.brand-intro {
  padding: 160px 80px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.brand-intro::before {
  content: 'SOLAR';
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 300px;
  color: rgba(245, 197, 24, 0.02);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.brand-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.brand-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--solar-yellow);
  margin-bottom: 40px;
  text-transform: uppercase;
}

.brand-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 90px);
  line-height: 0.95;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.brand-headline em {
  font-style: normal;
  -webkit-text-stroke: 1px var(--solar-yellow);
  color: transparent;
}

.brand-headline-sub {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
  color: var(--metallic);
  margin-bottom: 40px;
}

.brand-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--off-white);
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 32px;
}

.brand-signature {
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--metallic);
  text-transform: uppercase;
}

.brand-intro-right {
  position: relative;
  height: 600px;
}

.brand-img-primary {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  height: 70%;
  overflow: hidden;
}

.brand-img-primary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-cinematic);
}

.brand-img-primary:hover img { transform: scale(1.05); }

.brand-img-secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 45%;
  overflow: hidden;
  border: 2px solid var(--solar-yellow);
}

.brand-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-cinematic);
}

.brand-img-secondary:hover img { transform: scale(1.05); }

.brand-img-tertiary {
  position: absolute;
  bottom: 10%;
  right: 0;
  width: 30%;
  height: 30%;
  overflow: hidden;
}

.brand-img-tertiary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-cinematic);
}

.brand-img-tertiary:hover img { transform: scale(1.05); }

/* ============================================================
   OUR WORK / COUNTERS
   ============================================================ */
.work {
  padding: 160px 80px;
  background: var(--black);
  position: relative;
}

.work-header { margin-bottom: 100px; }

.work-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--solar-yellow);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.work-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 200px);
  line-height: 0.9;
  letter-spacing: -4px;
}

.work-title span {
  color: var(--metallic);
  font-size: 0.5em;
  letter-spacing: 8px;
}

.work-sub {
  font-family: var(--font-sub);
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--metallic);
  margin-top: 24px;
  text-transform: uppercase;
}

.work-counters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid rgba(245, 240, 234, 0.1);
}

.work-counter {
  padding: 60px 48px;
  border-right: 1px solid rgba(245, 240, 234, 0.1);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background 0.4s var(--ease-cinematic);
}

.work-counter:last-child { border-right: none; }
.work-counter:hover { background: rgba(245, 197, 24, 0.03); }

.counter-number {
  font-family: var(--font-display);
  font-size: clamp(80px, 10vw, 140px);
  line-height: 1;
  color: var(--warm-white);
  transition: color 0.3s var(--ease-cinematic);
}

.work-counter:hover .counter-number { color: var(--solar-yellow); }

.counter-range {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--solar-yellow);
  letter-spacing: 2px;
  margin-top: 8px;
}

.counter-type {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--metallic);
  margin-top: 12px;
  text-transform: uppercase;
}

.counter-hover-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease-cinematic);
  pointer-events: none;
}

.counter-hover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.work-counter:hover .counter-hover-img { opacity: 1; }
.work-counter > *:not(.counter-hover-img) { position: relative; z-index: 1; }

.counter-plus {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 80px);
  color: var(--solar-yellow);
  line-height: 0.5;
  margin-bottom: 8px;
}

.counter-imgs-row {
  display: flex;
  gap: 6px;
  margin-top: 20px;
  height: 70px;
  position: relative;
  z-index: 1;
}

.counter-imgs-row img {
  width: 33%;
  height: 70px;
  object-fit: cover;
  border-radius: 2px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.work-counter:hover .counter-imgs-row img {
  opacity: 0.9;
}

/* TICKER */
.work-ticker {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid rgba(245, 240, 234, 0.1);
  margin-top: 80px;
}

.ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
  width: max-content;
}

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

.ticker-track span {
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--metallic);
  flex-shrink: 0;
  text-transform: uppercase;
}

.ticker-track .ticker-dot { color: var(--solar-yellow); }

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

/* ============================================================
   PROJECT TYPE PANELS
   ============================================================ */
.project-types {
  position: relative;
  background: var(--charcoal);
  padding-top: 80px;
}

.project-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--solar-yellow);
  padding: 0 80px;
  margin-bottom: 48px;
  text-transform: uppercase;
}

.panels-container {
  display: flex;
  height: 80vh;
  min-height: 600px;
}

.panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.8s var(--ease-cinematic);
}

.panel:hover { flex: 3; }

.panel-bg { position: absolute; inset: 0; }

.panel-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-cinematic),
              filter 0.6s var(--ease-cinematic);
  filter: grayscale(30%);
}

.panel:hover .panel-bg img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 10, 10, 0.3) 60%,
    rgba(10, 10, 10, 0.2) 100%
  );
  transition: background 0.5s var(--ease-cinematic);
}

.panel:hover .panel-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.2) 50%,
    transparent 100%
  );
}

.panel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px;
  z-index: 2;
}

.panel-num {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--solar-yellow);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.panel-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 72px);
  line-height: 1;
  letter-spacing: 2px;
  transition: font-size 0.4s var(--ease-cinematic);
}

.panel-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-cinematic),
              opacity 0.4s var(--ease-cinematic);
  opacity: 0;
}

.panel:hover .panel-details {
  max-height: 300px;
  opacity: 1;
}

.panel-details p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--off-white);
  margin-top: 16px;
  margin-bottom: 20px;
  font-weight: 300;
}

.panel-specs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.panel-specs span {
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 2px;
  border: 1px solid rgba(245, 197, 24, 0.3);
  padding: 4px 10px;
  color: var(--solar-yellow);
  text-transform: uppercase;
}

.panel-cta {
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--solar-yellow);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  transition: gap 0.3s var(--ease-cinematic);
}

.panel-cta:hover {
  text-decoration: underline;
  gap: 14px;
}

/* ============================================================
   SOLAR PV SYSTEMS
   ============================================================ */
.systems {
  padding: 160px 80px;
  background: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.systems-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--solar-yellow);
  margin-bottom: 40px;
  text-transform: uppercase;
}

.systems-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95;
  margin-bottom: 60px;
}

.systems-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px var(--warm-white);
}

.systems-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.system-item {
  padding: 40px 0;
  border-bottom: 1px solid rgba(245, 240, 234, 0.1);
  cursor: pointer;
  transition: all 0.4s var(--ease-cinematic);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}

.system-item:first-child { border-top: 1px solid rgba(245, 240, 234, 0.1); }

.system-icon {
  width: 48px;
  height: 48px;
  color: var(--metallic);
  transition: color 0.3s var(--ease-cinematic);
  flex-shrink: 0;
}

.system-item.active .system-icon,
.system-item:hover .system-icon { color: var(--solar-yellow); }

.system-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  transition: color 0.3s var(--ease-cinematic);
  align-self: center;
}

.system-item.active .system-name,
.system-item:hover .system-name { color: var(--solar-yellow); }

.system-desc {
  grid-column: 2;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--metallic);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-cinematic),
              opacity 0.4s var(--ease-cinematic);
  opacity: 0;
  margin-top: 0;
  font-weight: 300;
}

.system-item.active .system-desc,
.system-item:hover .system-desc {
  max-height: 200px;
  opacity: 1;
  color: var(--off-white);
  margin-top: 12px;
}

.system-features {
  grid-column: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease-cinematic),
              opacity 0.4s var(--ease-cinematic),
              margin-top 0.3s;
}

.system-item.active .system-features,
.system-item:hover .system-features {
  max-height: 100px;
  opacity: 1;
  margin-top: 12px;
}

.system-features span {
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 2px;
  border: 1px solid rgba(245, 197, 24, 0.3);
  padding: 4px 10px;
  color: var(--solar-yellow);
  text-transform: uppercase;
}

.systems-image {
  position: sticky;
  top: 120px;
  height: 520px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--charcoal);
}

.systems-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease-cinematic);
}

.systems-image img:first-child,
.systems-image img.sys-img-active { opacity: 1; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products {
  padding: 160px 80px;
  background: var(--charcoal);
  position: relative;
}

.products-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--solar-yellow);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.products-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 100px);
  margin-bottom: 80px;
  line-height: 0.95;
}

.products-slider {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

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

.product-slide.active { display: grid; }

.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  border: 1px solid rgba(245, 197, 24, 0.1);
  position: relative;
  overflow: hidden;
  background: rgba(245, 197, 24, 0.02);
}

.product-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(245, 197, 24, 0.05) 0%, transparent 70%);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  padding: 32px;
  transition: transform 0.6s var(--ease-cinematic);
}

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

.product-icon-large {
  width: 200px;
  height: 200px;
  position: relative;
  z-index: 1;
}

.product-icon-large svg {
  width: 100%;
  height: 100%;
  animation: float 4s ease-in-out infinite;
}

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

.product-info { padding: 20px 0; }

.product-num {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--solar-yellow);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.product-name {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1;
  margin-bottom: 24px;
}

.product-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--off-white);
  margin-bottom: 32px;
  font-weight: 300;
}

.product-specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 240, 234, 0.1);
}

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

.spec-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--metallic);
  text-transform: uppercase;
}

.spec-val {
  font-family: var(--font-sub);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--warm-white);
}

.products-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 60px;
}

.prod-btn {
  font-family: var(--font-sub);
  font-size: 20px;
  background: none;
  border: 1px solid rgba(245, 240, 234, 0.2);
  color: var(--warm-white);
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: all 0.3s var(--ease-cinematic);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.prod-btn:hover {
  border-color: var(--solar-yellow);
  color: var(--solar-yellow);
}

.prod-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.prod-dot {
  width: 24px;
  height: 2px;
  background: rgba(245, 240, 234, 0.2);
  transition: background 0.3s var(--ease-cinematic),
              width 0.3s var(--ease-cinematic);
  cursor: pointer;
}

.prod-dot.active {
  background: var(--solar-yellow);
  width: 40px;
}

/* ============================================================
   BRANDS — Modern Glassmorphism & Ticker Showcase
   ============================================================ */
.brands {
  padding: 140px 80px;
  background: var(--black);
  border-top: 1px solid rgba(245, 240, 234, 0.05);
  position: relative;
  overflow: hidden;
}

.brands-header {
  margin-bottom: 40px;
}

.brands-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--solar-yellow);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.brands-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 84px);
  line-height: 0.95;
  color: var(--warm-white);
  margin-bottom: 16px;
}

.brands-title em {
  font-style: italic;
  color: var(--solar-yellow);
}

.brands-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(245, 240, 234, 0.65);
  max-width: 620px;
  line-height: 1.7;
}

/* Brands Marquee Ticker */
.brands-ticker {
  overflow: hidden;
  padding: 18px 0;
  background: rgba(245, 197, 24, 0.03);
  border-top: 1px solid rgba(245, 197, 24, 0.15);
  border-bottom: 1px solid rgba(245, 197, 24, 0.15);
  margin-bottom: 50px;
}

.brands-ticker-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: brandsTicker 25s linear infinite;
}

.brands-ticker-track span {
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--solar-yellow);
  font-weight: 600;
  flex-shrink: 0;
}

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

/* Modern Glassmorphism Cards Grid */
.brands-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.brand-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.35s var(--ease-cinematic);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--solar-yellow);
  transition: height 0.35s var(--ease-cinematic);
}

.brand-card:hover {
  background: rgba(245, 197, 24, 0.06);
  border-color: rgba(245, 197, 24, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(245, 197, 24, 0.15);
}

.brand-card:hover::before {
  height: 100%;
}

.brand-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.25);
  color: var(--solar-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.brand-card-icon svg {
  width: 22px;
  height: 22px;
}

.brand-card:hover .brand-card-icon {
  transform: scale(1.08) rotate(4deg);
  background: var(--solar-yellow);
  color: var(--black);
}

.brand-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.brand-card-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--warm-white);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}

.brand-card:hover .brand-card-name {
  color: var(--solar-yellow);
}

.brand-card-badge {
  font-family: var(--font-sub);
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: rgba(245, 240, 234, 0.55);
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: 160px 80px;
  background: var(--charcoal);
}

.gallery-header { margin-bottom: 80px; }

.gallery-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--solar-yellow);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 110px);
  line-height: 0.9;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--charcoal);
  aspect-ratio: 4 / 3;
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: unset;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-cinematic),
              filter 0.5s var(--ease-cinematic);
  filter: brightness(0.85);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0);
  transition: background 0.4s var(--ease-cinematic);
}

.gallery-item:hover .gallery-item-overlay { background: rgba(10, 10, 10, 0.15); }

.gallery-item-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--warm-white);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease-cinematic);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  text-transform: uppercase;
}

.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item-expand {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(245, 240, 234, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s var(--ease-cinematic);
  color: var(--warm-white);
  font-size: 14px;
}

.gallery-item:hover .gallery-item-expand {
  opacity: 1;
  transform: scale(1);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox.open { display: flex; }

.lightbox-close {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--font-sub);
  font-size: 24px;
  background: none;
  border: 1px solid rgba(245, 240, 234, 0.2);
  color: var(--warm-white);
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, color 0.3s;
}

.lightbox-close:hover {
  border-color: var(--solar-yellow);
  color: var(--solar-yellow);
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--metallic);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============================================================
   WHY NAMO SOLAR
   ============================================================ */
.why {
  padding: 160px 80px;
  background: var(--black);
  overflow: hidden;
}

.why-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--solar-yellow);
  margin-bottom: 40px;
  text-transform: uppercase;
}

.why-headline-wrap {
  overflow: hidden;
  margin-bottom: 100px;
}

.why-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 110px);
  line-height: 1;
  white-space: nowrap;
}

.why-arrow {
  color: var(--solar-yellow);
  display: inline-block;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50%       { transform: translateX(8px); opacity: 1; }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245, 240, 234, 0.1);
}

.why-item {
  padding: 60px 40px;
  border-right: 1px solid rgba(245, 240, 234, 0.1);
  position: relative;
  transition: background 0.4s var(--ease-cinematic);
}

.why-item:last-child { border-right: none; }
.why-item:hover { background: rgba(245, 197, 24, 0.03); }

.why-item::before {
  content: attr(data-index);
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 64px;
  color: rgba(245, 197, 24, 0.05);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.why-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  color: var(--solar-yellow);
  transition: transform 0.4s var(--ease-spring);
}

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

.why-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: var(--warm-white);
  transition: color 0.3s var(--ease-cinematic);
}

.why-item:hover .why-title { color: var(--solar-yellow); }

.why-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--metallic);
  font-weight: 300;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.contact-bg { position: absolute; inset: 0; }

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.15) saturate(0.5);
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 100%);
}

.contact-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 120px 80px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--solar-yellow);
  margin-bottom: 32px;
  text-transform: uppercase;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 100px);
  line-height: 0.95;
  margin-bottom: 32px;
}

.contact-sub {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--off-white);
  margin-bottom: 48px;
  font-weight: 300;
  max-width: 360px;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-link,
.contact-address {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sub);
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--off-white);
  text-decoration: none;
  transition: color 0.3s var(--ease-cinematic);
}

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

.contact-link-icon {
  color: var(--solar-yellow);
  font-size: 18px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.quote-form { display: flex; flex-direction: column; gap: 20px; }

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

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

.form-group label {
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--metallic);
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(245, 240, 234, 0.05);
  border: 1px solid rgba(245, 240, 234, 0.15);
  color: var(--warm-white);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s var(--ease-cinematic),
              background 0.3s var(--ease-cinematic);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--metallic); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--solar-yellow);
  background: rgba(245, 197, 24, 0.03);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a8a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  background-color: rgba(245, 240, 234, 0.05);
}

.form-group select option {
  background: var(--charcoal);
  color: var(--warm-white);
}

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

.btn-submit {
  font-family: var(--font-sub);
  font-size: 13px;
  letter-spacing: 4px;
  background: var(--solar-yellow);
  color: var(--black);
  border: none;
  padding: 18px 40px;
  cursor: pointer;
  transition: all 0.3s var(--ease-cinematic);
  font-weight: 700;
  width: 100%;
  margin-top: 8px;
  text-transform: uppercase;
  border-radius: 0;
}

.btn-submit:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.btn-submit:active { transform: translateY(0); }

.form-note {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--metallic);
  text-align: center;
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(245, 240, 234, 0.08);
  padding: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(245, 240, 234, 0.08);
}

.footer-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: #ffffff;
  padding: 3px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--warm-white);
  margin-bottom: 12px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--metallic);
  line-height: 1.3;
}

.footer-col-title {
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--solar-yellow);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-nav { display: flex; flex-direction: column; gap: 16px; }

.footer-nav a {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--metallic);
  text-decoration: none;
  transition: color 0.3s var(--ease-cinematic);
  text-transform: uppercase;
}

.footer-nav a:hover { color: var(--solar-yellow); }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }

.footer-contact a,
.footer-contact span {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--metallic);
  text-decoration: none;
  transition: color 0.3s var(--ease-cinematic);
  line-height: 1.5;
}

.footer-contact a:hover { color: var(--solar-yellow); }

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

.footer-bottom span {
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(138, 138, 138, 0.5);
  text-transform: uppercase;
}

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

.footer-bottom-links a {
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(138, 138, 138, 0.5);
  text-decoration: none;
  transition: color 0.3s;
  text-transform: uppercase;
}

.footer-bottom-links a:hover { color: var(--solar-yellow); }

/* ============================================================
   SCROLL ANIMATIONS
   (classes toggled by IntersectionObserver in JS)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease-cinematic),
              transform 0.8s var(--ease-cinematic);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
}

.reveal-left.in-view {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s var(--ease-cinematic);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
}

.reveal-right.in-view {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s var(--ease-cinematic);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
}

.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
  transition: all 0.8s var(--ease-cinematic);
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* ============================================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content { padding: 0 40px; }

  .brand-intro { padding: 100px 40px; }
  .brand-intro-grid { grid-template-columns: 1fr; gap: 60px; }
  .brand-intro-right { height: 400px; }

  .work { padding: 100px 40px; }
  .work-counters { grid-template-columns: 1fr; }
  .work-counter { border-right: none; border-bottom: 1px solid rgba(245, 240, 234, 0.1); }
  .work-counter:last-child { border-bottom: none; }

  .systems { grid-template-columns: 1fr; padding: 100px 40px; }
  .systems-image { position: relative; top: 0; height: 350px; margin-top: 40px; }

  .panels-container { flex-direction: column; height: auto; }
  .panel { flex: unset; height: 300px; }
  .panel:hover { flex: unset; }
  .panel-details { max-height: 300px !important; opacity: 1 !important; }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item:nth-child(2) { border-right: none; }
  .why-item:nth-child(4) { border-right: none; }

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

  .contact-content { grid-template-columns: 1fr; gap: 60px; }

  .footer { padding: 60px 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; }

  .products { padding: 100px 40px; }
  .product-slide.active { grid-template-columns: 1fr; }
  .product-visual { height: 250px; }

  .hero-stats { gap: 32px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { padding: 0 24px; }
  .hero-stats { left: 24px; gap: 24px; }
  .stat-num { font-size: 24px; }
  .hero-scroll-indicator { display: none; }

  .brand-intro { padding: 80px 24px; }
  .brand-intro-right { height: 320px; }
  .brand-img-primary { width: 80%; height: 65%; }
  .brand-img-secondary { width: 55%; height: 40%; }
  .brand-img-tertiary { display: none; }

  .work { padding: 80px 24px; }
  .project-label { padding: 0 24px; }
  .systems { padding: 80px 24px; }
  .products { padding: 80px 24px; }

  .brands { padding: 70px 20px; }
  .brands-header { margin-bottom: 28px; }
  .brands-ticker { margin-bottom: 32px; }
  .brands-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .brand-card {
    padding: 16px 12px;
    gap: 10px;
    border-radius: 14px;
  }
  .brand-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .brand-card-icon svg {
    width: 18px;
    height: 18px;
  }
  .brand-card-name {
    font-size: 18px;
    letter-spacing: 1.5px;
  }
  .brand-card-badge {
    font-size: 8.5px;
    letter-spacing: 1px;
  }

  .gallery { padding: 80px 24px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4 / 3;
  }

  .why { padding: 80px 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none; border-bottom: 1px solid rgba(245, 240, 234, 0.1); padding: 48px 0; }
  .why-item:last-child { border-bottom: none; }
  .why-headline { font-size: 10vw; white-space: normal; line-height: 1.1; }
  .why-headline-wrap { margin-bottom: 60px; }

  .contact .contact-content { padding: 80px 24px; grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer { padding: 48px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Hide custom cursor on touch devices */
  .cursor,
  .cursor-follower { display: none; }
  body { cursor: auto; }

  /* Project types mobile card overrides */
  .mobile-project-tabs {
    display: flex;
    gap: 8px;
    padding: 0 20px;
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mobile-project-tabs::-webkit-scrollbar {
    display: none;
  }

  .project-tab-btn {
    font-family: var(--font-sub);
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 18px;
    border-radius: 30px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
  }

  .project-tab-btn.active {
    color: var(--black);
    background: var(--solar-yellow);
    border-color: var(--solar-yellow);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(245, 197, 24, 0.3);
  }

  .panels-container {
    flex-direction: column;
    height: auto;
    gap: 20px;
    padding: 0 20px;
  }

  .panel {
    flex: unset;
    height: auto !important;
    background: #141418;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

  .panel:hover {
    flex: unset;
    transform: translateY(-4px);
    border-color: rgba(245, 197, 24, 0.3);
  }

  .panel-bg {
    position: relative;
    height: 200px;
    width: 100%;
    inset: auto;
    overflow: hidden;
  }

  .panel-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none !important;
    transform: none !important;
  }

  .panel-overlay {
    background: linear-gradient(
      to bottom,
      transparent 20%,
      rgba(20, 20, 24, 0.95) 100%
    ) !important;
  }

  .panel-content {
    position: relative;
    padding: 24px 24px 28px;
    inset: auto;
    background: #141418;
  }

  .panel-num {
    font-size: 11px;
    letter-spacing: 4px;
    margin-bottom: 6px;
    color: var(--solar-yellow);
  }

  .panel-title {
    font-size: 32px !important;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 1px;
  }

  .panel-details {
    max-height: none !important;
    opacity: 1 !important;
  }

  .panel-details p {
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0;
    margin-bottom: 18px;
  }

  .panel-specs {
    gap: 8px;
    margin-bottom: 20px;
  }

  .panel-specs span {
    font-size: 9.5px;
    letter-spacing: 1.5px;
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid rgba(245, 197, 24, 0.35);
    background: rgba(245, 197, 24, 0.06);
    color: var(--solar-yellow);
  }

  .panel-cta {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--solar-yellow);
    font-weight: 700;
  }
  .products-nav { margin-top: 40px; }
  .nav-mobile-menu a { font-size: 40px; }
}

/* ============================================================
   UTILITY — ACCESSIBLE FOCUS STYLES
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--solar-yellow);
  outline-offset: 4px;
}

/* ============================================================
   UTILITY — TEXT SELECTION
   ============================================================ */
::selection {
  background: rgba(245, 197, 24, 0.25);
  color: var(--warm-white);
}

/* ============================================================
   UTILITY — CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: rgba(245, 197, 24, 0.3); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--solar-yellow); }

/* ============================================================
   FLOATING CONTACT BUTTONS — WhatsApp + Call
   ============================================================ */
.float-btns {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(0,0,0,0.45);
}

.float-btn svg {
  width: 26px;
  height: 26px;
}

.float-wa {
  background: #25D366;
  color: #fff;
}

.float-call {
  background: var(--solar-yellow);
  color: var(--black);
}

.float-insta {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
}

/* ============================================================
   HERO STATS ROW — inline below CTAs, no overlap
   ============================================================ */
/* Hide old absolute hero-stats */
.hero-stats { display: none !important; }

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(245, 240, 234, 0.12);
  width: fit-content;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 28px;
}

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

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(245, 240, 234, 0.15);
  flex-shrink: 0;
}

/* ============================================================
   SYSTEMS & PRODUCTS SHOWCASE (Matching Image 3 layout)
   ============================================================ */
.systems-showcase {
  background: #0d0e12;
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}

.systems-showcase-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
}

.systems-showcase-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--solar-yellow);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.systems-showcase-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 76px);
  color: var(--warm-white);
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.systems-showcase-title em {
  color: var(--solar-yellow);
  font-style: italic;
}

.systems-showcase-intro {
  color: rgba(245, 240, 234, 0.65);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  max-width: 660px;
  margin: 0 auto 28px;
}

.btn-know-more {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--black);
  background: var(--solar-yellow);
  padding: 12px 36px;
  border-radius: 30px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-cinematic);
  box-shadow: 0 4px 20px rgba(245, 197, 24, 0.25);
}

.btn-know-more:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 197, 24, 0.4);
}

/* Product Showcase Carousel */
.product-showcase-wrapper {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.showcase-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 197, 24, 0.4);
  background: rgba(20, 20, 20, 0.9);
  color: var(--solar-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-cinematic);
  flex-shrink: 0;
  z-index: 10;
}

.showcase-nav-btn svg {
  width: 22px;
  height: 22px;
}

.showcase-nav-btn:hover {
  background: var(--solar-yellow);
  color: var(--black);
  border-color: var(--solar-yellow);
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(245, 197, 24, 0.4);
}

.product-showcase-track-container {
  overflow: hidden;
  width: 100%;
  padding: 16px 4px 24px;
}

.product-showcase-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* White Product Card (Matching Image 3) */
.showcase-card {
  flex: 0 0 calc((100% - 56px) / 3);
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.showcase-card-box {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px;
  width: 100%;
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease-cinematic), box-shadow 0.4s;
  overflow: hidden;
  position: relative;
}

.showcase-card:hover .showcase-card-box {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(245, 197, 24, 0.25);
}

.showcase-card-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s var(--ease-cinematic);
}

.showcase-card:hover .showcase-card-img {
  transform: scale(1.05);
}

.showcase-card-title {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 1.5px;
  color: var(--warm-white);
  margin-top: 20px;
  text-transform: uppercase;
}

.showcase-card-specs {
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(245, 240, 234, 0.6);
  margin-top: 6px;
  max-width: 300px;
}

.showcase-card-link {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--solar-yellow);
  text-decoration: none;
  margin-top: 12px;
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s;
}

.showcase-card-link:hover {
  letter-spacing: 4px;
  color: var(--warm-white);
}

/* Active card showcase highlight */
.showcase-card {
  opacity: 1 !important;
  transition: transform 0.4s ease;
}

.showcase-card.active-card .showcase-card-box {
  border: 2px solid var(--solar-yellow);
  box-shadow: 0 18px 45px rgba(245, 197, 24, 0.3);
  transform: translateY(-6px);
}

.showcase-card.active-card .showcase-card-title {
  color: var(--solar-yellow);
}

/* Dots */
.showcase-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
}

.showcase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s var(--ease-cinematic);
}

.showcase-dot.active {
  width: 32px;
  border-radius: 6px;
  background: var(--solar-yellow);
  box-shadow: 0 0 12px rgba(245, 197, 24, 0.5);
}

/* ============================================================
   RESPONSIVE & MOBILE INTERACTIVE ENHANCEMENTS
   ============================================================ */
@media (max-width: 1024px) {
  .showcase-card {
    flex: 0 0 calc((100% - 28px) / 2);
  }
}

@media (max-width: 768px) {
  /* Mobile Video & Hero Header Sizing */
  .hero-video-desktop {
    display: none !important;
  }

  .hero-video-mobile {
    display: block !important;
  }

  .hero {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding: 85px 0 20px 0 !important;
    min-height: 100vh;
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(10, 10, 10, 0.88) 0%,
      rgba(10, 10, 10, 0.35) 35%,
      rgba(10, 10, 10, 0.1) 100%
    ) !important;
  }

  .hero-content {
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: auto !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-eyebrow {
    margin-bottom: 4px !important;
    gap: 8px !important;
  }

  .hero-line {
    width: 18px !important;
  }

  .hero-tag {
    font-size: 8px !important;
    letter-spacing: 2px !important;
  }

  .hero-title {
    margin-bottom: 0 !important;
    align-items: flex-start !important;
  }

  .hero-title-line {
    font-size: clamp(36px, 10vw, 46px) !important;
    line-height: 0.9 !important;
    letter-spacing: 0.5px !important;
    text-align: left !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95) !important;
  }

  .hero-ctas {
    gap: 10px !important;
    margin-top: 4px !important;
  }

  .btn-primary,
  .btn-outline {
    font-size: 10px !important;
    letter-spacing: 2px !important;
    padding: 12px 22px !important;
  }

  .hero-stats-row {
    gap: 12px !important;
    margin-top: 24px !important;
  }

  .stat-num {
    font-size: 20px !important;
  }

  .stat-label {
    font-size: 8px !important;
    letter-spacing: 2px !important;
  }

  /* Compact Section Paddings & Headings */
  .brand-intro,
  .work,
  .project-types,
  .systems-showcase,
  .products,
  .brands,
  .gallery,
  .why,
  .contact .contact-content {
    padding: 50px 18px !important;
  }

  .brand-headline,
  .work-title,
  .systems-showcase-title,
  .products-title,
  .brands-title,
  .gallery-title,
  .why-headline,
  .contact-title {
    font-size: clamp(28px, 7.5vw, 38px) !important;
    line-height: 1.0 !important;
    margin-bottom: 20px !important;
  }

  /* Section 01 About */
  .brand-intro-right {
    height: 240px !important;
  }

  .brand-body {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    margin-bottom: 18px !important;
  }

  /* Section 02 Work / Counters */
  .counter-number {
    font-size: 48px !important;
  }

  .counter-plus {
    font-size: 18px !important;
  }

  .counter-range {
    font-size: 18px !important;
  }

  .counter-type {
    font-size: 9.5px !important;
  }

  .work-counter {
    padding: 24px 12px !important;
  }

  .counter-imgs-row img {
    height: 54px !important;
  }

  /* Section 03 Project Types */
  .mobile-project-tabs {
    padding: 0 16px !important;
    margin-bottom: 18px !important;
  }

  .project-tab-btn {
    font-size: 10px !important;
    padding: 8px 14px !important;
  }

  .panel-bg {
    height: 160px !important;
  }

  .panel-content {
    padding: 16px 16px 20px !important;
  }

  .panel-title {
    font-size: 24px !important;
  }

  .panel-details p {
    font-size: 12.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 14px !important;
  }

  .panel-specs span {
    font-size: 8px !important;
    padding: 4px 8px !important;
  }

  /* Section 04 Systems & Products Showcase */
  .product-showcase-wrapper {
    gap: 0;
  }

  .showcase-nav-btn {
    display: none !important;
  }

  .product-showcase-track-container {
    padding: 10px 0 20px !important;
  }

  .product-showcase-track {
    gap: 14px !important;
  }

  .showcase-card {
    flex: 0 0 84% !important;
    min-width: unset !important;
  }

  .showcase-card-box {
    height: 190px !important;
    padding: 14px !important;
    border-radius: 16px !important;
  }

  .showcase-card-title {
    font-size: 19px !important;
    margin-top: 10px !important;
  }

  .showcase-card-specs {
    font-size: 10.5px !important;
  }

  .showcase-card-link {
    font-size: 9.5px !important;
    margin-top: 8px !important;
  }

  /* Section 06 Panel Brands */
  .brands-header {
    margin-bottom: 24px !important;
  }

  .brands-ticker {
    margin-bottom: 24px !important;
    padding: 14px 0 !important;
  }

  .brands-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .brand-card {
    padding: 12px 10px !important;
    border-radius: 12px !important;
    gap: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .brand-card-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
  }

  .brand-card-icon svg {
    width: 16px !important;
    height: 16px !important;
  }

  .brand-card-name {
    font-size: 15px !important;
    letter-spacing: 1px !important;
  }

  .brand-card-badge {
    font-size: 8px !important;
  }

  /* Floating Contact Buttons on Mobile */
  .float-btns {
    bottom: 14px !important;
    right: 14px !important;
    gap: 8px !important;
  }

  .float-btn {
    width: 38px !important;
    height: 38px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4) !important;
  }

  .float-btn svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* Mobile Nav Menu Links */
  .nav-mobile-menu a {
    font-size: 34px !important;
  }
}





