/* ============================================================
   AerialPhotonics - Main Stylesheet
   Color Palette:
   --navy:   #0A1628
   --blue:   #0066CC
   --accent: #00AAFF
   --light:  #F4F7FC
   --white:  #FFFFFF
   --gray:   #6B7280
   --dark:   #1E293B
   ============================================================ */

:root {
  --navy: #0A1628;
  --blue: #0066CC;
  --accent: #00AAFF;
  --light: #F4F7FC;
  --white: #FFFFFF;
  --gray: #6B7280;
  --dark: #1E293B;
  --border: #E2E8F0;
  --success: #10B981;
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', 'Inter', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

/* ---- Typography ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark .section-title { color: var(--white); }
.section--dark .section-subtitle { color: rgba(255,255,255,0.7); }
.section--light { background: var(--light); }
.text-center { text-align: center; }
.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; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,102,204,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-dark:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

/* ---- Navigation ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
}
#navbar.scrolled {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 0.6rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img {
  height: 48px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo-text span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-cta { margin-left: 0.75rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_banner.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.45;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.5) 60%, rgba(0,102,204,0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,170,255,0.15);
  border: 1px solid rgba(0,170,255,0.35);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 580px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  position: absolute;
  bottom: 3rem;
  right: 0;
  left: 0;
  z-index: 2;
}
.hero-stats-inner {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
}
.hero-stat {
  text-align: right;
  border-right: 2px solid rgba(0,170,255,0.4);
  padding-right: 1.5rem;
}
.hero-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-heading);
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* ---- Service Cards ---- */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(0,102,204,0.2);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(0,102,204,0.1), rgba(0,170,255,0.1));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}
.service-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.65; }
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1.25rem;
}
.service-card .card-link:hover { gap: 0.7rem; color: var(--accent); }

/* ---- Industry Tabs ---- */
.industry-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.tab-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--gray);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn:hover, .tab-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.tab-panel-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tab-panel-img img { width: 100%; height: 380px; object-fit: cover; }
.tab-panel-content h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.tab-panel-content p { color: var(--gray); margin-bottom: 1.25rem; }
.feature-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.75rem; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--dark);
}
.feature-item .check {
  width: 20px; height: 20px;
  background: rgba(0,102,204,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: linear-gradient(135deg, var(--navy), #0D2040);
  padding: 3.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 1rem; }
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Process Steps ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
}
.step-item { text-align: center; position: relative; }
.step-num {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0,102,204,0.4);
}
.step-item h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.step-item p { font-size: 0.875rem; color: var(--gray); }

/* ---- Project Cards ---- */
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.project-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.project-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.05); }
.project-card-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(10,22,40,0.85);
  color: var(--accent);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.project-card-body { padding: 1.5rem; }
.project-card-body h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.project-card-body p { font-size: 0.875rem; color: var(--gray); margin-bottom: 1rem; }

