/* ===== KSA Airways — Global Styles ===== */
:root {
  --color-primary: #006535;
  --color-bg: #000000;
  --color-bg-2: #050607;
  --color-text: #e8e8e8;
  --color-muted: #a8b0b0;
  --color-card: #0c0f11;
  --color-border: rgba(255, 255, 255, 0.08);
  --shadow-green: 0 0 0 / 0;
}
/* Light theme variables */
[data-theme="light"] {
  --color-bg: #f8fbfa;
  --color-bg-2: #ffffff;
  --color-text: #0f1a16;
  --color-muted: #51605a;
  --color-card: #ffffff;
  --color-border: rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--color-text);
  background: radial-gradient(1200px 800px at 70% 10%, #0a1210, var(--color-bg)) fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(0,101,53,0.95), rgba(0,101,53,0.8), rgba(0,101,53,0.3));
  backdrop-filter: saturate(120%) blur(6px);
}
.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  min-height: 80px;
}
.brand { 
  display: inline-flex; 
  align-items: center; 
  gap: 12px; 
  font-weight: 700;
  height: 60px;
}
.brand-logo { 
  height: 60px; 
  width: auto; 
  max-width: 300px; 
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0,101,53,0.8));
}
.brand-mark { color: var(--color-primary); filter: drop-shadow(0 0 8px rgba(0,101,53,0.8)); }
.brand-name { 
  font-family: Cinzel, serif; 
  letter-spacing: 0.4px; 
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-links { 
  display: none; 
  gap: 24px; 
  align-items: center; 
  height: 60px;
  margin-left: auto;
}
.nav-links a { 
  opacity: 0.9; 
  transition: opacity .2s ease, color .2s ease; 
  padding: 8px 0;
  font-weight: 500;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.nav-links a:hover { 
  opacity: 1; 
  color: #d7efe4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.nav-links .btn {
  margin-left: 16px;
  padding: 10px 20px;
  font-weight: 600;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  backdrop-filter: blur(10px);
}
.nav-links .btn:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
}
.nav-toggle { background: transparent; border: 0; display: grid; gap: 4px; position: relative; z-index: 101; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav-links { 
    display: inline-flex; 
    gap: 32px;
    margin-left: auto;
  }
  .nav-content {
    padding: 20px 0;
    min-height: 84px;
  }
  .brand {
    height: 64px;
  }
  .brand-logo {
    height: 64px;
  }
  .brand-name {
    font-size: 19px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  }
  .nav-links .btn {
    margin-left: 24px;
    padding: 12px 24px;
    font-weight: 600;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #ffffff;
    backdrop-filter: blur(10px);
  }
  .nav-links .btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    color: #ffffff;
  }
}

/* Mobile menu panel */
@media (max-width: 959px) {
  .nav-links { 
    position: fixed; 
    top: 70px; 
    right: 16px; 
    left: 16px; 
    display: none; 
    flex-direction: column; 
    gap: 0; 
    padding: 0; 
    border-radius: 16px; 
    border: 1px solid rgba(255,255,255,0.1); 
    background: rgba(0,0,0,0.95); 
    backdrop-filter: blur(16px) saturate(180%); 
    z-index: 102; 
    box-shadow: 0 12px 40px rgba(0,0,0,0.8); 
    overflow: hidden;
  }
  .nav-links.open { display: flex !important; }
  .nav-links a { 
    width: 100%; 
    text-align: left; 
    color: #ffffff; 
    font-weight: 500; 
    padding: 16px 20px; 
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background-color 0.2s ease;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a:hover { background-color: rgba(255,255,255,0.05); }
  .nav-links .btn { 
    width: calc(100% - 40px); 
    text-align: center; 
    margin: 8px 20px 16px; 
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: white;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }
  .nav-links .btn:hover { 
    background: rgba(0,101,53,0.8); 
    transform: translateY(-1px);
  }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.3); backdrop-filter: none; display: none; z-index: 100; }
  .nav-backdrop.show { display: block; }
}

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--color-border); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn-primary { background: var(--color-primary); color: white; border-color: rgba(0,0,0,0); }
.btn-outline { background: transparent; color: white; }
.btn:hover { transform: translateY(-1px); }
.glow { box-shadow: 0 0 0px rgba(0, 101, 53, 0.0); }
.btn-primary.glow:hover { box-shadow: 0 6px 24px rgba(0, 101, 53, 0.6); }

