/* ═══════════════════════════════════════════════════════════
   SSLI — Modern Design System 2026
   Shree Shubh Laxmi Infotech
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #030303;
  --bg-soft: #0c0c0e;
  --bg-card: rgba(255, 255, 255, 0.025);
  --text: #f0f2f7;
  --muted: #9aa3b5;
  --gold: #ffd400;
  --gold-soft: #ffe566;
  --gold-dim: rgba(255, 212, 0, 0.15);
  --line: rgba(255, 212, 0, 0.12);
  --line-hover: rgba(255, 212, 0, 0.45);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 20px 50px rgba(255, 212, 0, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-h: 76px;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", var(--font-body);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.7s var(--ease) forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ─── Animated Background ─── */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-orbs::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 212, 0, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 180, 0, 0.05), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(255, 212, 0, 0.04), transparent);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 18s ease-in-out infinite;
}

.orb-1 {
  width: 500px; height: 500px;
  background: rgba(255, 212, 0, 0.07);
  top: -10%; right: -5%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px; height: 400px;
  background: rgba(255, 160, 0, 0.05);
  bottom: 10%; left: -8%;
  animation-delay: -6s;
}

.orb-3 {
  width: 300px; height: 300px;
  background: rgba(255, 212, 0, 0.04);
  top: 50%; left: 40%;
  animation-delay: -12s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ─── Layout ─── */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

section { padding: 48px 0; }

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.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; }

/* ─── Topbar / Nav ─── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}

.topbar.scrolled {
  background: rgba(3, 3, 3, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.topbar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.topbar .container {
  width: 100%;
  max-width: none;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  transition: transform 0.3s var(--ease);
}

.brand:hover { transform: scale(1.02); }

.logo {
  width: 48px; height: 48px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-gold);
  background: #000;
  flex-shrink: 0;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.logo:hover {
  box-shadow: 0 0 30px rgba(255, 212, 0, 0.35);
  transform: rotate(-3deg) scale(1.05);
}

.logo img { width: 100%; height: 100%; object-fit: cover; }

.brand h1 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--gold);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand p {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.main-nav, nav.main {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav a, nav.main a {
  position: relative;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}

.main-nav a::after, nav.main a::after {
  content: "";
  position: absolute;
  bottom: 4px; left: 12px; right: 12px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.main-nav a:hover, nav.main a:hover,
.main-nav a.active, nav.main a.active {
  color: var(--gold);
}

.main-nav a:hover::after, nav.main a:hover::after,
.main-nav a.active::after, nav.main a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 36px; height: 28px;
  position: relative;
  cursor: pointer;
  z-index: 10;
  background: none;
  border: none;
}

.menu-toggle span {
  position: absolute;
  left: 0; width: 100%; height: 2.5px;
  border-radius: 4px;
  background: var(--gold);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.menu-toggle span:nth-child(1) { top: 4px; }
.menu-toggle span:nth-child(2) { top: 13px; }
.menu-toggle span:nth-child(3) { bottom: 4px; }

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 13px; }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); bottom: 13px; }

/* ─── Hero ─── */
.hero {
  padding: calc(var(--nav-h) + 60px) 0 40px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.hero-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.hero-card:hover {
  border-color: var(--line-hover);
  box-shadow: var(--shadow), var(--shadow-gold);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-soft);
  background: var(--gold-dim);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: dotBlink 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0); }
  50% { box-shadow: 0 0 20px rgba(255, 212, 0, 0.1); }
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h2 {
  font-family: var(--font-display);
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero h2 .gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 55ch;
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease), border-color 0.3s, color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #0a0a0a;
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(255, 212, 0, 0.3);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(255, 212, 0, 0.4);
}

.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  background: var(--gold-dim);
}

.btn-small {
  padding: 9px 16px;
  font-size: 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  transition: all 0.3s var(--ease);
}

.btn-small:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ─── Stats / KPI ─── */
.hero-side, .stats {
  display: grid;
  gap: 14px;
}