/* ---- Quote Form ---- */
.quote-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0D2040 100%);
  padding: 5rem 0;
}
.quote-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.quote-info h2 { color: var(--white); font-size: 2rem; margin-bottom: 1rem; }
.quote-info p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.quote-features { display: flex; flex-direction: column; gap: 1rem; }
.quote-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.quote-feature-icon {
  width: 40px; height: 40px;
  background: rgba(0,170,255,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.quote-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.quote-form h3 { font-size: 1.35rem; margin-bottom: 1.75rem; color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.form-group label .req { color: var(--blue); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}
.form-control::placeholder { color: #9CA3AF; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; margin-top: 0.5rem; justify-content: center; }

/* ---- Contact Info (Bot Protected) ---- */
.contact-reveal-wrapper {
  display: inline-block;
  position: relative;
}
.contact-protected {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,102,204,0.08);
  border: 1.5px dashed rgba(0,102,204,0.3);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  user-select: none;
}
.contact-protected:hover {
  background: rgba(0,102,204,0.15);
  border-color: var(--blue);
}
.contact-revealed {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark);
  font-size: 0.95rem;
}
.contact-revealed a { color: var(--blue); font-weight: 600; }
.contact-revealed.show { display: inline-flex; }

/* Bot challenge modal */
.bot-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.bot-modal-overlay.open { display: flex; }
.bot-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.bot-modal h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.bot-modal p { color: var(--gray); font-size: 0.9rem; margin-bottom: 1.75rem; }
.bot-challenge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.bot-challenge input {
  width: 80px;
  text-align: center;
  padding: 0.6rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  outline: none;
}
.bot-challenge input:focus { border-color: var(--blue); }
.bot-error { color: #EF4444; font-size: 0.85rem; margin-top: -0.75rem; margin-bottom: 1rem; display: none; }
.bot-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--gray);
}

/* ---- About / Team ---- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-img img { width: 100%; height: 480px; object-fit: cover; }
.cert-badge {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.cert-badge .cert-icon { font-size: 2rem; margin-bottom: 0.25rem; }
.cert-badge .cert-text { font-size: 0.75rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.about-content .section-label { margin-bottom: 0.5rem; }
.about-content h2 { font-size: 2rem; margin-bottom: 1.25rem; }
.about-content p { color: var(--gray); margin-bottom: 1rem; line-height: 1.75; }
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--light);
  border-radius: var(--radius);
}
.highlight-icon {
  font-size: 1.25rem;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,102,204,0.1);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.highlight-text strong { display: block; font-size: 0.9rem; color: var(--navy); }
.highlight-text span { font-size: 0.8rem; color: var(--gray); }

/* ---- Technology Section ---- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tech-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}
.tech-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,170,255,0.3);
  transform: translateY(-3px);
}
.tech-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.tech-card h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.5rem; }
.tech-card p { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.6; }

/* ---- Footer ---- */
footer {
  background: #060E1A;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-brand .footer-logo img { height: 40px; width: auto; }
.footer-brand .footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}
.footer-brand .footer-logo-text span { color: var(--accent); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-col h5 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
}
.footer-contact-item .icon { color: var(--accent); margin-top: 2px; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0D2040 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero_banner.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.testimonial-role { font-size: 0.8rem; color: var(--gray); }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 100%);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: 2rem; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-banner .btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
  font-weight: 700;
}
.cta-banner .btn-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ---- YouTube Embed ---- */
.video-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.video-embed-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  gap: 1rem;
  cursor: pointer;
}
.video-placeholder .play-btn {
  width: 72px; height: 72px;
  background: rgba(0,170,255,0.2);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: var(--transition);
}
.video-placeholder:hover .play-btn {
  background: var(--accent);
  transform: scale(1.1);
}

/* ---- 3D Viewer ---- */
.viewer-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.viewer-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.viewer-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A1628, #0D2040);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  gap: 0.75rem;
  text-align: center;
  padding: 2rem;
}
.viewer-placeholder .viewer-icon { font-size: 3rem; color: var(--accent); }
.viewer-placeholder h4 { font-size: 1.1rem; }
.viewer-placeholder p { color: rgba(255,255,255,0.6); font-size: 0.875rem; }

/* ---- Alerts ---- */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #065F46; }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #991B1B; }

/* ---- Animations ---- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .tab-panel.active { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .quote-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { display: none; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,22,40,0.98);
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 999;
  }
  .nav-links.open a { font-size: 1.25rem; }
  .tech-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Interactive pricing estimator
   ============================================================ */