/* Magnetic button effect placeholder (JS enhances) */
.magnetic { position: relative; will-change: transform; }

/* ===== Hero Section ===== */
.hero-section { position: relative; height: 100svh; overflow: hidden; }
.hero-lottie-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; display: grid; place-items: center; }
.hero-lottie-bg-el { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0.85; }
.hero-lottie-bg-el svg { width: 100% !important; height: 100% !important; }
.hero-dim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.62) 55%, rgba(0,0,0,0.84) 100%),
  radial-gradient(80% 60% at 50% 40%, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.78) 100%);
}
.hero-lottie-wrap { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; overflow: hidden; }
.hero-lottie { width: 100%; height: 100%; max-width: none; max-height: none; transform: none; }
.hero-overlay { position: relative; z-index: 2; height: 100%; display: grid; grid-template-rows: 1fr auto; }
.hero-copy { padding-top: 40svh; text-align: center; position: relative; z-index: 2; }
/* removed layered hero background in favor of Lottie */
.headline { font-family: Cinzel, serif; font-size: clamp(32px, 5.4vw, 64px); line-height: 1.1; margin: 0 0 12px; text-shadow: 0 2px 12px rgba(0,0,0,0.65), 0 0 24px rgba(0,0,0,0.4); }
.subtext { max-width: 740px; margin: 0 auto 20px; color: var(--color-muted); font-size: clamp(14px, 2vw, 18px); text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.hero-ctas { display: flex; justify-content: center; gap: 12px; }
.scroll-indicator { display: grid; place-items: center; padding: 20px 0 24px; opacity: 0.8; }
.scroll-indicator .mouse { width: 22px; height: 34px; border-radius: 12px; border: 2px solid rgba(255,255,255,0.6); position: relative; }
.scroll-indicator .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 6px; transform: translateX(-50%); background: rgba(255,255,255,0.7); border-radius: 2px; animation: wheel 1.6s ease-in-out infinite; }
.scroll-indicator .arrow { font-size: 18px; color: rgba(255,255,255,0.7); animation: float 2s ease-in-out infinite; margin-top: 8px; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 8px); } 100% { opacity: 0; transform: translate(-50%, 14px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ===== Sections ===== */
.section { padding: 80px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 28px; }
.section-header h2 { font-family: Cinzel, serif; font-size: clamp(24px, 3.4vw, 40px); margin: 0 0 8px; }
.section-header p { color: var(--color-muted); margin: 0; }

/* Glowing divider between sections */
.glow-divider { height: 1px; width: min(1200px, 92%); margin: 0 auto; border: 0; position: relative; }
.glow-divider::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,101,53,0.5), rgba(0,0,0,0)); box-shadow: 0 0 16px rgba(0,101,53,0.35); }