.hero-side { grid-template-columns: 1fr 1fr; }

.stat, .kpi {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.stat::before, .kpi::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dim), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat:hover, .kpi:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--line-hover);
  box-shadow: var(--shadow-gold);
}

.stat:hover::before, .kpi:hover::before { opacity: 1; }

.stat b, .kpi b {
  display: block;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  position: relative;
}

.stat span, .kpi span {
  font-size: 13px;
  color: var(--muted);
  position: relative;
}

.stats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: 20px; }

/* ─── Trust Marquee ─── */
.trust-bar {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255, 212, 0, 0.02);
}

.marquee {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-content {
  display: flex;
  gap: 48px;
  padding-right: 48px;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-item span { color: var(--gold); }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Section Headers ─── */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.section-head h3, h2.section-title {
  font-family: var(--font-display);
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head h3::before, h2.section-title::before {
  content: "";
  display: block;
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
  margin-bottom: 10px;
}

.section-head p { margin: 0; color: var(--muted); font-size: 15px; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ─── Product Cards ─── */
.products, .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card, .product {
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.008));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.45s var(--ease-spring), border-color 0.3s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.product-card::after, .product::after {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,212,0,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.product-card:hover, .product:hover {
  transform: translateY(-10px);
  border-color: var(--line-hover);
  box-shadow: var(--shadow), var(--shadow-gold);
}

.product-card:hover::after, .product:hover::after { opacity: 1; }

.product-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--gold-dim);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.4s var(--ease-spring);
}

.product-card:hover .product-icon { transform: scale(1.1) rotate(-5deg); }

.product-top, .product-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-title {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.product-card p, .product-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

.tag, .badge-new {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.card-actions, .product-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.product-media {
  height: 220px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -24px -24px 0;
}

.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product:hover .product-media img { transform: scale(1.06); }

.product-body { padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }

/* ─── Features / Panels ─── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature, .panel {
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.feature:hover, .panel:hover {
  transform: translateY(-4px);
  border-color: var(--line-hover);
  box-shadow: var(--shadow-gold);
}

.feature h4, .panel h4 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.feature p, .panel p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li { margin: 8px 0; }

.quote {
  margin-top: 16px;
  border-left: 3px solid var(--gold);
  background: var(--gold-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  color: #fff;
  font-weight: 600;
  font-style: italic;
}

/* ─── Events ─── */
.events, .events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.event, .event-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  background: var(--bg-card);
  transition: transform 0.4s var(--ease-spring), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.event::before, .event-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.4s var(--ease);
}

.event:hover, .event-card:hover {
  transform: translateX(6px);
  border-color: var(--line-hover);
  box-shadow: var(--shadow-gold);
}

.event:hover::before, .event-card:hover::before { transform: scaleY(1); }

.event h4, .event-title {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.event p, .event-body { margin: 0; color: var(--muted); font-size: 14px; }

.event-card img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin: -24px -24px 16px;
  width: calc(100% + 48px);
}

/* ─── CTA ─── */
.cta {
  margin: 48px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 32px;
  background: linear-gradient(135deg, rgba(255,212,0,0.08), rgba(255,255,255,0.01));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold), transparent, var(--gold-soft));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
  animation: ctaBorder 4s ease-in-out infinite;
}

@keyframes ctaBorder {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.cta h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  position: relative;
}

.cta p { margin: 0 0 8px; color: var(--muted); position: relative; }
.cta .hero-actions { justify-content: center; position: relative; }

/* ─── Developer Credit ─── */
.developer-credit {
  text-align: center;
  padding: 32px 0;
}

.developer-credit .label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.glow-name, .glow-text {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--gold);
  animation: glowPulse 2s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { text-shadow: 0 0 10px rgba(255,212,0,0.4), 0 0 30px rgba(255,212,0,0.2); }
  to { text-shadow: 0 0 20px rgba(255,212,0,0.9), 0 0 50px rgba(255,212,0,0.4); }
}

