/* ===== DEUCALION AVIATION USA LLC - Main Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== CSS Variables ===== */
:root {
  --primary: #0c1b33;
  --primary-light: #162b4a;
  --primary-dark: #070f1e;
  --accent: #c9a84c;
  --accent-light: #dcc46a;
  --accent-dark: #a8892e;
  --accent-rgb: 201, 168, 76;
  --text: #1a1a2e;
  --text-light: #6b7280;
  --text-muted: #9ca3af;
  --bg: #ffffff;
  --bg-alt: #f4f2ed;
  --bg-warm: #faf8f4;
  --footer-bg: #0a1628;
  --border: #e5e3dd;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

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

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-warm {
  background: var(--bg-warm);
}

.section-dark {
  background: var(--primary);
  color: #fff;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
  position: relative;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  margin-right: 12px;
  vertical-align: middle;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  font-weight: 400;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  letter-spacing: 0.3px;
}

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

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

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

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

.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-accent-simple {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  gap: 6px;
}

.btn-accent-simple:hover {
  gap: 12px;
  color: var(--accent-light);
}

/* ===== Header / Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(12, 27, 51, 0.97);
  padding: 10px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.15);
  backdrop-filter: blur(20px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3rem;
  color: #fff;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-serif);
}

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

.nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

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

.nav a:hover {
  color: #fff;
}

.nav a:hover::after {
  width: 100%;
}

.nav a.active {
  color: var(--accent);
}

.nav .btn-primary {
  color: var(--primary-dark);
  padding: 10px 24px;
  font-size: 0.85rem;
}

.nav .btn-primary::after { display: none; }

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

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
  border-radius: 2px;
}

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

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

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

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(22, 43, 74, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(12, 27, 51, 1) 0%, transparent 40%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(201, 168, 76, 0.3);
  border-radius: 50%;
}

.hero-particle:nth-child(1) { top: 15%; left: 10%; animation: float-particle 8s infinite; }
.hero-particle:nth-child(2) { top: 30%; left: 60%; animation: float-particle 11s infinite 1s; width: 6px; height: 6px; }
.hero-particle:nth-child(3) { top: 70%; left: 20%; animation: float-particle 9s infinite 2s; }
.hero-particle:nth-child(4) { top: 50%; left: 80%; animation: float-particle 12s infinite 0.5s; width: 3px; height: 3px; }
.hero-particle:nth-child(5) { top: 85%; left: 50%; animation: float-particle 10s infinite 1.5s; width: 5px; height: 5px; }
.hero-particle:nth-child(6) { top: 20%; left: 40%; animation: float-particle 13s infinite 3s; }
.hero-particle:nth-child(7) { top: 60%; left: 5%; animation: float-particle 9s infinite 0.8s; width: 3px; height: 3px; }
.hero-particle:nth-child(8) { top: 10%; left: 85%; animation: float-particle 11s infinite 2.2s; }

@keyframes float-particle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-30px) translateX(10px); opacity: 0.6; }
  50% { transform: translateY(-10px) translateX(-15px); opacity: 0.4; }
  75% { transform: translateY(-40px) translateX(5px); opacity: 0.7; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 120px 0 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

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

.hero h1 .highlight {
  color: var(--accent);
  font-style: italic;
}

.hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat h3 {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Diagonal Divider ===== */
.divider {
  position: relative;
  height: 80px;
  margin-top: -80px;
  z-index: 3;
}

.divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  fill: var(--bg);
}

/* ===== Services Section ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent);
}

.service-card:hover .service-icon svg path {
  stroke: var(--primary-dark) !important;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ===== About Preview Section ===== */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-content {
  text-align: center;
  color: #fff;
  padding: 40px;
}

.about-image-content .big-number {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.about-image-content p {
  font-size: 1rem;
  opacity: 0.8;
  margin-top: 8px;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text > p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.about-feature svg {
  flex-shrink: 0;
}

/* ===== Values Section ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.value-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.value-card .value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.value-card h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.value-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.cta-content .btn {
  font-size: 1rem;
  padding: 16px 40px;
}

/* ===== Footer ===== */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
}

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

/* ===== Page Header (Inner Pages) ===== */
.page-header {
  position: relative;
  padding: 160px 0 80px;
  background: var(--primary-dark);
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(22, 43, 74, 0.4) 0%, transparent 50%);
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: #fff;
  margin-bottom: 12px;
}

.page-header .breadcrumb {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.page-header .breadcrumb a {
  color: var(--accent);
}

.page-header .breadcrumb a:hover {
  color: var(--accent-light);
}

.page-header .breadcrumb span {
  color: rgba(255,255,255,0.5);
}

/* ===== About Page ===== */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mission-card {
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: var(--transition);
}

.mission-card:hover {
  box-shadow: var(--shadow-md);
}

.mission-card .icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

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

.mission-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item .year {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}

.timeline-item h4 {
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== Services Page ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-content h2 {
  margin-bottom: 16px;
}

.service-detail-content p {
  color: var(--text-light);
  margin-bottom: 12px;
}

.service-detail-list {
  margin-top: 20px;
}

.service-detail-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.service-detail-icon {
  width: 80px;
  height: 80px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.industry-tag {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  color: var(--text-light);
}

.industry-tag:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ===== Contact Page ===== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-info-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--accent-rgb), 0.2);
}

.contact-info-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-info-card a:hover {
  color: var(--accent);
}

.contact-form-wrap {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-warm);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
  background: var(--bg);
}

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

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

/* ===== Privacy & Terms Pages ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content section {
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  margin: 12px 0 20px;
  padding-left: 24px;
  color: var(--text-light);
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-content ul li {
  list-style: disc;
}

.legal-content ol li {
  list-style: decimal;
}

.legal-content strong {
  color: var(--text);
}

.legal-content .legal-date {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  display: block;
}

.legal-nav {
  position: sticky;
  top: 100px;
}

.legal-nav h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-family: var(--font-sans);
}

.legal-nav a {
  display: block;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.legal-nav a:hover {
  color: var(--accent);
  padding-left: 4px;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Page Not Found ===== */
.not-found {
  text-align: center;
  padding: 120px 0;
}

.not-found h1 {
  font-size: 8rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}

.not-found p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ===== Map Placeholder ===== */
.map-placeholder {
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 24px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .about-preview {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 80px 40px 40px;
    gap: 20px;
    transition: var(--transition);
    align-items: flex-start;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }

  .nav.open {
    right: 0;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-stat {
    flex: 1;
    min-width: 100px;
  }

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

  .about-preview {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 280px;
    order: -1;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

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

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 28px;
  }

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

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

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

  .section {
    padding: 60px 0;
  }

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

  .hero-actions {
    flex-direction: column;
  }

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

@media (max-width: 480px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat h3 {
    font-size: 1.5rem;
  }

  .page-header {
    padding: 140px 0 60px;
  }
}