/* About Timeline */
.timeline { position: relative; margin-top: 0; border-left: 2px solid var(--color-border); padding-left: 24px; }
.timeline-item { position: relative; margin: 0 0 16px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item .dot { display: none; }
.timeline-item .content { 
  background: var(--color-card); 
  border: 1px solid var(--color-border); 
  border-radius: 12px; 
  padding: 16px 20px; 
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.timeline-item .content:hover { border-color: rgba(0,101,53,.3); box-shadow: 0 4px 16px rgba(0,101,53,.1); }
.timeline-item .content h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.timeline-item .content p { margin: 0; color: var(--color-muted); line-height: 1.6; }
.timeline .tl-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.timeline .tl-icon { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(0,101,53,.12); border: 1px solid rgba(0,101,53,.3); color: #cfeee4; }

/* About revamp */
.about-content { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
@media (min-width: 960px) { 
  .about-content { 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: start; 
  }
  .timeline-item .content {
    min-height: 90px;
  }
}
.about-highlights { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.about-highlights li { 
  border: 1px solid var(--color-border); 
  background: var(--color-card); 
  border-radius: 12px; 
  padding: 20px; 
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-highlights li:hover { border-color: rgba(0,101,53,.3); box-shadow: 0 4px 16px rgba(0,101,53,.1); }
.about-highlights .badge { 
  display: inline-block; 
  font-size: 11px; 
  letter-spacing: .2px; 
  padding: 6px 12px; 
  border-radius: 999px; 
  background: rgba(0,101,53,.12); 
  border: 1px solid rgba(0,101,53,.3); 
  color: #cfeee4; 
  font-weight: 500;
  width: fit-content;
  margin: 0;
}
.about-highlights li p,
.about-highlights li span:not(.badge) {
  margin: 0;
  line-height: 1.5;
  color: var(--color-text);
}
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 24px; }
.stat-card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: 12px; padding: 16px 12px; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,101,53,.15); }
.stat-card .stat { font-size: 32px; font-weight: 800; color: #d7efe4; margin-bottom: 4px; }
.stat-card .label { font-size: 12px; color: var(--color-muted); font-weight: 500; }

/* Mobile-first About layout reflow */
@media (max-width: 959px) {
  .about-cards { order: 2; }
  .about-timeline { order: 1; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  /* Timeline mobile alignment */
  .timeline { border-left: none; padding-left: 0; margin-top: 0; }
  .timeline .dot { display: none; }
  .timeline-item { margin: 12px 0; }
  .timeline-item .content { padding: 14px 16px; }
  .timeline .tl-head { align-items: center; }
  .timeline .tl-icon { width: 24px; height: 24px; }
  .timeline-item .content h3 { font-size: 18px; }
  /* Better mobile spacing and alignment */
  .about-content { gap: 32px; margin-top: 40px; }
  .about-highlights { gap: 12px; }
  .about-highlights li { padding: 16px; gap: 10px; }
  .about-stats { margin-top: 20px; }
  .stat-card { padding: 12px 8px; }
  .stat-card .stat { font-size: 22px; }
  .stat-card .label { font-size: 10px; }
}

@media (max-width: 520px) {
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .stat-card { padding: 8px 4px; }
  .stat-card .stat { font-size: 18px; }
  .stat-card .label { font-size: 8px; }
}

/* Fleet */
.fleet-section { background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.8)); }
.aircraft-card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; transform-style: preserve-3d; transition: transform .2s ease, box-shadow .2s ease; }
.aircraft-card:hover { box-shadow: 0 14px 36px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,101,53,.25) inset; }
.aircraft-card .info { padding: 14px; }
.fleet-swiper { padding: 10px 0 36px; }
.swiper-pagination-bullet { background: rgba(255,255,255,0.4); }
.swiper-pagination-bullet-active { background: var(--color-primary); }

/* Services */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: 14px; padding: 18px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(0,101,53,.5); box-shadow: 0 10px 30px rgba(0, 101, 53, 0.25); }
.service-card h3 { margin: 10px 0 6px; }
.service-card p { margin: 0; color: var(--color-muted); }
.lottie { width: 64px; height: 64px; filter: drop-shadow(0 0 10px rgba(0,101,53,.4)); }

