/* ============================================
   BRANDMUG GLOBAL — Design System
   Red & White Theme (Fengshui)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Tokens --- */
:root {
  --brand-red: #E31E24;
  --brand-red-hover: #C8181D;
  --brand-red-light: #FFF0F0;
  --brand-red-subtle: #FDE8E8;
  --primary-bg: #FFFFFF;
  --secondary-bg: #F8F8F8;
  --surface: #FFFFFF;
  --surface-alt: #F3F3F3;
  --border: #E5E5E5;
  --border-light: #F0F0F0;
  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --text-muted: #999999;
  --white: #FFFFFF;
  --dark: #0A0A0A;
  --font-main: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --nav-height: 72px;
  --section-pad: clamp(64px, 10vw, 120px);
  --container: 1200px;
  --radius: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-main);
  background: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select {
  font-family: inherit; font-size: inherit; color: inherit;
  border: none; outline: none; background: none;
}

/* --- Container --- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--text-primary); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
}
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-red);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(227,30,36,0.25);
}
.btn-primary:hover { background: var(--brand-red-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(227,30,36,0.3); }
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover { border-color: var(--brand-red); color: var(--brand-red); background: var(--brand-red-light); }
.btn-ghost {
  color: var(--brand-red);
  padding: 8px 0;
}
.btn-ghost:hover { color: var(--brand-red-hover); }
.btn-ghost .arrow { transition: transform var(--transition); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo { height: 65px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--brand-red);
  border-radius: 1px;
}
.nav-cta {
  font-size: 0.82rem;
  padding: 10px 22px;
}

/* Hero nav override — white text on dark bg */
.hero-page .nav:not(.scrolled) .nav-link { color: rgba(255,255,255,0.7); }
.hero-page .nav:not(.scrolled) .nav-link:hover,
.hero-page .nav:not(.scrolled) .nav-link.active { color: #fff; }
.hero-page .nav:not(.scrolled) .nav-toggle span { background: #fff; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { font-size: 1.2rem; color: var(--text-primary); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: grayscale(20%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-top: var(--nav-height);
  color: var(--white);
}
.hero-label { margin-bottom: 20px; }
.hero h1 { margin-bottom: 20px; color: var(--white); }
.hero h1 span { color: var(--brand-red); }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.3); color: #fff; }
.hero-actions .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--section-pad) 0;
}
.section-alt { background: var(--secondary-bg); }
.section-header {
  margin-bottom: 56px;
}
.section-header .label { margin-bottom: 12px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  color: var(--text-secondary);
  max-width: 560px;
  font-size: 1.05rem;
}
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: var(--brand-red); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.card-body { padding: 24px; }
.card-body .label { margin-bottom: 8px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--text-secondary); font-size: 0.92rem; }

/* Capability Card */
.cap-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.cap-card:hover { border-color: var(--brand-red); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(227,30,36,0.08); }
.cap-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-red-light);
  border-radius: var(--radius);
  margin-bottom: 20px;
  color: var(--brand-red);
}
.cap-icon svg { width: 24px; height: 24px; }
.cap-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.cap-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7; }
.cap-card ul { margin-top: 16px; }
.cap-card li {
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.cap-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 5px; height: 5px;
  background: var(--brand-red);
  border-radius: 50%;
}

/* ============================================
   GRIDS
   ============================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

/* ============================================
   STATS
   ============================================ */
.stats { display: flex; gap: 64px; flex-wrap: wrap; padding: 48px 0; }
.stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-value span { color: var(--brand-red); }
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   MARKETS
   ============================================ */
.market-grid { display: flex; gap: 12px; flex-wrap: wrap; }
.market-tag {
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.market-tag:hover { border-color: var(--brand-red); color: var(--brand-red); background: var(--brand-red-light); }

/* ============================================
   PORTFOLIO
   ============================================ */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { color: var(--text-primary); border-color: var(--brand-red); }
.filter-btn.active {
  color: var(--white);
  background: var(--brand-red);
  border-color: var(--brand-red);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-item { cursor: pointer; }
.portfolio-item .card-img { aspect-ratio: 4/3; transition: transform 0.5s ease, filter 0.5s ease; }
.portfolio-item:hover .card-img { transform: scale(1.03); filter: brightness(1.05); }
.portfolio-item .card { overflow: hidden; }

/* ============================================
   PRODUCTS
   ============================================ */
.product-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.product-section:last-child { border-bottom: none; }
.product-section.reverse { direction: rtl; }
.product-section.reverse > * { direction: ltr; }
.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}
.product-content .label { margin-bottom: 12px; }
.product-content h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.product-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}
.product-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.product-tag {
  padding: 6px 14px;
  background: var(--brand-red-light);
  border: 1px solid var(--brand-red-subtle);
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: var(--brand-red);
}