/* ─── Footer ─── */
.footer, footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.footer strong { color: var(--gold); }

.social-follow {
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 18px;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s, box-shadow 0.3s, color 0.3s;
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-gold);
}

/* ─── Gallery (Events / Products) ─── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.gallery-item {
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-gold);
  border-color: var(--line-hover);
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }

.gallery-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--bg-soft);
}

.gallery-scroll img {
  height: 280px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.3s;
}

.gallery-scroll img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-gold);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s, transform 0.3s var(--ease-spring);
  backdrop-filter: blur(8px);
}

.arrow:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

#left { left: 8px; }
#right { right: 8px; }

.gallery-wrap { position: relative; }

/* ─── Image Modal ─── */
.img-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(12px);
  animation: fadeIn 0.3s var(--ease);
}

.img-modal.open { display: flex; }

.img-modal img {
  max-width: 95%;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  animation: scaleIn 0.4s var(--ease-spring);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ─── Team ─── */
.team-section { padding: 48px 0; text-align: center; }

.team-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #fff;
  margin-bottom: 40px;
  font-weight: 800;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 20px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.45s var(--ease-spring), border-color 0.3s, box-shadow 0.4s;
}

.team-card:hover {
  transform: translateY(-12px);
  border-color: var(--line-hover);
  box-shadow: var(--shadow), var(--shadow-gold);
}

.team-img {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--bg-soft);
  border: 2px solid var(--line);
  background-size: cover;
  background-position: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-spring);
}

.team-card:hover .team-img {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(255,212,0,0.3);
  transform: scale(1.05);
}

.team-name {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role { color: var(--muted); font-size: 13px; }

/* ─── Modal ─── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.3s var(--ease);
}

.modal-card {
  width: 100%;
  max-width: 520px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  animation: scaleIn 0.4s var(--ease-spring);
}

.modal-card h3 {
  color: var(--gold);
  font-family: var(--font-display);
  margin: 0 0 12px;
}

/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.field input, .field textarea, .field select {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.branch-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  background: var(--bg-card);
  margin-bottom: 16px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.branch-card:hover {
  border-color: var(--line-hover);
  transform: translateY(-3px);
}

.branch-card h4 { color: var(--gold); margin-bottom: 8px; font-family: var(--font-display); }
.branch-card p { color: var(--muted); font-size: 14px; margin: 4px 0; }

.map-embed {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 12px;
}

.map-embed iframe { width: 100%; height: 200px; border: 0; display: block; }

.float-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}

.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: none;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s;
  animation: floatBounce 3s ease-in-out infinite;
}

.float-btn.whatsapp { background: #25d366; color: #fff; }
.float-btn.call { background: var(--gold); color: #000; animation-delay: -1.5s; }

.float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ─── Download ─── */
.download-group { margin-bottom: 32px; }

.download-group h4 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.download-list {
  display: grid;
  gap: 10px;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.download-item:hover {
  transform: translateX(6px);
  border-color: var(--line-hover);
  background: rgba(255,212,0,0.04);
}

.download-item .name { font-weight: 600; color: #fff; font-size: 14px; }
.download-item .desc { color: var(--muted); font-size: 12px; margin-top: 2px; }

/* ─── FAQ / QNA ─── */
.faq-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.faq-toolbar input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-toolbar input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.faq-list { display: grid; gap: 10px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 0.3s;
}

.faq-item.open { border-color: var(--line-hover); }

.faq-q {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.3s, background 0.3s;
}

.faq-q:hover { color: var(--gold); background: var(--gold-dim); }

.faq-q .icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gold);
  transition: transform 0.4s var(--ease);
}

.faq-item.open .faq-q .icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.3s;
  padding: 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 600px;
  padding: 0 20px 18px;
}

/* ─── Hardware ─── */
.hw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.hw-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
}