body.estimator-open { overflow: hidden; }
.estimator-trigger { margin-left: 0.65rem; background: transparent; border: 1px solid currentColor; color: inherit; }
.estimator-trigger:hover { background: rgba(0,170,255,0.12); border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.nav-cta .estimator-trigger { display: none; }
.estimator-overlay { position: fixed; inset: 0; z-index: 10000; display: flex; justify-content: flex-end; background: rgba(2,11,24,.72); backdrop-filter: blur(7px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.estimator-overlay.open { opacity: 1; visibility: visible; }
.estimator-panel { width: min(1120px, 96vw); height: 100%; overflow-y: auto; background: #f5f8fc; color: var(--navy); box-shadow: -20px 0 70px rgba(0,0,0,.28); transform: translateX(35px); transition: transform .3s ease; }
.estimator-overlay.open .estimator-panel { transform: translateX(0); }
.estimator-header { position: sticky; top: 0; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; padding: 1.35rem 2rem; color: white; background: linear-gradient(120deg,#06172d,#0c3157); border-bottom: 1px solid rgba(255,255,255,.12); }
.estimator-eyebrow { display: block; margin-bottom: .3rem; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.estimator-header h2 { margin: 0; color: white; font-size: clamp(1.45rem,3vw,2.15rem); }
.estimator-header p { margin: .35rem 0 0; color: rgba(255,255,255,.72); }
.estimator-close { flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: white; background: rgba(255,255,255,.08); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.estimator-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(350px,.85fr); min-height: calc(100% - 105px); }
.estimator-controls { padding: 2rem; }
.estimator-control-block { padding: 1.25rem 1.35rem; margin-bottom: 1rem; background: white; border: 1px solid #dce5ef; border-radius: 14px; box-shadow: 0 8px 25px rgba(8,33,60,.05); }
.estimator-control-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: .8rem; }
.estimator-control-heading label, .deliverables-fieldset legend { font-weight: 800; color: #102a46; }
.estimator-control-heading strong { color: #0074b6; }
.estimator-range { width: 100%; accent-color: #009fe3; cursor: pointer; }
.range-labels, .control-note { display: flex; justify-content: space-between; gap: .5rem; color: #6b7e91; font-size: .72rem; }
.control-note { margin-top: .8rem; padding-top: .7rem; border-top: 1px solid #e7edf4; }
.control-note span:first-child { color: #0074b6; font-weight: 800; }
.deliverables-fieldset { padding: 0; margin: 1.5rem 0 0; border: 0; }
.deliverables-fieldset legend { margin-bottom: .85rem; font-size: 1.05rem; }
.deliverables-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.deliverable-option { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; background: white; border: 1px solid #dce5ef; border-radius: 12px; cursor: pointer; transition: border .2s ease, box-shadow .2s ease, opacity .2s ease; }
.deliverable-option:hover { border-color: #7bcaf1; box-shadow: 0 6px 18px rgba(0,126,187,.09); }
.deliverable-option:has(input:checked) { border-color: #00aaff; background: #f0faff; }
.deliverable-option input { margin-top: .2rem; accent-color: #008fd3; }
.deliverable-option span { min-width: 0; }
.deliverable-option b, .deliverable-option small { display: block; }
.deliverable-option b { color: #102a46; font-size: .88rem; }
.deliverable-option small { margin-top: .22rem; color: #75879a; font-size: .72rem; line-height: 1.35; }
.deliverable-option em { padding: .12rem .35rem; border-radius: 50px; color: #005d8f; background: #ccefff; font-size: .58rem; font-style: normal; text-transform: uppercase; }
.deliverable-option.locked, .deliverable-option.is-disabled { cursor: not-allowed; opacity: .58; }
.resolution-explainer { margin-top: 1.3rem; padding: 1rem 1.2rem; color: white; background: #102a46; border-radius: 12px; }
.resolution-explainer > div:first-child { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; }
.resolution-explainer span { color: #a9c2d8; }
.resolution-track { height: 5px; margin-top: .8rem; overflow: hidden; background: rgba(255,255,255,.13); border-radius: 10px; }
.resolution-track span { display: block; height: 100%; min-width: 2%; background: linear-gradient(90deg,#00aaff,#70e1ff); transition: width .25s ease; }
.estimator-results { padding: 2rem; color: white; background: #081b31; }
.result-label { color: #84a4c0; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.estimate-total { margin-top: .25rem; font-family: var(--font-display); font-size: clamp(2.8rem,6vw,4.7rem); font-weight: 900; letter-spacing: -.04em; }
.estimate-per-acre { color: #67d3ff; font-weight: 700; }
.tier-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tier-row span { padding: .35rem .6rem; border: 1px solid rgba(103,211,255,.25); border-radius: 100px; color: #a7e7ff; background: rgba(0,170,255,.08); font-size: .68rem; font-weight: 700; }
.baseline-copy { margin: .7rem 0 1.4rem; color: #a9bdd0; font-size: .8rem; }
.breakdown-bar { display: flex; height: 10px; overflow: hidden; border-radius: 20px; background: rgba(255,255,255,.08); }
.breakdown-segment.capture,.breakdown-legend i.capture { background: #00aaff; }.breakdown-segment.processing,.breakdown-legend i.processing { background:#47d7ac; }.breakdown-segment.mobilization,.breakdown-legend i.mobilization { background:#ffc857; }.breakdown-segment.addons,.breakdown-legend i.addons { background:#a889ff; }
.breakdown-legend { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin-top: .7rem; color: #9bb1c5; font-size: .65rem; }
.breakdown-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.breakdown-legend i { width: 7px; height: 7px; border-radius: 50%; }
.breakdown-legend .discount { color: #7fdea9; }
.estimate-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.5rem 0; }
.estimate-metrics div { padding: .8rem; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; background: rgba(255,255,255,.035); }
.estimate-metrics span, .estimate-metrics strong { display: block; }
.estimate-metrics span { color: #83a0b9; font-size: .66rem; text-transform: uppercase; }
.estimate-metrics strong { margin-top: .2rem; font-size: 1rem; }
.estimate-warning { margin-bottom: 1rem; padding: .75rem .85rem; border: 1px solid rgba(255,179,71,.35); border-radius: 8px; color: #ffd49a; background: rgba(255,153,0,.09); font-size: .75rem; line-height: 1.45; }
.save-estimate-form { padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,.1); }
.save-estimate-form h3 { margin: 0 0 .7rem; color: white; font-size: 1rem; }
.save-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .6rem; }
.save-fields input { min-width: 0; padding: .7rem .75rem; border: 1px solid rgba(255,255,255,.16); border-radius: 7px; color: white; background: rgba(255,255,255,.07); }
.save-fields input::placeholder { color: #8399ad; }
.save-estimate-form .btn { justify-content: center; margin: .25rem .35rem .25rem 0; font-size: .78rem; }
.save-estimate-form .btn-outline-dark { color: #c9d9e8; border-color: #52708b; }
.estimate-disclaimer { margin: .85rem 0; color: #829ab0; font-size: .65rem; line-height: 1.5; }
.estimator-trust { display: flex; flex-wrap: wrap; gap: .7rem; color: #8fb6cf; font-size: .65rem; font-weight: 700; }
@media (max-width: 900px) { .estimator-layout { grid-template-columns: 1fr; }.estimator-results { min-height: auto; } }
@media (max-width: 600px) { .estimator-panel { width: 100vw; }.estimator-header,.estimator-controls,.estimator-results { padding: 1.15rem; }.estimator-header p { display:none; }.deliverables-grid,.save-fields { grid-template-columns: 1fr; }.resolution-explainer > div:first-child { flex-direction:column; gap:.25rem; }.estimator-trigger { margin: .5rem 0 0; }.hero-actions .estimator-trigger { margin:0; }.estimate-total { font-size:3rem; } }

/* Estimator v2 — centered, compact and visual */
.estimator-overlay { align-items: center; justify-content: center; padding: 24px; background: rgba(3,13,27,.78); }
.estimator-panel { width: min(940px,96vw); height: auto; max-height: calc(100vh - 48px); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; overflow-y: auto; box-shadow: 0 28px 90px rgba(0,0,0,.45); transform: translateY(18px) scale(.985); }
.estimator-overlay.open .estimator-panel { transform: translateY(0) scale(1); }
.estimator-header { position: relative; align-items: center; min-height: 86px; padding: 1.1rem 1.5rem; border-radius: 21px 21px 0 0; background: #0a213a; }
.estimator-header h2 { font-size: 1.65rem; letter-spacing: -.02em; }
.estimator-eyebrow { margin: 0 0 .15rem; font-size: .62rem; }
.estimator-layout { grid-template-columns: 1.08fr .92fr; min-height: 0; }
.estimator-controls { padding: 1.4rem; background: #f4f7fb; }
.estimator-control-block { padding: 1rem 1.1rem; margin-bottom: 1.15rem; border: 0; box-shadow: 0 5px 20px rgba(7,34,62,.07); }
.estimator-control-heading { margin-bottom: .85rem; }
.acre-input-wrap { display: flex; align-items: center; overflow: hidden; border: 1px solid #cbd8e5; border-radius: 9px; background: #f7fbff; }
.acre-input-wrap input { width: 92px; padding: .5rem .45rem .5rem .65rem; border: 0; outline: 0; color: #08233f; background: transparent; font: 800 1rem var(--font-body); text-align: right; }
.acre-input-wrap span { padding-right: .65rem; color: #6b8094; font-size: .72rem; font-weight: 700; }
.estimator-range { height: 8px; }
.acreage-labels { margin-top: .55rem; }
.deliverables-fieldset legend { margin-bottom: .7rem; font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; color: #687d91; }
.deliverables-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; }
.deliverable-option { position: relative; min-height: 88px; flex-direction: column; justify-content: center; align-items: center; gap: .35rem; padding: .7rem .45rem; text-align: center; border: 1px solid #dce5ee; box-shadow: 0 4px 14px rgba(7,34,62,.045); }
.deliverable-option input { position: absolute; top: .55rem; right: .55rem; margin: 0; }
.deliverable-option b { font-size: .75rem; }
.option-icon { color: #7891a8; font-size: 1.35rem; line-height: 1; }
.deliverable-option:has(input:checked) .option-icon { color: #009fe3; }
.deliverable-option:has(input:checked) { border-color: #48bdeb; background: linear-gradient(145deg,#f5fcff,#e9f8ff); box-shadow: 0 5px 18px rgba(0,159,227,.11); }
.estimator-results { padding: 1.4rem; background: linear-gradient(155deg,#071a30,#0a2845); }
.estimate-total { margin-top: .15rem; font-size: clamp(2.9rem,6vw,4.1rem); }
.capture-chip { display: flex; justify-content: space-between; align-items: center; margin: 1rem 0; padding: .65rem .8rem; border: 1px solid rgba(103,211,255,.18); border-radius: 9px; color: #9bdff9; background: rgba(0,170,255,.07); font-size: .72rem; }
.capture-chip strong { color: white; }
.breakdown-bar { height: 13px; }
.breakdown-legend { min-height: 42px; }
.estimate-metrics { grid-template-columns: repeat(3,1fr); margin: .9rem 0 1rem; }
.estimate-metrics div { text-align: center; }
.estimate-metrics span { font-size: .58rem; }
.save-estimate-form { padding-top: .85rem; }
.save-estimate-form h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #95acc1; }
.save-fields input { padding: .62rem .7rem; }
.estimate-disclaimer { margin-bottom: 0; text-align: center; }
@media (max-width: 800px) { .estimator-overlay { padding: 0; }.estimator-panel { width: 100vw; max-height: 100vh; min-height: 100vh; border: 0; border-radius: 0; }.estimator-header { position: sticky; border-radius: 0; }.estimator-layout { grid-template-columns: 1fr; }.estimator-controls,.estimator-results { padding: 1.1rem; } }
@media (max-width: 480px) { .deliverables-grid { grid-template-columns: repeat(2,1fr); }.save-fields { grid-template-columns: 1fr; }.estimator-trigger { margin-left: 0; }.estimate-metrics { gap: .4rem; } }
