/* =========================================
   Summit Air Solutions — Client Demo Theme
   PipelineStack design system
   ========================================= */

:root {
  --bg: #FAFAFA;
  --bg-alt: #F2F0EC;
  --fg: #0A0A0A;
  --fg-muted: #6B6B6B;
  --accent: #F5A623;
  --accent-dark: #C4841B;
  --accent-light: #FEF3DC;
  --surface: #FFFFFF;
  --border: rgba(10,10,10,0.08);
  --success: #22c55e;
  --error: #ef4444;
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Navigation ─────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,250,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  background: var(--fg);
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.15s, transform 0.1s;
}
.nav-cta:hover { background: #333; transform: translateY(-1px); }

/* ── Hero ───────────────────────────────────── */
.hero {
  position: relative;
  padding: 90px 32px 100px;
  overflow: hidden;
  text-align: center;
}
.hero-bg-glow {
  position: absolute;
  top: -80px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245,166,35,0.14) 0%, transparent 68%);
  pointer-events: none;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,10,10,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--fg);
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--fg);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(245,166,35,0.3);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245,166,35,0.4);
}
.btn-secondary {
  background: var(--surface);
  color: var(--fg);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.hero-social-proof {
  margin-top: 48px;
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--fg);
  display: block;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ── Trusted By ──────────────────────────────── */
.trusted {
  padding: 48px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trusted-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.trusted-logos {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.trusted-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg-muted);
  opacity: 0.5;
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
}
.trusted-logo:hover { opacity: 0.8; }

/* ── Services ────────────────────────────────── */
.section { padding: 80px 32px; }
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
}
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.service-card p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
.service-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 16px;
}

/* ── How It Works ────────────────────────────── */
.steps {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step {
  text-align: center;
}
.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--fg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 18px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.step p {
  color: var(--fg-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}
.step-connector {
  display: none;
}

/* ── Testimonials ─────────────────────────────── */
.testimonials-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
  position: absolute;
  top: 16px;
  left: 24px;
  opacity: 0.4;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.star {
  width: 16px;
  height: 16px;
}
.testimonial-card blockquote {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--fg);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-dark);
}
.author-name {
  font-weight: 600;
  font-size: 0.88rem;
}
.author-meta {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 1px;
}

/* ── Booking Section ─────────────────────────── */
.booking-section {
  background: var(--fg);
  color: #fff;
  padding: 80px 32px;
}
.booking-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.booking-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.booking-info p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.booking-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.booking-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
}
.booking-check {
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.booking-check svg { width: 10px; height: 10px; }

/* ── Booking Form ────────────────────────────── */
.booking-form-wrap {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.booking-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.booking-form-wrap > p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 11px 14px;
  color: #fff;
  font-size: 0.92rem;
  font-family: var(--font-body);
  transition: border-color 0.15s, background 0.15s;
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-select option { background: #1a1a1a; color: #fff; }
.form-textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-book {
  width: 100%;
  background: var(--accent);
  color: var(--fg);
  padding: 14px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  margin-top: 4px;
}
.btn-book:hover { background: var(--accent-dark); transform: translateY(-1px); }
.form-success {
  display: none;
  text-align: center;
  padding: 20px;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(34,197,94,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.form-success h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-success p { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.form-error {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: #fca5a5;
  font-size: 0.85rem;
  margin-bottom: 14px;
  display: none;
}
.form-error.show { display: block; }

/* ── AI Receptionist ─────────────────────────── */
.ai-section { padding: 80px 32px; }
.ai-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ai-chat-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.ai-chat-header {
  background: var(--fg);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-chat-avatar {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-chat-name {
  font-weight: 600;
  font-size: 0.92rem;
}
.ai-chat-status {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.ai-chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
}
.chat-user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--fg);
  border-bottom-right-radius: 4px;
}
.chat-ai {
  align-self: flex-start;
  background: var(--bg-alt);
  color: var(--fg);
  border-bottom-left-radius: 4px;
}
.chat-time {
  font-size: 0.72rem;
  color: var(--fg-muted);
  margin-top: -6px;
}
.ai-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.ai-content p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.ai-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ai-feature {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ai-feature-icon {
  width: 28px;
  height: 28px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-feature-icon svg { width: 14px; height: 14px; }
.ai-feature-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.ai-feature-text span {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

/* ── Footer ───────────────────────────────────── */
.footer {
  background: var(--fg);
  color: rgba(255,255,255,0.5);
  padding: 48px 32px 32px;
  font-size: 0.88rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand-icon {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 6px;
}
.footer-brand-sub { color: rgba(255,255,255,0.4); font-size: 0.82rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── Mobile Responsive ───────────────────────── */
@media (max-width: 768px) {
  .nav-inner { padding: 14px 20px; }
  .nav-links { display: none; }
  .hero { padding: 64px 20px 72px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-social-proof { gap: 24px; }
  .section { padding: 60px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .booking-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .ai-inner { grid-template-columns: 1fr; gap: 40px; }
  .ai-features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .trusted-logos { gap: 28px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
}