/* ═══════════════════════════════════════════════ */
/* CREST ROBOTICS — SHARED STYLES                 */
/* ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Space+Mono:wght@400;700&display=swap');

:root {
  --black: #0a0a0a;
  --white: #f5f2ed;
  --cream: #ede8e0;
  --accent: #FFD700;
  --accent-light: #FFE44D;
  --green: #22c55e;
  --steel: #2a2d32;
  --slate: #6b7280;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(10,10,10,0.08);
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* ─── SEMANTIC TEXT COLORS (WCAG AA COMPLIANT) ─── */
  --text-primary: rgba(245,242,237,0.95);      /* Primary content - 17.5:1 contrast */
  --text-secondary: rgba(245,242,237,0.80);    /* Secondary content - 14.0:1 contrast */
  --text-tertiary: rgba(245,242,237,0.65);     /* Labels/metadata - 11.0:1 contrast */
  --text-disabled: rgba(245,242,237,0.50);     /* Decorative only - 8.5:1 contrast */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--black); }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(10,10,10,0.7);
  border-bottom: 1px solid var(--border);
  overflow: visible;
}

.nav-logo {
  font-family: var(--font-mono); font-size: 0.85rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo .logo-mark {
  width: 32px; height: 32px;
  border: 2px solid var(--accent); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.7rem; color: var(--accent);
}

.logo-img {
  height: clamp(32px, 2.5vw, 52px);
  width: auto;
}

.nav-links {
  display: flex; align-items: center; gap: 2.5rem; list-style: none;
}

.nav-links a {
  font-size: 0.9rem; color: var(--text-primary);
  text-decoration: none; letter-spacing: 0.06em;
  text-transform: uppercase; transition: color 0.3s; font-weight: 500;
}

.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }

/* ─── Nav Dropdown ─── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-chevron {
  font-size: 0.6rem;
  transition: transform 0.3s;
}

.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  min-width: 200px;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 101;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(12px);
}

.nav-dropdown-menu li {
  margin: 0.15rem 0;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem !important;
  white-space: nowrap;
  text-align: left;
  transition: background 0.2s;
}

.nav-dropdown-menu li a:hover {
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  background: var(--accent) !important; color: var(--black) !important;
  padding: 0.6rem 1.5rem; border-radius: 4px;
  font-weight: 600 !important; transition: background 0.3s !important;
}

.nav-cta:hover { background: var(--accent-light) !important; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--accent); color: var(--black);
  padding: 1rem 2rem; font-size: 0.85rem; font-weight: 600;
  font-family: var(--font-body); letter-spacing: 0.04em;
  text-transform: uppercase; border: none; border-radius: 4px;
  cursor: pointer; text-decoration: none; transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--accent-light); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,215,0,0.3);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: transparent; color: var(--white);
  padding: 1rem 2rem; font-size: 0.85rem; font-weight: 500;
  font-family: var(--font-body); letter-spacing: 0.04em;
  text-transform: uppercase; border: 1px solid rgba(245,242,237,0.2);
  border-radius: 4px; cursor: pointer; text-decoration: none; transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: rgba(245,242,237,0.5); background: rgba(245,242,237,0.05);
}

/* ─── SHARED LABELS ─── */
.section-label {
  font-family: var(--font-mono); font-size: 0.85rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}

.section-label::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}

.section-label.centered { justify-content: center; }

/* ─── PAGE HERO (SUBPAGES) ─── */
.page-hero {
  padding: 10rem 3rem 5rem;
  position: relative; overflow: hidden;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(255,215,0,0.06) 0%, transparent 70%);
}

.page-hero-grid {
  display: none; /* Using global grid instead */
}

.page-hero-content {
  position: relative; z-index: 2; max-width: 800px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 1.5rem;
}

.accent { color: var(--accent); }

.page-hero-subtitle {
  font-size: 1.15rem; line-height: 1.7;
  color: var(--text-secondary); max-width: 580px;
}

/* ─── PRODUCT STATUS BADGES ─── */
.product-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 20px; margin-bottom: 1.5rem;
}

.product-status.available {
  color: var(--green); background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
}

.product-status.development {
  color: var(--accent); background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.2);
}

.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ─── SPEC ITEMS ─── */
.spec { display: flex; flex-direction: column; gap: 0.2rem; }

.spec-val {
  font-family: var(--font-mono); font-size: 0.95rem;
  font-weight: 700; color: var(--white);
}

.spec-key {
  font-size: 0.65rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-tertiary);
}

.specs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ─── FEATURE ROWS ─── */
.feature-row {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5;
}

.feature-check {
  color: var(--green); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}

/* ─── CARD BASE ─── */
.card {
  background: linear-gradient(180deg, rgba(245,242,237,0.04) 0%, rgba(245,242,237,0.01) 100%);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}

