:root {
  --ink: #111827;
  --carbon: #08090b;
  --graphite: #15171b;
  --steel: #c9ccd1;
  --gold: #c99a36;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f6f8fb;
  --sky: #0ea5e9;
  --sky-dark: #0369a1;
  --cz-red: #b91c1c;
}

body {
  color: #f8fafc;
  background:
    linear-gradient(90deg, rgba(8,9,11,.72), rgba(8,9,11,.38) 42%, rgba(8,9,11,.04)),
    linear-gradient(0deg, rgba(8,9,11,.12), rgba(8,9,11,.12)),
    url("../img/hero-drone-mountains.png");
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
  background-color: #08090b;
  background-attachment: scroll;
  min-height: 100vh;
}

.brand-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(8, 9, 11, .92), rgba(8, 9, 11, .5));
  border-bottom: 0;
  backdrop-filter: blur(12px);
  padding-top: 1.45rem;
  padding-bottom: 1rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  padding-block: .15rem;
}

.brand-logo {
  width: min(350px, 58vw);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45));
}

.brand-nav .nav-link {
  position: relative;
  color: #f4f4f5;
  text-transform: uppercase;
  letter-spacing: .18rem;
  font-size: .86rem;
  font-weight: 600;
  padding-inline: 1.05rem !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.65);
}

.brand-nav .nav-link:hover,
.brand-nav .nav-link:focus,
.brand-nav .nav-link.active {
  color: #ffffff;
}

.brand-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  bottom: .18rem;
  height: 2px;
  background: var(--gold);
}

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

.brand-footer {
  background: var(--carbon);
  border-top: 1px solid rgba(201, 154, 54, .35);
}

.brand-footer .text-muted {
  color: #9ca3af !important;
}

.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
  font-weight: 700;
}

.btn-primary:hover {
  background: #d9ad4a;
  border-color: #d9ad4a;
  color: #111;
}

.hero {
  background: transparent;
  min-height: 575px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(201, 154, 54, .35);
  padding-top: 7.5rem;
}

main > section:first-child:not(.hero),
main > .admin-shell {
  padding-top: 7.5rem !important;
}

.hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.45rem);
  line-height: 1.38;
  letter-spacing: .32rem;
  color: #f8fafc;
  text-transform: uppercase;
  font-weight: 400 !important;
  text-shadow: 0 3px 18px rgba(0,0,0,.75);
}

.hero .lead {
  color: #d1d5db !important;
  max-width: 540px;
  text-shadow: 0 2px 10px rgba(0,0,0,.65);
}

.hero .btn-outline-dark {
  color: #f8fafc;
  border-color: rgba(248, 250, 252, .72);
}

.wizard-panel .btn-outline-dark,
.estimate-box .btn-outline-dark {
  color: #f8fafc;
  border-color: rgba(248, 250, 252, .72);
}

.wizard-panel .btn-outline-dark:hover,
.estimate-box .btn-outline-dark:hover,
.hero .btn-outline-dark:hover {
  color: #111;
  background: #f8fafc;
  border-color: #f8fafc;
}

.hero .btn-light {
  background: rgba(255, 255, 255, .08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, .24) !important;
}

.brand-eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .42rem;
  font-size: 1rem;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0,0,0,.75);
}

.hero-actions {
  margin-top: 1.5rem;
}

