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

/* ── Custom Properties (Apple-Style Editorial Minimalism) ── */
:root {
  --bg-primary: #FFFFFF;
  --bg-surface: #FAFAFA;
  --bg-subtle: #F6F6F6;
  --border: #EAEAEA;
  --border-hover: #D0D0D0;
  
  --text-primary: #111111;
  --text-secondary: #555555;
  --text-muted: #888888;
  
  /* Softest possible tints */
  --tint-blue: #F0F4FC;
  --tint-purple: #F6F2FC;
  --tint-warm: #FAF5F0;
  
  /* Accent color */
  --accent: #2563EB;
  --accent-light: #EBF2FF;
  
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --container-max: 1240px;
  
  /* Timings and Easings */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-default: all 0.6s var(--ease-expo);
  --transition-fast: all 0.25s ease;
  
  /* Spacing System */
  --section-pad-desktop: clamp(160px, 14vw, 220px);
  --section-pad-mobile: clamp(100px, 10vw, 140px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── Typography System ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  /* Hero Headline */
  font-size: clamp(38px, 6.5vw, 96px);
  font-weight: 500;
}

h2 {
  /* Section Headline */
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 500;
}

h3 {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-secondary);
  font-weight: 300;
}

p.lead {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.7;
}

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

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

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: var(--section-pad-desktop) 0;
  position: relative;
}

/* ── Grid Utilities ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* ── Buttons (Restrained, Understated) ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  border-radius: 24px;
  cursor: pointer;
  transition: var(--transition-fast);
  letter-spacing: -0.01em;
}

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

.btn-primary:hover {
  background: #333333;
  border-color: #333333;
}

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

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

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
}

.btn-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-expo);
}

.btn-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-link svg {
  transition: transform 0.3s var(--ease-expo);
}

.btn-link:hover svg {
  transform: translateX(3px);
}

/* ── Section Label / Subtitles ── */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ── Scroll Reveal System ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── Spotlight Scroll-Focus System ── */
.solution-item,
.software-item-card,
.aec-service-card,
.faq-item {
  opacity: 0.55;
  transition: opacity 0.7s var(--ease-expo), border-color 0.7s var(--ease-expo), background-color 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
  will-change: opacity, border-color, transform;
}

.solution-item.active,
.software-item-card.active,
.aec-service-card.active,
.faq-item.active,
.solution-item:hover,
.software-item-card:hover,
.aec-service-card:hover,
.faq-item:hover {
  opacity: 1;
  border-color: var(--border-hover);
}

/* Specific border updates for items with custom border patterns */
.aec-service-card.active,
.aec-service-card:hover {
  border-top-color: var(--border-hover);
}

.faq-item.active,
.faq-item:hover {
  border-bottom-color: var(--border-hover);
}

/* ── Navigation Bar ── */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: padding 0.4s var(--ease-expo), border-color 0.4s var(--ease-expo), background-color 0.4s var(--ease-expo);
}

.nav-bar.scrolled {
  padding: 16px 0;
  background-color: rgba(255, 255, 255, 0.9);
  border-color: var(--border);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.nav-logo span {
  font-weight: 300;
  color: var(--text-secondary);
}

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

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-expo);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 8px 20px;
  font-size: 13.5px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 18px;
  position: relative;
  z-index: 1100;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-primary);
  position: absolute;
  left: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 8px; }
.mobile-toggle span:nth-child(3) { top: 16px; }

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

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

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

/* ── Hero Section (Quiet, spacious) ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 50% 30%, var(--tint-blue) 0%, #FFFFFF 60%);
}

.hero-content {
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero h1 {
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}

.hero h1 span {
  display: block;
  font-weight: 300;
  color: var(--text-secondary);
}

.hero p {
  max-width: 1100px;
  margin: 0 auto 48px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 96px;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-trust-title {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.hero-trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-trust-logos img {
  height: 24px;
  width: auto;
  object-fit: contain;
  opacity: 0.65;
  transition: opacity 0.3s ease;
  /* Premium inverted grayscale rendering */
  filter: invert(1) brightness(0.2);
}

