/* ============================================
   NEXA - Design System & Global Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --text-primary: #ffffff;
  --text-secondary: #999999;
  --text-muted: #666666;
  --accent: #c9a84c;
  --accent-hover: #d4b65c;
  --accent-dim: rgba(201, 168, 76, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

/* --- Custom Cursor --- */
.custom-cursor {
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.custom-cursor.hovering {
  width: 48px;
  height: 48px;
  border-color: var(--accent);
  background-color: rgba(201, 168, 76, 0.1);
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

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

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

.section {
  padding: 120px 0;
}

.section-sm {
  padding: 80px 0;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background-color var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background-color: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo img {
  height: 36px;
  width: auto;
}

.navbar-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--text-primary);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-links a.navbar-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--bg-primary) !important;
  background: var(--accent);
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}

.navbar-links a.navbar-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.navbar-links a.navbar-cta::after {
  display: none !important;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 800px;
}

.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-image {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  border: 1px solid var(--accent-dim);
  padding: 8px 16px;
  border-radius: 4px;
  background: var(--accent-dim);
}

.hero h1 {
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.125rem;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-inner {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

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

/* --- Cards --- */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.9375rem;
}

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

.cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

/* --- Section Heading --- */
.section-heading {
  margin-bottom: 64px;
}

.section-heading .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.section-heading p {
  max-width: 560px;
  font-size: 1.0625rem;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered p {
  margin: 0 auto;
}

/* --- CTA Section --- */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.cta-section h2 {
  margin-bottom: 24px;
}

.cta-section p {
  max-width: 480px;
  margin: 0 auto 40px;
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 32px 24px;
}

.process-step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
  color: rgba(201, 168, 76, 0.2);
}

.process-step h4 {
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9375rem;
}

/* --- Stats --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* --- Toggle Tabs --- */
.toggle-tabs {
  display: flex;
  gap: 0;
  background: var(--bg-tertiary);
  border-radius: var(--radius);
  padding: 4px;
  width: fit-content;
  margin-bottom: 48px;
}

.toggle-tab {
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}

.toggle-tab.active {
  background: var(--accent);
  color: var(--bg-primary);
}

.toggle-content {
  display: none;
}

.toggle-content.active {
  display: block;
}

/* --- Projects / Works --- */
.projects-scroll {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding: 20px max(24px, calc((100vw - var(--max-width)) / 2 + 24px)) 40px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
  -ms-overflow-style: auto;
  scrollbar-width: thin;
}

.projects-scroll::-webkit-scrollbar {
  height: 6px;
  display: block;
}
.projects-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.projects-scroll::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: 4px;
}
.projects-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.project-card {
  min-width: 400px;
  max-width: 400px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  transition: all var(--transition);
  flex-shrink: 0;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.project-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-card-body {
  padding: 28px 24px;
}

.project-card-industry {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.project-card-body h3 {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.project-card-detail {
  margin-bottom: 12px;
}

.project-card-detail strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.project-card-detail p {
  font-size: 0.875rem;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 32px;
}

.contact-detail {
  margin-bottom: 20px;
}

.contact-detail strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.contact-detail span {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

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

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

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

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

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 0.9375rem;
  margin-top: 8px;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .navbar-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9375rem;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  padding: 6px 0;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- Divider --- */
.divider {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 24px 0;
}

.divider-center {
  margin: 24px auto;
}

/* --- Feature Row (alternating layout) --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-visual {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.feature-visual .large-number {
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  font-weight: 700;
  color: var(--accent-dim);
  line-height: 1;
  color: rgba(201, 168, 76, 0.12);
}

/* --- Bento Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

.bento-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}

.bento-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.bento-item.span-2 {
  grid-column: span 2;
}

.bento-item h3 {
  margin-bottom: 12px;
}

.bento-item p {
  font-size: 0.9375rem;
}

/* --- Fade In Animation (minimal) --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */

/* Prevent horizontal overflow globally */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-item.span-2 {
    grid-column: span 1;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-row.reverse {
    direction: ltr;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-grid .hero-content {
    margin: 0 auto;
  }
  .hero-image-container {
    margin-top: 32px;
  }
  .hero-image {
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .section {
    padding: 80px 0;
  }

  .section-sm {
    padding: 60px 0;
  }

  /* --- Mobile Navigation --- */
  .navbar-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a0a0a;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 999;
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links a {
    font-size: 1.125rem;
    padding: 8px 0;
  }

  /* Reset CTA button in mobile menu to match other links */
  .navbar-links a.navbar-cta {
    background: transparent;
    color: var(--accent) !important;
    padding: 8px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--accent);
  }

  .navbar-links a.navbar-cta:hover {
    background: transparent;
    transform: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* --- Hero Mobile --- */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
    margin-top: 0;
  }

  .hero-grid .hero-content {
    margin: 0 auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image-container {
    margin-top: 24px;
  }

  .hero-image {
    max-width: 100%;
    width: 100%;
    border-radius: var(--radius);
  }

  /* --- Cards & Grids Mobile --- */
  .cards-grid,
  .cards-grid-3,
  .cards-grid-2 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 28px 20px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .stat-number {
    font-size: 2rem;
  }

  /* --- Contact Mobile --- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* --- Projects/Works Mobile --- */
  .projects-scroll {
    padding: 20px 16px 32px;
    scroll-padding-left: 16px;
    gap: 16px;
  }

  .project-card {
    min-width: 300px;
    max-width: 300px;
  }

  .project-card-image {
    height: 180px;
  }

  .project-card-body {
    padding: 20px 16px;
  }

  /* --- Footer Mobile --- */
  .footer {
    padding: 60px 0 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* --- Feature Row Mobile --- */
  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .feature-visual {
    padding: 32px;
    min-height: 200px;
  }

  .feature-visual .large-number {
    font-size: 5rem;
  }

  /* --- Bento Grid Mobile --- */
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-item {
    padding: 24px 20px;
  }

  /* --- CTA Section Mobile --- */
  .cta-section {
    padding: 80px 0;
  }

  .cta-section::before {
    width: 200px;
  }

  /* --- Section Heading Mobile --- */
  .section-heading {
    margin-bottom: 40px;
  }

  /* --- Misc Mobile --- */
  .custom-cursor {
    display: none;
  }

  .divider {
    margin: 16px 0;
  }

  /* --- Toggle Tabs Mobile --- */
  .toggle-tabs {
    width: 100%;
    justify-content: center;
  }

  .toggle-tab {
    padding: 8px 16px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .hero {
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 40px;
  }

  .hero-label {
    font-size: 0.6875rem;
    padding: 6px 12px;
    letter-spacing: 2px;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 0.9375rem;
    margin-bottom: 28px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.8125rem;
    width: 100%;
    text-align: center;
  }

  .project-card {
    min-width: 260px;
    max-width: 260px;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-sm {
    padding: 48px 0;
  }

  .cta-section {
    padding: 60px 0;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 14px;
    font-size: 0.875rem;
  }
}