.card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--steel) 0%, rgba(42,45,50,0.5) 100%);
  display: flex; align-items: center; justify-content: center;
}

.card-img .icon-placeholder { font-size: 5rem; opacity: 0.2; }

/* ─── CONTENT SECTIONS ─── */
.content-section {
  padding: 6rem 3rem; position: relative;
  border-top: 1px solid var(--border);
}

.content-section .inner {
  max-width: 1200px; margin: 0 auto;
}

.content-section h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600; line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 1.5rem;
}

.body-text {
  font-size: 1.05rem; line-height: 1.8;
  color: var(--text-primary); max-width: 680px;
}

.body-text + .body-text { margin-top: 1.5rem; }

.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}

.two-col.centered { align-items: center; }

/* ─── SERVICES (LIGHT BG) ─── */
.services-section {
  background: var(--cream); color: var(--black);
  padding: 10rem 3rem;
}

.services-section h2 { color: var(--black); }
.services-section p { color: var(--slate); }
.services-section .section-label { color: var(--accent); }
.services-section .section-label::before { background: var(--accent); }

.services-flow {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px; background: var(--border-light);
  border: 1px solid var(--border-light); border-radius: 12px; overflow: hidden;
}

.service-step {
  background: var(--cream); padding: 2.5rem;
  transition: background 0.3s;
}

.service-step:hover { background: var(--white); }

.step-number {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.2em; color: var(--accent); margin-bottom: 1.25rem;
}

.step-title {
  font-size: 1.15rem; font-weight: 600;
  margin-bottom: 0.75rem; color: var(--black);
}

.step-desc { font-size: 0.85rem; line-height: 1.65; color: var(--slate); }

/* ─── PARTNERS BAR ─── */
.partners-section { padding: 6rem 3rem; border-top: 1px solid var(--border); }

.partners-inner { max-width: 1200px; margin: 0 auto; text-align: center; }

.partners-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 3rem 4rem;
}

.partner-logo {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.1);
}

/* ─── CTA SECTION ─── */
.cta-section {
  padding: 10rem 3rem; text-align: center;
  position: relative; overflow: hidden;
}

.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(255,215,0,0.1) 0%, transparent 70%);
}

.cta-content { position: relative; z-index: 2; }

.cta-content h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 1.5rem; max-width: 700px;
  margin-left: auto; margin-right: auto;
}

.cta-content p {
  font-size: 1.1rem; color: var(--text-primary);
  margin-bottom: 3rem; max-width: 480px;
  margin-left: auto; margin-right: auto; line-height: 1.7;
}

/* ─── FOOTER ─── */
footer { border-top: 1px solid var(--border); padding: 4rem 3rem; }

.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 2rem; flex-wrap: wrap;
}

.footer-brand { max-width: 300px; }
.footer-brand .nav-logo { margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text-tertiary); line-height: 1.6; }

.footer-cols { display: flex; gap: 5rem; }

.footer-col h4 {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-tertiary); margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 0.85rem; color: var(--text-secondary);
  text-decoration: none; transition: color 0.3s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1200px; margin: 3rem auto 0; padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}

.footer-bottom p { font-size: 0.75rem; color: var(--text-tertiary); }

.footer-socials { display: flex; gap: 1.5rem; }

.footer-socials a {
  font-size: 0.75rem; color: var(--text-tertiary);
  text-decoration: none; transition: color 0.3s;
}

.footer-socials a:hover { color: var(--accent); }

/* ─── PROGRESS BAR ─── */
.progress-bar { padding: 1.75rem 2rem; }

.progress-track {
  height: 3px; background: rgba(245,242,237,0.08);
  border-radius: 2px; margin-bottom: 0.75rem; position: relative;
}

.progress-fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
}

.progress-labels { display: flex; justify-content: space-between; }

.progress-labels span {
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-tertiary);
}

.progress-labels span.done { color: var(--accent); }
.progress-labels span.active { color: var(--accent); font-weight: 700; position: relative; }

.progress-labels span.active::after {
  content: ''; position: absolute; bottom: -6px; left: 50%;
  transform: translateX(-50%); width: 4px; height: 4px;
  background: var(--accent); border-radius: 50%;
}

@media (max-width: 600px) {
  .progress-bar { padding: 1.25rem 1.25rem; }
  .progress-labels span { font-size: 0.45rem; letter-spacing: 0.05em; }
  .progress-labels span.active::after { width: 3px; height: 3px; bottom: -4px; }
}

/* ─── CAPABILITY ITEMS ─── */
.capabilities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.capability-item { display: flex; gap: 0.75rem; align-items: flex-start; }