/* Destinations Globe */
.globe-wrap { 
  position: relative; 
  height: min(70svh, 520px); 
  margin: 12px auto 0; 
  width: min(1200px, 92%); 
  border: 1px solid var(--color-border); 
  border-radius: 16px; 
  overflow: hidden; 
  background: radial-gradient(900px 600px at 40% 20%, #0b1211, #020303); 
  display: flex;
  align-items: center;
  justify-content: center;
}
.lottie-globe { width: min(560px, 86vw); height: min(560px, 86vw); filter: drop-shadow(0 8px 32px rgba(0,101,53,.25)); }
.dotlottie-globe { 
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dotlottie-globe canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
}
/* Target the dotlottie web component directly */
dotlottie-wc.dotlottie-globe {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}
dotlottie-wc.dotlottie-globe canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

/* Responsive adjustments for globe */
@media (max-width: 768px) {
  .globe-wrap {
    height: min(55svh, 400px);
    width: 100%;
    margin: 16px 0 0;
    border-radius: 12px;
    padding: 0;
    display: block;
    position: relative;
  }
  .lottie-globe {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
  }
  .dotlottie-globe {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
  }
  .dotlottie-globe canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

@media (max-width: 480px) {
  .globe-wrap {
    height: min(50svh, 320px);
    width: 100%;
    margin: 12px 0 0;
    border-radius: 8px;
    display: block;
    position: relative;
  }
  .dotlottie-globe {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
  }
  .dotlottie-globe canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
.route-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: center; margin: 8px 0 14px; }
@media (max-width: 768px) {
  .route-chips { gap: 6px; margin: 12px 0 16px; }
  .chip { padding: 6px 10px; font-size: 14px; }
}
@media (max-width: 480px) {
  .route-chips { gap: 4px; margin: 8px 0 12px; }
  .chip { padding: 5px 8px; font-size: 12px; }
}
.chip { border: 1px solid var(--color-border); background: rgba(255,255,255,0.02); color: var(--color-text); border-radius: 999px; padding: 8px 12px; font: inherit; cursor: pointer; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.chip:hover { border-color: rgba(0,101,53,.5); box-shadow: 0 8px 20px rgba(0,101,53,.15); }
.chip.active { background: var(--color-primary); color: #fff; border-color: transparent; box-shadow: 0 12px 28px rgba(0,101,53,.35); }

/* Innovation */
.innovation-section .milestones { display: grid; gap: 16px; margin-top: 12px; }
.milestone { padding: 18px; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-card); }
.milestone h3 { margin: 0 0 6px; }
.milestone p { margin: 0; color: var(--color-muted); }

/* Travel Info */
.travel-cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 12px; }
@media (min-width: 960px) { .travel-cards { grid-template-columns: repeat(3, 1fr); } }
.travel-card { padding: 18px; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-card); }
.accordion { margin-top: 6px; }
.accordion-toggle { width: 100%; text-align: left; padding: 12px 10px; border-radius: 10px; background: #0f1416; border: 1px solid var(--color-border); color: var(--color-text); margin-top: 8px; }
.accordion-content { display: none; padding: 8px 10px 4px; color: var(--color-muted); }
.accordion-content.open { display: block; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 960px) { .contact-wrap { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.contact-info .support-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.socials { display: inline-flex; gap: 8px; margin-top: 8px; }
.social { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--color-border); }
.contact-form { background: var(--color-card); border: 1px solid var(--color-border); border-radius: 14px; padding: 18px; }
.form-row { display: grid; gap: 6px; margin-bottom: 12px; }
label { font-size: 12px; color: var(--color-muted); }
input, textarea { background: #0f1416; border: 1px solid var(--color-border); color: var(--color-text); border-radius: 10px; padding: 12px 10px; font: inherit; outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
input:focus, textarea:focus { border-color: rgba(0,101,53,.6); box-shadow: 0 0 0 4px rgba(0,101,53,0.18), 0 10px 30px rgba(0,101,53,0.12) inset; background: #0c1213; }
.form-note { color: var(--color-muted); font-size: 12px; margin-top: 8px; }
.map-embed { margin-top: 16px; border-top: 1px solid var(--color-border); }

/* Footer */
.footer { padding: 28px 0 36px; border-top: 1px solid var(--color-border); background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.6)); }
.footer-content { display: grid; gap: 10px; justify-items: center; text-align: center; }
.footer-links { display: inline-flex; gap: 12px; opacity: 0.9; }
.footer-links a:hover { opacity: 1; }

/* Highlights */
.highlights-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 12px; }
@media (min-width: 960px) { .highlights-grid { grid-template-columns: repeat(3, 1fr); } }
.highlight-card { padding: 18px; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-card); text-align: center; }
.highlight-card .metric { font-size: 24px; font-weight: 700; margin: 6px 0; color: #d7efe4; }
.highlight-card .muted { color: var(--color-muted); margin: 0; }

/* Utilities */
.tilt { perspective: 800px; }
.hidden { opacity: 0; transform: translateY(14px); }
.show { opacity: 1; transform: translateY(0); transition: all .6s cubic-bezier(.2,.65,.2,1); }

/* ===== Bottom App-style Navigation (mobile) ===== */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: env(safe-area-inset-bottom);
  z-index: 60;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0;
  background: radial-gradient(120% 120% at 50% 10%, rgba(0, 20, 12, 0.85), rgba(0,0,0,0.8));
  border-top: 1px solid var(--color-border);
  backdrop-filter: blur(10px) saturate(140%);
  padding: 8px max(8px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
}
.bn-item { display: grid; justify-items: center; align-items: center; gap: 4px; color: #bcd5cd; padding: 8px 0; }
.bn-item .bn-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(0, 101, 53, 0.1); border: 1px solid rgba(0, 101, 53, 0.25); box-shadow: inset 0 0 30px rgba(0, 101, 53, 0.15); }
.bn-item.active .bn-icon { background: var(--color-primary); color: white; border-color: rgba(0,0,0,0); box-shadow: 0 8px 24px rgba(0, 101, 53, 0.45); }
.bn-item .bn-label { font-size: 11px; letter-spacing: 0.2px; }

@media (min-width: 960px) {
  .bottom-nav { display: none; }
}

/* Mobile spacing polish */
@media (max-width: 959px) {
  .section { padding-bottom: 100px; }
  .contact-section .map-embed { margin-bottom: 80px; }
  .brand-logo { height: 48px; max-width: 200px; }
  .brand-name { font-size: 16px; }
}

/* Mobile hero adjustments: move Lottie down and remove overlay */
@media (max-width: 900px) {
  .hero-dim { display: none; }
  .hero-copy { padding-top: 16svh; }
  .hero-lottie-bg-el { top: 52svh !important; height: 42svh !important; inset: unset; left: 0; right: 0; bottom: auto !important; }
  .hero-lottie-bg-el svg { width: 100% !important; height: 100% !important; }
}

/* Theme toggle button */



.show { opacity: 1; transform: translateY(0); transition: all .6s cubic-bezier(.2,.65,.2,1); }

/* ===== Bottom App-style Navigation (mobile) ===== */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: env(safe-area-inset-bottom);
  z-index: 60;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0;
  background: radial-gradient(120% 120% at 50% 10%, rgba(0, 20, 12, 0.85), rgba(0,0,0,0.8));
  border-top: 1px solid var(--color-border);
  backdrop-filter: blur(10px) saturate(140%);
  padding: 8px max(8px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
}
.bn-item { display: grid; justify-items: center; align-items: center; gap: 4px; color: #bcd5cd; padding: 8px 0; }
.bn-item .bn-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(0, 101, 53, 0.1); border: 1px solid rgba(0, 101, 53, 0.25); box-shadow: inset 0 0 30px rgba(0, 101, 53, 0.15); }
.bn-item.active .bn-icon { background: var(--color-primary); color: white; border-color: rgba(0,0,0,0); box-shadow: 0 8px 24px rgba(0, 101, 53, 0.45); }
.bn-item .bn-label { font-size: 11px; letter-spacing: 0.2px; }

@media (min-width: 960px) {
  .bottom-nav { display: none; }
}

/* Mobile spacing polish */
@media (max-width: 959px) {
  .section { padding-bottom: 100px; }
  .contact-section .map-embed { margin-bottom: 80px; }
  .brand-logo { height: 48px; max-width: 200px; }
  .brand-name { font-size: 16px; }
}

/* Mobile hero adjustments: move Lottie down and remove overlay */
@media (max-width: 900px) {
  .hero-dim { display: none; }
  .hero-copy { padding-top: 16svh; }
  .hero-lottie-bg-el { top: 52svh !important; height: 42svh !important; inset: unset; left: 0; right: 0; bottom: auto !important; }
  .hero-lottie-bg-el svg { width: 100% !important; height: 100% !important; }
}

/* Theme toggle button */
.theme-toggle { margin-left: 8px; }

/* Desktop hero adjustments: move text down */
@media (min-width: 901px) {
  .hero-copy { padding-top: 65svh; }
}


