/* ==========================================================================
   GeRneX Tech - Premium Design System & Stylesheet
   Unified Warm Gold Theme, Background Video Support, & Light/Dark Mode
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables & Theme Tokens --- */
:root {
  /* Default Dark Mode Tokens */
  --bg-dark: #070D19;
  --bg-surface: #0E1A30;
  --bg-surface-hover: #152747;
  --bg-card: rgba(17, 34, 64, 0.85);
  --bg-glass: rgba(7, 13, 25, 0.92);

  --color-text-main: #E6F1FF;
  --color-text-muted: #8892B0;
  --color-text-dim: #A8B2D1;
  --color-text-inverse: #0A192F;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(245, 166, 35, 0.4);
  --hero-overlay: linear-gradient(135deg, rgba(7, 13, 25, 0.88) 0%, rgba(14, 26, 48, 0.82) 100%);
  
  --footer-bg: #040810;
  --footer-text: #E6F1FF;
  --footer-text-muted: #8892B0;

  --input-bg: rgba(7, 13, 25, 0.7);

  /* Unified Brand Accents (Warm Amber Gold & Deep Navy) */
  --color-primary: #0A192F;
  --color-primary-light: #112240;
  --color-accent-amber: #F5A623;
  --color-accent-amber-glow: rgba(245, 166, 35, 0.25);
  --color-accent-cyan: #F5A623;
  --color-accent-blue: #D48806;

  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1240px;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Light Theme Tokens Override */
[data-theme="light"] {
  --bg-dark: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-hover: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.95);

  --color-text-main: #0F172A;
  --color-text-muted: #475569;
  --color-text-dim: #334155;
  --color-text-inverse: #FFFFFF;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-glow: rgba(212, 136, 6, 0.4);
  --hero-overlay: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(241, 245, 249, 0.88) 100%);
  
  --footer-bg: #F1F5F9;
  --footer-text: #0F172A;
  --footer-text-muted: #475569;

  --input-bg: #F8FAFC;

  --color-accent-amber: #D48806;
  --color-accent-amber-glow: rgba(212, 136, 6, 0.2);
  --color-accent-cyan: #D48806;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--color-text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p { color: var(--color-text-dim); }

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

a:hover {
  color: #D48806;
}

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.text-center { text-align: center; }
.text-accent { color: var(--color-accent-amber); }

/* --- Header & Navigation Bar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(245, 166, 35, 0.3);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.brand-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-dim);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-accent-amber);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-amber);
  cursor: pointer;
  transition: all var(--transition-fast);
}

[data-theme="light"] .theme-toggle-btn {
  background: #F1F5F9;
  color: #D48806;
}

.theme-toggle-btn:hover {
  background: rgba(245, 166, 35, 0.15);
  transform: scale(1.08);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--color-text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #F5A623 0%, #D48806 100%);
  color: #050B14;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.45);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-main);
  border-color: var(--border-color);
}

[data-theme="light"] .btn-secondary {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
  border-color: var(--color-accent-amber);
  color: var(--color-accent-amber);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent-amber);
  border-color: rgba(245, 166, 35, 0.4);
}

.btn-outline:hover {
  background: rgba(245, 166, 35, 0.12);
  border-color: var(--color-accent-amber);
  color: var(--color-accent-amber);
  box-shadow: 0 0 15px rgba(245, 166, 35, 0.2);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* --- Badges & Quick Highlights --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
  background: rgba(245, 166, 35, 0.12);
  color: var(--color-accent-amber);
  border: 1px solid rgba(245, 166, 35, 0.3);
}

.badge-amber, .badge-cyan {
  background: rgba(245, 166, 35, 0.12);
  color: var(--color-accent-amber);
  border: 1px solid rgba(245, 166, 35, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent-amber);
  box-shadow: 0 0 0 rgba(245, 166, 35, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(245, 166, 35, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0); }
}

/* --- Quick Highlights Component --- */
.quick-highlights-wrapper {
  margin: 1.5rem 0 2rem 0;
}

.quick-highlights-title {
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent-amber);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.quick-highlights-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.65rem;
}

.highlight-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.highlight-chip:hover {
  background: rgba(245, 166, 35, 0.15);
  border-color: rgba(245, 166, 35, 0.4);
  transform: translateY(-2px);
}

.highlight-chip svg {
  color: var(--color-accent-amber);
  flex-shrink: 0;
}

/* --- Cards & Grid Systems --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 166, 35, 0.35);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(245, 166, 35, 0.1);
  color: var(--color-accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(245, 166, 35, 0.25);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Hero Section (Full Viewport Height 100vh / 100dvh) --- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 80px; /* Header offset */
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

/* Background Video Element */
.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
  opacity: 0.45;
}

[data-theme="light"] .hero-bg-video {
  opacity: 0.25;
}

.hero-overlay-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-overlay);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  text-align: left;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-dim);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-banner-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  background: var(--bg-surface);
  aspect-ratio: 16 / 9;
}

.hero-banner-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Banner Video Switcher Pill */
.banner-video-switcher {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  background: rgba(7, 13, 25, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 10;
}

.video-switch-btn {
  background: transparent;
  border: none;
  color: var(--color-text-dim);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.video-switch-btn.active,
.video-switch-btn:hover {
  background: var(--color-accent-amber);
  color: #000;
}

/* --- Stats Bar Section --- */
.stats-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 2.25rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.stat-item:hover {
  border-color: rgba(245, 166, 35, 0.35);
  transform: translateY(-3px);
}

.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-family: var(--font-heading);
  color: var(--color-accent-amber);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.75px;
  font-weight: 600;
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header p {
  max-width: 650px;
  margin: 0.75rem auto 0 auto;
  font-size: 1.05rem;
}

.tech-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(245, 166, 35, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  color: var(--color-accent-amber);
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
  border: 1px solid rgba(245, 166, 35, 0.2);
}

/* --- Innovation Lab Highlights --- */
.innovation-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.innovation-card:hover {
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: var(--shadow-md);
}

/* --- How We Work Steps --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-fast);
}

.process-step:hover {
  border-color: var(--color-accent-amber);
  transform: translateY(-4px);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent-amber);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* --- CTA Banner --- */
.cta-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* --- Contact Page Styles --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(245, 166, 35, 0.12);
  color: var(--color-accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid rgba(245, 166, 35, 0.25);
}

.info-details h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.info-details p, .info-details a {
  font-size: 0.95rem;
  color: var(--color-text-dim);
}

/* Form Styling */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent-amber);
  box-shadow: 0 0 12px rgba(245, 166, 35, 0.2);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* --- FAQ Accordion --- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text-main);
}

.faq-icon {
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-accent-amber);
}

.faq-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
  display: none;
  color: var(--color-text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-body {
  display: block;
}

/* --- Footer (Adaptive Layout & Clean High-Contrast Colors) --- */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
  margin-top: 4rem;
  color: var(--footer-text);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-heading {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--footer-text);
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--footer-text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--footer-text-muted);
}

.footer-bottom a {
  color: var(--color-accent-amber);
}

/* --- Toast Notification --- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
}

.toast {
  background: var(--bg-surface);
  border: 1px solid var(--color-accent-amber);
  color: var(--color-text-main);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 100px;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .nav-wrapper {
    height: 70px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 90px;
    padding-bottom: 2rem;
  }

  #quickHighlights,
  .quick-highlights-wrapper {
    display: none !important;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-cta-btn {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .process-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 2.5rem 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .contact-info-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }

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

  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .toast {
    width: 100%;
  }
}