.hw-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
  border-color: var(--line-hover);
}

.hw-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.hw-card:hover img { transform: scale(1.05); }

.hw-card .hw-body { padding: 20px; }
.hw-card h4 { color: #fff; font-family: var(--font-display); margin-bottom: 8px; }
.hw-card p { color: var(--muted); font-size: 14px; }

/* ─── Intro (legacy product pages) ─── */
.intro { padding: calc(var(--nav-h) + 40px) 20px 30px; text-align: center; }
.intro h2 { font-family: var(--font-display); color: var(--gold); font-size: clamp(1.5rem, 4vw, 2rem); }
.intro .lead { margin-top: 12px; color: var(--muted); font-size: 16px; }
.kpis { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ─── Page spacer for fixed nav ─── */
main { padding-top: 0; }
.page-hero { padding: calc(var(--nav-h) + 48px) 0 32px; }

/* ─── Generic card / branch ─── */
.card, .branch-grid .card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  background: var(--bg-card);
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  border-color: var(--line-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.card h3, .card h4 { color: var(--gold); font-family: var(--font-display); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14px; margin: 8px 0; }
.card iframe { width: 100%; height: 200px; border: 0; border-radius: var(--radius-sm); margin-top: 12px; }

.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  transition: gap 0.3s var(--ease);
}

.map-link:hover { gap: 10px; }

.form-notice {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}

.form-notice.success {
  display: block;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #6ee7a0;
}

.form-notice.error {
  display: block;
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.35);
  color: #ffb2a8;
}

.quick { list-style: none; padding: 0; }
.quick li { color: var(--muted); margin: 10px 0; font-size: 14px; }
.quick strong { color: #fff; }

/* Download page cards grid */
.download-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.download-section > h2 {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.3rem;
  margin: 24px 0 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.download-section > h2:first-child { margin-top: 0; }

/* ─── Team members (Ourteam) ─── */
.hint {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.grid#teamGrid, .team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.member {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  transition: transform 0.45s var(--ease-spring), border-color 0.3s, box-shadow 0.4s;
}

.member:hover {
  transform: translateY(-10px);
  border-color: var(--line-hover);
  box-shadow: var(--shadow), var(--shadow-gold);
}

.member-media {
  height: 200px;
  overflow: hidden;
  background: var(--bg-soft);
}

.member-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.member:hover .member-media img { transform: scale(1.08); }

.member-body { padding: 16px; }
.member-name { margin: 0; color: #fff; font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.member-role { margin: 4px 0 0; color: var(--gold); font-size: 13px; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  backdrop-filter: blur(12px);
}

.modal.open { display: flex; animation: fadeIn 0.3s var(--ease); }

.modal .modal-card {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  position: relative;
}

.modal-img { background: #000; min-height: 320px; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 24px; }
.modal-body h3 { margin: 0; color: #fff; font-family: var(--font-display); font-size: 1.6rem; }
.modal-body p { margin: 12px 0 0; color: var(--muted); line-height: 1.7; }

.pill {
  display: inline-flex;
  margin-top: 12px;
  border: 1px solid var(--line);
  background: var(--gold-dim);
  color: var(--gold-soft);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 12px;
}

.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 18px;
  z-index: 5;
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-spring);
}

.modal-close:hover { border-color: var(--gold); color: var(--gold); transform: scale(1.1); }

/* ─── Events gallery horizontal ─── */
.gallery-container {
  position: relative;
  margin-bottom: 40px;
}

.gallery-container h2, .event-gallery-title {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.4rem;
  margin: 0 0 16px;
  padding-left: 20px;
}

.gallery-container .gallery {
  display: flex;
  gap: 16px;
  padding: 8px 20px 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--bg-soft);
}

.photo {
  position: relative;
  width: 300px;
  height: 200px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
}

.photo:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: var(--line-hover);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.5s var(--ease);
}

.photo:hover img { transform: scale(1.06); }

.left-arrow { left: 8px; }
.right-arrow { right: 8px; }

.image-modal, #imgModal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(12px);
}