.hero-trust-logos img:hover {
  opacity: 1;
}

/* ── About Section (Asymmetrical layout) ── */
.about {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
}

.about-left {
  position: sticky;
  top: 140px;
}

.about-left h2 {
  will-change: transform;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-right p {
  font-size: 22px;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 300;
  max-width: 100%;
}

.about-right .supporting {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}

.about-highlight-card {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.about-highlight-card h4 {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.about-highlight-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── RotaWiz Section ── */
.rotawiz {
  background: radial-gradient(circle at 10% 20%, var(--tint-purple) 0%, #FFFFFF 50%);
}

.rotawiz-grid {
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
}

.rotawiz-content {
  max-width: 520px;
}

.rotawiz h2 {
  margin-bottom: 24px lead;
}

.rotawiz-desc {
  margin-bottom: 32px;
}

.rotawiz-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
  list-style: none;
}

.rotawiz-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.rotawiz-features-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--text-primary);
  flex-shrink: 0;
}

.rotawiz-value {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  font-style: italic;
  max-width: 440px;
  border-left: 1px solid var(--border);
  padding-left: 16px;
}

/* Restrained Dashboard Mockup */
.rotawiz-dashboard {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.03);
}

.rotawiz-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.rotawiz-dash-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rotawiz-dash-brand img {
  height: 20px;
  width: auto;
  filter: invert(1) brightness(0.2);
}