.hero-process {
  background: rgba(15, 17, 21, .78);
  border-color: rgba(201, 154, 54, .35);
  color: #f8fafc;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

.hero-process .muted,
.hero-process .text-primary {
  color: #c9ccd1 !important;
}

.section-band {
  background: transparent;
  border-block: 0;
  backdrop-filter: none;
}

main > .container:not(.admin-shell),
main > section.container {
  background: transparent;
  backdrop-filter: none;
}

main > section.container {
  border-inline: 0;
}

.service-card,
.stat-card,
.data-card,
.price-card {
  border: 1px solid rgba(201, 154, 54, .22);
  border-radius: 8px;
  background: rgba(12, 14, 18, .78);
  color: #f8fafc;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}

.price {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: .75rem;
}

.estimate-box {
  border: 1px solid rgba(201, 154, 54, .35);
  background: rgba(8, 9, 11, .7);
  border-radius: 8px;
}

.estimate-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(3, 105, 161, .12);
}

.estimate-line:last-child {
  border-bottom: 0;
}

.muted {
  color: #c9ccd1;
}

.text-secondary,
.text-muted,
.form-text {
  color: #c9ccd1 !important;
}

.small.text-muted,
.estimate-box .text-muted,
.wizard-panel .text-secondary {
  color: #d8dbe0 !important;
}

.risk-green {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.risk-orange {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.risk-red {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.risk-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .25rem .65rem;
  font-size: .85rem;
  font-weight: 600;
}

.form-section {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.form-section {
  border-top-color: rgba(201, 154, 54, .22);
}

.form-control,
.form-select {
  background-color: rgba(8, 9, 11, .72);
  border-color: rgba(201, 154, 54, .28);
  color: #f8fafc;
}

.form-control:focus,
.form-select:focus {
  background-color: rgba(8, 9, 11, .88);
  border-color: var(--gold);
  color: #f8fafc;
  box-shadow: 0 0 0 .2rem rgba(201, 154, 54, .18);
}

.form-control::placeholder {
  color: #9ca3af;
}

.form-select option {
  color: #111827;
  background: #fff;
}

.form-check-input {
  background-color: rgba(8, 9, 11, .72);
  border-color: rgba(201, 154, 54, .45);
}

.form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}

.advanced-request {
  background: rgba(10, 12, 15, .68);
  border: 1px solid rgba(201, 154, 54, .2);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}

.advanced-request summary {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  cursor: pointer;
  padding: 1rem 1.1rem;
  color: #f8fafc;
  list-style: none;
}

.advanced-request summary::-webkit-details-marker {
  display: none;
}

.advanced-request summary span {
  font-weight: 700;
}

.advanced-request summary small {
  color: #d1d5db;
}

.advanced-request[open] {
  padding: 0 1.1rem 1.1rem;
}

.advanced-request[open] summary {
  margin: 0 -1.1rem;
  border-bottom: 1px solid rgba(201, 154, 54, .16);
}

.wizard-panel {
  border: 1px solid rgba(201, 154, 54, .25);
  border-radius: 8px;
  background: rgba(12, 14, 18, .82);
  color: #f8fafc;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-choice {
  width: 100%;
  min-height: 72px;
  padding: 1rem;
  border: 1px solid rgba(201, 154, 54, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #f8fafc;
  text-align: left;
  font-weight: 600;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.wizard-choice:hover {
  border-color: var(--gold);
  background: rgba(201, 154, 54, .16);
  transform: translateY(-1px);
}

.wizard-back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .8rem;
  border: 0;
  background: transparent;
  color: #d1d5db;
  padding: 0;
  font-weight: 700;
}

.wizard-back::before {
  content: "<";
  color: var(--gold);
}

.wizard-back:hover {
  color: #fff;
}

.print-page {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
}

@media print {
  nav, footer, .no-print {
    display: none !important;
  }
  .print-page {
    margin: 0;
    max-width: none;
    padding: 0;
  }
}

@media (max-width: 575.98px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background-position: 62% 12%;
    background-size: auto 100%;
  }

  .brand-nav {
    position: sticky;
    top: 0;
    background: var(--carbon);
    padding-top: .75rem;
    padding-bottom: .75rem;
  }

  .brand-nav .container {
    gap: .5rem;
  }

  .brand-lockup {
    max-width: calc(100% - 64px);
    margin-right: 0;
  }

  .brand-logo {
    width: clamp(170px, 62vw, 230px);
    max-height: 52px;
  }

  .navbar-toggler {
    padding: .35rem .55rem;
  }

  .brand-nav .nav-link {
    letter-spacing: .08rem;
    padding: .7rem 0 !important;
  }

  .brand-nav .nav-link.active::after {
    left: 0;
    right: auto;
    width: 42px;
    bottom: .35rem;
  }

  .hero {
    min-height: 560px;
    padding-top: 2rem;
  }

  .brand-eyebrow {
    letter-spacing: .16rem;
    font-size: .82rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 11vw, 2.45rem);
    letter-spacing: .08rem;
    line-height: 1.25;
  }

  .hero-actions {
    width: 100%;
  }

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

  .wizard-panel {
    padding: 1rem !important;
  }

  .wizard-choice {
    min-height: 0;
    padding: .85rem;
  }

  .estimate-line {
    align-items: flex-start;
    flex-direction: column;
    gap: .15rem;
  }

  .estimate-line span:last-child {
    color: var(--gold);
    font-weight: 700;
  }
}