/* ============================================
   ABOUT
   ============================================ */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-hero h1 { margin-bottom: 24px; }
.about-hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.value-card:hover { border-color: var(--brand-red); box-shadow: 0 4px 16px rgba(227,30,36,0.06); }
.value-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.value-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7; }
.value-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-red);
  margin-bottom: 12px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: border-color var(--transition);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(227,30,36,0.1);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { cursor: pointer; appearance: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-info {
  padding: 40px;
  background: var(--secondary-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: fit-content;
}
.contact-info h3 { margin-bottom: 24px; }
.info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.info-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-red-light);
  border-radius: var(--radius);
  color: var(--brand-red);
  flex-shrink: 0;
}
.info-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.info-value { font-size: 0.92rem; color: var(--text-primary); }
.info-value a { transition: color var(--transition); }
.info-value a:hover { color: var(--brand-red); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: var(--section-pad) 0;
  background: var(--brand-red);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 16px; color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 480px; margin-inline: auto; }
.cta-section .label { color: rgba(255,255,255,0.7); }
.cta-section .btn-primary {
  background: var(--white);
  color: var(--brand-red);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.cta-section .btn-primary:hover { background: #f5f5f5; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--dark);
  color: #ccc;
}
.footer h1, .footer h2, .footer h3, .footer h4 { color: rgba(255,255,255,0.5); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-logo { height: 61px; }
.footer h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  display: flex;
  padding: 0;
  color: rgba(255,255,255,0.35);
}
.footer-social a:hover { color: var(--brand-red); }

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
}
.lightbox.open { display: flex; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
  z-index: 2100;
}
.lightbox-close:hover { opacity: 1; }

/* Lightbox Container Split Layout */
.lb-container {
  display: flex;
  width: 100%;
  height: 100%;
}
.lb-media-pane {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  padding: 48px;
}
.lb-image-wrapper {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-media-pane img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
.lb-info-pane {
  width: 400px;
  background: #080808;
  border-left: 1px solid rgba(255,255,255,0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 32px 32px 32px;
  overflow-y: auto;
  color: var(--white);
}
.lb-info-content {
  display: flex;
  flex-direction: column;
}
.lb-category {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-red);
  margin-bottom: 8px;
}
.lb-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #fff;
}
.lb-meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.lb-description {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

/* Lightbox FAQs */
.lb-faq-container {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: none;
}
.lb-faq-container h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}
.lb-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lb-faq-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lb-faq-q {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}
.lb-faq-a {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.55);
}
.lb-counter {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 24px;
}

/* Navigation Slides */
#lb-prev, #lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition);
}
#lb-prev:hover, #lb-next:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
}
#lb-prev { left: 24px; }
#lb-next { right: 24px; }

/* Responsive adjustments */
@media (max-width: 900px) {
  .lb-container {
    flex-direction: column;
  }
  .lb-media-pane {
    height: 55vh;
    padding: 24px;
  }
  .lb-media-pane img {
    max-height: 45vh;
  }
  .lb-info-pane {
    width: 100%;
    height: 45vh;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px;
  }
  #lb-prev { left: 12px; }
  #lb-next { right: 12px; }
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 48px;
  background: var(--secondary-bg);
  border-bottom: 1px solid var(--border);
}
.page-header .label { margin-bottom: 12px; }
.page-header h1 { margin-bottom: 12px; }
.page-header p { color: var(--text-secondary); max-width: 560px; }

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s 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; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero { grid-template-columns: 1fr; gap: 40px; }
  .product-section { grid-template-columns: 1fr; gap: 24px; }
  .product-section.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { gap: 32px; }
  .hero-content { padding-top: calc(var(--nav-height) + 24px); }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .container { padding: 0 16px; }
}