.image-modal.open, #imgModal.open { display: flex; }

.image-modal img, #imgModal img {
  max-width: min(100%, 1100px);
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  animation: scaleIn 0.4s var(--ease-spring);
}

@media (max-width: 980px) {
  .modal .modal-card { grid-template-columns: 1fr; }
  .modal-img { min-height: 240px; }
  .left-arrow, .right-arrow { display: none; }
}

/* ─── QNA page (Que.html) legacy compatibility ─── */
.page-header {
  padding: calc(var(--nav-h) + 32px) 20px 28px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,212,0,0.04), transparent);
}

.page-header h2 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin: 0;
}

.page-header p { color: var(--muted); margin-top: 8px; }

.search-box {
  width: min(500px, 90%);
  padding: 14px 20px;
  margin: 20px auto;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 15px;
  background: var(--bg-card);
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search-box:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.faq-toolbar {
  width: min(1200px, 92%);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

#faqCount { color: var(--muted); font-size: 14px; }

.toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.toolbar-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-spring);
}

.toolbar-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.question {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.3s, background 0.3s;
}

.question:hover { color: var(--gold); background: var(--gold-dim); }

.question::after {
  content: "+";
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  transition: transform 0.4s var(--ease);
}

.faq-item.open .question::after { content: "\2212"; transform: rotate(180deg); }

.answer {
  padding: 12px 20px;
  display: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  border-top: 1px solid var(--line);
}

/* Hardware page grid alias */
section .grid:not(#teamGrid) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.follow {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 18px;
  color: var(--muted);
}

.follow b { color: var(--gold); }

.contact-cta {
  margin-top: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,212,0,0.08), rgba(255,255,255,0.01));
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.contact-cta h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.3rem;
}

.contact-cta p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }

.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-weight: 700;
  min-width: 180px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.cta-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  border-color: transparent;
  color: #0a0a0a;
  box-shadow: 0 8px 24px rgba(255,212,0,0.25);
}

.cta-ghost { background: var(--bg-card); color: var(--text); }

.cta-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }

/* ─── Product detail pages ─── */
.page-title {
  font-family: var(--font-display);
  text-align: center;
  color: var(--gold);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  padding: calc(var(--nav-h) + 32px) 20px 20px;
  margin: 0;
}

.product-page .gallery-container {
  width: min(1200px, 92%);
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.product-page .section {
  width: min(1200px, 92%);
  margin: 0 auto 20px;
  padding: 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.35s var(--ease);
}

.product-page .section:hover {
  border-color: var(--line-hover);
  transform: translateY(-3px);
}

.product-page .section h2 {
  font-family: var(--font-display);
  margin: 0 0 14px;
  font-size: 1.4rem;
  color: var(--gold);
}

.product-page .section ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.product-page .section li { margin: 8px 0; }
.product-page .feature-title { color: #fff; font-weight: 700; list-style: none; margin-left: -20px; padding-left: 0; }

.product-cta {
  width: min(1200px, 92%);
  margin: 32px auto 48px;
  text-align: center;
}

/* ─── Responsive ─── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }

  .main-nav, nav.main {
    position: fixed;
    left: 0; right: 0;
    top: var(--nav-h);
    background: rgba(3, 3, 3, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s;
    margin-left: 0;
  }

  .main-nav.active, nav.main.active {
    max-height: 520px;
    padding: 12px 0 20px;
  }

  .main-nav a, nav.main a {
    padding: 14px 24px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,212,0,0.06);
  }

  .main-nav a::after, nav.main a::after { display: none; }
}

@media (max-width: 640px) {
  .hero-card { padding: 28px; }
  .hero-side { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta { padding: 32px 20px; }
  .float-actions { bottom: 16px; right: 16px; }
  .float-btn { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  body { opacity: 1; }
}