.rotawiz-dash-brand span {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.rotawiz-dash-status {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-surface);
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.rotawiz-shifts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rotawiz-shift-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background-color: var(--bg-surface);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.shift-time {
  font-size: 12.5px;
  color: var(--text-muted);
}

.shift-member {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
}

.shift-pill {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shift-pill.active { background-color: #E6F4EA; color: #137333; }
.shift-pill.pending { background-color: #E8F0FE; color: #1A73E8; }
.shift-pill.leave { background-color: #FCE8E6; color: #C5221F; }

/* ── Business Platforms Section (Asymmetric Editorial Layout) ── */
.platforms {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.platforms-header {
  margin-bottom: 120px;
}

.platforms-header-grid {
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.platforms-header p {
  max-width: 480px;
  margin: 0;
}

.platforms-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  margin-top: 64px;
}

.platform-item {
  display: grid;
  grid-template-columns: 200px 260px 1fr auto;
  gap: 48px;
  padding: 44px 16px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.4s var(--ease-expo), padding-left 0.4s var(--ease-expo), padding-right 0.4s var(--ease-expo);
}

.platform-item:hover {
  background-color: var(--bg-surface);
  padding-left: 32px;
  padding-right: 32px;
}

.platform-logo-col {
  display: flex;
  align-items: center;
}

.platform-logo-col img {
  height: 24px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: invert(1) brightness(0.2);
  transition: opacity 0.3s ease;
  opacity: 0.75;
}

.platform-item:hover .platform-logo-col img {
  opacity: 1;
}

.platform-title-col h3 {
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.platform-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.platform-desc-col p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0;
}

.platform-item:hover .platform-desc-col p {
  color: var(--text-primary);
}

.platform-action-col {
  display: flex;
  align-items: center;
}

.platform-arrow-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.platform-arrow-link svg {
  transition: transform 0.4s var(--ease-expo);
}

.platform-item:hover .platform-arrow-link {
  color: var(--text-primary);
}

.platform-item:hover .platform-arrow-link svg {
  transform: translateX(4px);
}

/* ── AI Solutions & AEC Sections ── */
.ai-solutions {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.solutions-grid {
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.solutions-sticky {
  position: sticky;
  top: 140px;
  max-width: 420px;
}

.sticky-parallax-inner {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.solutions-sticky h2 {
  margin-bottom: 24px;
}

.solutions-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.solution-item {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.solution-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.solution-item p {
  font-size: 15px;
  margin-bottom: 20px;
}

/* AEC CAD Section */
.aec-cad {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.aec-grid {
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.aec-sticky {
  position: sticky;
  top: 140px;
  max-width: 420px;
}

.aec-sticky h2 {
  margin-bottom: 24px;
}

.aec-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.aec-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.aec-service-card {
  padding: 24px;
  border-top: 1px solid var(--border);
}

.aec-service-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.aec-service-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* Custom Software Section */
.custom-software {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.software-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.software-sticky {
  position: sticky;
  top: 140px;
}

.software-sticky h2 {
  margin-bottom: 24px;
}

.software-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.software-item-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 12px;
}

.software-item-card h4 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.software-item-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ── Industries & Why Section ── */
.industries-why {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.ind-why-grid {
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.ind-left {
  border-right: 1px solid var(--border);
  padding-right: 48px;
}

.ind-left h3 {
  margin-bottom: 40px;
}

.ind-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ind-tag {
  font-size: 13.5px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 20px;
  color: var(--text-secondary);
}

.why-right h3 {
  margin-bottom: 40px;
}

.why-highlights {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.why-highlight-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}

.why-highlight-row h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.why-highlight-row p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── FAQ Section (Spacious Typography Layout) ── */
.faq {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.faq-sticky {
  position: sticky;
  top: 140px;
}

.faq-sticky h2 {
  margin-bottom: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  gap: 24px;
}

.faq-trigger h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  transition: transform 0.5s var(--ease-expo), border-color 0.5s var(--ease-expo), background-color 0.5s var(--ease-expo);
  will-change: transform;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  border-color: var(--border-hover);
  background-color: var(--bg-primary);
}

.faq-item-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-expo);
  overflow: hidden;
}

.faq-item.active .faq-item-content {
  grid-template-rows: 1fr;
}

.faq-item-inner {
  min-height: 0;
}

.faq-item-inner p {
  padding-top: 18px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 16.5px;
  line-height: 1.75;
}

/* ── CTA Section (Pure Whitespace, soft warm/blue gradient) ── */
.cta {
  background: radial-gradient(circle at 50% 100%, var(--tint-warm) 0%, #FFFFFF 65%);
  padding: clamp(140px, 12vw, 200px) 0;
  text-align: center;
}

.cta-container {
  max-width: 760px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(32px, 4vw, 64px);
  margin-bottom: 24px;
}

.cta p {
  margin-bottom: 40px;
  color: var(--text-secondary);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}

.footer-brand h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 15px;
  max-width: 320px;
}

.footer-links-col h4 {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer-links-list a {
  font-size: 14.5px;
  color: var(--text-secondary);
}

.footer-links-list a:hover {
  color: var(--text-primary);
}

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

.footer-copyright {
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--text-primary);
}

/* ── Responsive Styling ── */
@media (max-width: 1024px) {
  section {
    padding: var(--section-pad-mobile) 0;
  }
  
  .grid-2, .grid-3, .grid-4 {
    gap: 40px;
  }
  
  .about-grid, .rotawiz-grid, .platforms-header-grid, .solutions-grid, .aec-grid, .software-layout, .ind-why-grid, .faq-layout {
    grid-template-columns: 1fr !important;
    gap: 48px;
  }
  
  .about-left, .solutions-sticky, .aec-sticky, .software-sticky, .faq-sticky {
    position: relative;
    top: 0;
    max-width: 100%;
  }
  
  .platform-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 8px;
  }
  
  .platform-item:hover {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .platform-logo-col {
    margin-bottom: 8px;
  }
  
  .platform-action-col {
    margin-top: 12px;
  }
  
  .ind-left {
    border-right: none;
    padding-right: 0;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Controlled by JS mobile menu toggle */
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-actions, .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn, .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-trust-logos {
    gap: 24px;
  }
  
  .aec-services-grid, .software-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ── Mobile Menu Panel ── */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 1050;
  padding: 120px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: right 0.5s var(--ease-expo);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.03);
}

.mobile-nav-panel.active {
  right: 0;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
}

.mobile-nav-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