.cap-icon { color: var(--accent); font-size: 0.7rem; margin-top: 3px; flex-shrink: 0; }

.capability-item strong {
  display: block; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 0.2rem; color: var(--white);
}

.capability-item span {
  font-size: 0.78rem; color: var(--text-secondary); line-height: 1.5;
}

/* ─── VALIDATION ROW ─── */
.validation-row { padding: 1.5rem 2rem; border-top: 1px solid var(--border); }

.validation-label {
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-tertiary); display: block; margin-bottom: 0.75rem;
}

.validation-logos { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.validation-logos span {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.1em; color: var(--text-secondary);
  padding: 0.35rem 0.75rem; border: 1px solid var(--border); border-radius: 4px;
}

/* ─── CONTACT FORM ─── */
.contact-form { max-width: 560px; }

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block; font-family: var(--font-mono);
  font-size: 0.65rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%; background-color: var(--black);
  background-image: linear-gradient(180deg, rgba(245,242,237,0.04) 0%, rgba(245,242,237,0.01) 100%);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 0.85rem 1rem; color: var(--white);
  font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group select option { background: var(--black); color: var(--white); }

/* ─── TEAM GRID ─── */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: linear-gradient(180deg, rgba(245,242,237,0.04) 0%, rgba(245,242,237,0.01) 100%);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 2.5rem; transition: border-color 0.3s;
}

.team-card:hover { border-color: rgba(255,215,0,0.2); }

.team-card-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--steel); margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 1.2rem;
  color: var(--accent); border: 2px solid var(--border);
}

.team-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.3rem; }

.team-card .role {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}

.team-card p {
  font-size: 0.85rem; line-height: 1.65;
  color: var(--text-secondary);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities-grid { grid-template-columns: 1fr; }
  nav { padding: 1rem 1.5rem; }
  .page-hero { padding: 8rem 1.5rem 4rem; }
  .content-section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .services-section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .partners-section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .cta-section { padding-left: 1.5rem; padding-right: 1.5rem; }
  footer { padding-left: 1.5rem; padding-right: 1.5rem; }

  /* Mobile-optimized gradient for better text readability on hero images */
  .page-hero-bg::after {
    background: linear-gradient(to bottom, rgba(12,12,12,0.95) 0%, rgba(12,12,12,0.85) 60%, rgba(12,12,12,0.7) 100%) !important;
  }
}

/* ─── HAMBURGER BUTTON ─── */
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 0.5rem; z-index: 201;
  flex-direction: column; gap: 5px;
  flex-shrink: 0;
  position: relative;
}

.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }

  .nav-hamburger { display: flex; }

  /* Backdrop overlay */
  nav::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 199;
  }

  nav.menu-open::before {
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: min(260px, 85vw);
    height: auto;
    max-height: 100vh;
    background: rgb(10,10,10);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 3rem 2.5rem;
    gap: 2rem;
    visibility: hidden;
    transition: transform 0.4s ease, visibility 0.4s ease;
    z-index: 200;
    overflow-y: auto;
  }

  .nav-links li {
    flex: 0 0 auto;
  }

  .nav-links li a {
    display: block;
    padding: 0.75rem 0;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-links a {
    font-size: 0.95rem; letter-spacing: 0.1em;
    color: rgba(245,242,237,0.7);
    transform: translateY(10px);
    transition: color 0.3s, transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
  }

  .nav-links.open a {
    transform: translateY(0); opacity: 1;
  }

  .nav-links.open > li:nth-child(1) > a { transition-delay: 0.05s; }
  .nav-links.open > li:nth-child(2) > a { transition-delay: 0.1s; }
  .nav-links.open > li:nth-child(3) > a { transition-delay: 0.15s; }
  .nav-links.open > li:nth-child(4) > a { transition-delay: 0.2s; }
  .nav-links.open > li:nth-child(5) > a { transition-delay: 0.25s; }
  .nav-links.open > li:nth-child(6) > a { transition-delay: 0.3s; }

  /* Mobile dropdown */
  .nav-dropdown {
    position: static;
  }

  .nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

  .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu {
    position: static;
    transform: none;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease;
    min-width: unset;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 200px;
  }

  .nav-dropdown:hover .nav-chevron {
    transform: none;
  }

  .nav-dropdown.open .nav-chevron {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu li a {
    padding: 0.5rem 0 0.5rem 1.25rem !important;
    font-size: 0.85rem !important;
    color: rgba(245,242,237,0.5) !important;
    white-space: normal !important;
  }

  .nav-dropdown-menu li a:hover {
    background: none;
    color: var(--white) !important;
  }

  .nav-links .nav-cta {
    margin-top: 0.25rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 640px) {
  .footer-cols { flex-direction: column; gap: 2rem; }
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}
