:root {
  --navy: #2b120b;
  --navy-2: #4a1d12;
  --blue: #ff4a1f;
  --cyan: #ff8a70;
  --cream: #f5f3ed;
  --paper: #fffefb;
  --ink: #2d160f;
  --muted: #78645e;
  --line: #dfe6eb;
  --green: #159568;
  --amber: #da8a16;
  --red: #d74d56;
  --shadow: 0 24px 70px rgba(74, 29, 18, .12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: -1;
}

.ambient-one {
  width: 520px;
  height: 520px;
  right: -260px;
  top: 30px;
  background: rgba(255, 138, 112, .13);
}

.ambient-two {
  width: 420px;
  height: 420px;
  left: -230px;
  bottom: 0;
  background: rgba(255, 74, 31, .08);
}

.topbar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  color: var(--navy);
  background: transparent;
  text-align: left;
}

.brand-mark {
  width: 60px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font: 800 15px Manrope;
}

.brand small {
  color: var(--muted);
  margin-top: 2px;
  font-size: 11px;
}

.top-actions {
  display: flex;
  gap: 10px;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 11px 17px;
  font-weight: 700;
  color: var(--ink);
  transition: transform .18s, box-shadow .18s, opacity .18s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: .58;
  cursor: wait;
  transform: none;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(74, 29, 18, .18);
}

.btn-dark {
  background: var(--navy);
  color: white;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), #d93612);
  box-shadow: 0 10px 24px rgba(255, 74, 31, .23);
}

.btn-light {
  background: white;
  border: 1px solid var(--line);
}

.btn-large {
  padding: 15px 22px;
}

main {
  max-width: 1240px;
  padding: 20px 28px 80px;
  margin: 0 auto;
}

.view {
  display: none;
  animation: reveal .32s ease;
}

.view.active {
  display: block;
}

.hidden {
  display: none !important;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: 52px;
}

.eyebrow {
  color: var(--blue);
  font: 800 12px Manrope;
  letter-spacing: .13em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.eyebrow i {
  width: 26px;
  height: 2px;
  background: var(--cyan);
}

.hero h1 {
  font: 800 clamp(48px, 6.2vw, 82px)/.98 Manrope;
  letter-spacing: -.055em;
  margin: 22px 0 24px;
  max-width: 760px;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-copy>p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
  color: #6e554d;
  font-size: 13px;
  font-weight: 600;
}

.hero-panel {
  min-height: 520px;
  position: relative;
  display: grid;
  place-items: center;
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe3dc, #ffc5b6);
}

.phone-mock {
  position: relative;
  z-index: 1;
  width: 300px;
  min-height: 485px;
  background: var(--navy);
  color: white;
  border-radius: 36px;
  box-shadow: 0 35px 80px rgba(74, 29, 18, .3);
  border: 8px solid white;
  overflow: hidden;
  transform: rotate(2deg);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 11px;
  color: #d5bdb6;
}

.phone-body {
  padding: 30px 24px;
}

.pill {
  background: rgba(255, 138, 112, .15);
  border: 1px solid rgba(255, 138, 112, .3);
  color: #ffae9a;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  border-radius: 99px;
}

.phone-body h3 {
  font: 700 25px/1.2 Manrope;
  margin: 22px 0 32px;
}

.route-line {
  display: flex;
  gap: 13px;
  padding: 0 0 24px 4px;
  position: relative;
}

.route-line:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 34px;
  height: 28px;
  width: 1px;
  background: #684035;
}

.route-line i {
  font-style: normal;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: #5c2518;
  color: #ff9a82;
  font-weight: 700;
  font-size: 11px;
}

.route-line b,
.route-line small {
  display: block;
}

.route-line b {
  font-size: 13px
}

.route-line small {
  color: #b8958c;
  font-size: 11px;
  margin-top: 3px
}

.mini-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, .96);
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(74, 29, 18, .18);
  min-width: 215px;
}

.mini-card small,
.mini-card strong {
  display: block
}

.mini-card small {
  font-size: 10px;
  color: var(--muted)
}

.mini-card strong {
  font-size: 12px;
  margin-top: 3px
}

.mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff0ec;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 800
}

.mini-icon.check {
  background: #e7f7f0;
  color: var(--green)
}

.floating-card {
  right: 0;
  top: 100px
}

.bottom-card {
  left: 0;
  bottom: 80px
}

.status-dot {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(218, 138, 22, .13)
}

.section-heading {
  margin: 65px 0 25px;
}

.section-heading span {
  color: var(--blue);
  font: 800 10px Manrope;
  letter-spacing: .16em
}

.section-heading h2 {
  font: 800 32px Manrope;
  margin: 8px 0
}

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

.choice-card {
  position: relative;
  min-height: 290px;
  padding: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.choice-card::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  right: -110px;
  bottom: -130px;
  background: rgba(255, 255, 255, .16)
}

.outing-card {
  background: #fff;
  color: var(--navy)
}

.overnight-card {
  background: linear-gradient(145deg, var(--navy), #6b2818);
  color: white
}

.choice-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #fff0ec;
  color: var(--blue);
  font-size: 23px
}

.overnight-card .choice-icon {
  background: rgba(255, 255, 255, .1);
  color: #ff9a82
}

.choice-number {
  position: absolute;
  right: 30px;
  top: 26px;
  font: 800 44px Manrope;
  opacity: .09
}

.choice-card h3 {
  font: 800 24px Manrope;
  margin: 30px 0 10px
}

.choice-card p {
  max-width: 480px;
  color: var(--muted);
  line-height: 1.65
}

.overnight-card p {
  color: #d1b4ac
}

.text-link {
  border: 0;
  background: transparent;
  padding: 10px 0;
  color: var(--blue);
  font-weight: 800
}

.overnight-card .text-link {
  color: #ff9a82
}

.text-link span {
  margin-left: 6px
}

.narrow-view {
  max-width: 820px;
  margin: 30px auto
}

.back-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  padding: 10px 0
}

.page-intro {
  margin: 36px 0 28px
}

.page-intro h2,
.dashboard-head h2 {
  font: 800 clamp(34px, 5vw, 50px) Manrope;
  letter-spacing: -.04em;
  margin: 12px 0
}

.page-intro p,
.dashboard-head p {
  color: var(--muted)
}

.management-login {
  max-width: 570px;
  margin: 55px auto 120px
}

.management-body .topbar {
  border-bottom: 1px solid rgba(74, 29, 18, .1)
}

.panel {
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(216, 225, 232, .9);
  border-radius: var(--radius);
  box-shadow: var(--shadow)
}

.form-panel {
  padding: 34px
}

.compact-panel {
  padding: 30px;
  max-width: 570px
}

.form-section {
  display: flex;
  gap: 14px;
  margin: 8px 0 22px;
  padding-top: 24px;
  border-top: 1px solid var(--line)
}

.form-section:first-child {
  border: 0;
  padding-top: 0
}

.form-section>span {
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: #fff0ec;
  color: var(--blue);
  display: grid;
  place-items: center;
  font: 800 11px Manrope;
  flex: none
}

.form-section h3,
.form-section p {
  margin: 0
}

.form-section h3 {
  font: 800 17px Manrope
}

.form-section p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin-bottom: 28px
}

.field {
  display: block
}

.field.full {
  grid-column: 1/-1
}

.field>span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 8px
}

.field input,
.field textarea,
.toolbar input,
.toolbar select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfcfd;
  border-radius: 11px;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
  transition: border .15s, box-shadow .15s
}

.field textarea {
  min-height: 110px;
  resize: vertical
}

.field input:focus,
.field textarea:focus,
.toolbar input:focus,
.toolbar select:focus {
  border-color: #ff9a82;
  box-shadow: 0 0 0 3px rgba(255, 74, 31, .09)
}

.declaration,
.remember {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #526579;
  font-size: 12px;
  line-height: 1.5;
  margin: 22px 0
}

.declaration input,
.remember input {
  margin-top: 3px;
  accent-color: var(--blue)
}

.btn-submit {
  width: 100%;
  padding: 15px
}

.form-message {
  min-height: 18px;
  color: var(--red);
  font-size: 12px;
  text-align: center;
  margin: 13px 0 0
}

.form-message.success {
  color: var(--green)
}

.turnstile-slot {
  margin: 15px 0
}

.tracking-card {
  margin-top: 18px;
  padding: 28px
}

.tracking-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px
}

.tracking-top h3 {
  font: 800 20px Manrope;
  margin: 0
}

.tracking-top p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 12px
}

.status-badge {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  background: #fff1da;
  color: #a66508
}

.status-badge.green {
  background: #e6f7ef;
  color: #147d59
}

.status-badge.blue {
  background: #fff0ec;
  color: #d93612
}

.status-badge.red {
  background: #fdebed;
  color: #b53643
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line)
}

.detail-grid small,
.detail-grid strong {
  display: block
}

.detail-grid small {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em
}

.detail-grid strong {
  font-size: 13px;
  margin-top: 4px
}

.decision-note {
  margin: 22px 0;
  padding: 17px 18px;
  border-radius: 13px;
  font-size: 12px;
  line-height: 1.55
}

.decision-note strong,
.decision-note p,
.decision-note small {
  display: block
}

.decision-note p {
  margin: 5px 0
}

.rejected-note {
  background: #fdebed;
  color: #9e3440;
  border: 1px solid #f4c9ce
}

.pending-note {
  background: #fff5e5;
  color: #916111;
  border: 1px solid #f1d8aa
}

.dashboard-view {
  max-width: 1160px;
  margin: 25px auto
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px
}

.stat-card {
  padding: 20px;
  border-radius: 17px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(74, 29, 18, .07)
}

.stat-card span,
.stat-card b {
  display: block
}

.stat-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700
}

.stat-card b {
  font: 800 29px Manrope;
  margin-top: 6px
}

.stat-card i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: var(--blue);
  margin-right: 6px
}

.toolbar {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 165px 145px auto auto;
  gap: 9px;
  box-shadow: none
}

.toolbar input,
.toolbar select {
  padding: 10px 11px;
  font-size: 12px
}

.records-list {
  margin-top: 15px;
  display: grid;
  gap: 12px
}

.record-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 19px 20px;
  display: grid;

  grid-template-columns:
    minmax(0, 1.2fr) minmax(180px, 0.8fr) minmax(210px, 0.9fr) 360px;

  gap: 18px;
  align-items: center;
  box-shadow: 0 8px 25px rgba(74, 29, 18, 0.05);
}

.record-main h3 {
  font: 800 15px Manrope;
  margin: 0
}

.record-main p,
.record-cell small,
.record-cell strong {
  display: block
}

.record-main p {
  color: var(--muted);
  font-size: 11px;
  margin: 5px 0 0
}

.record-cell small {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em
}

.record-cell strong {
  font-size: 12px;
  margin-top: 4px
}

.record-actions {
  width: 100%;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.record-actions .btn {
  padding: 8px 10px;
  font-size: 10px
}

.btn-danger {
  color: #b23843;
  background: #fdebed
}

.btn-success {
  color: white;
  background: var(--green)
}

.btn-warning {
  color: white;
  background: var(--amber)
}

.empty-state {
  padding: 50px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, .65);
  border: 1px dashed #c5d0da;
  border-radius: 17px
}

footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 28px;
  border-top: 1px solid rgba(74, 29, 18, .12);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(43, 18, 11, .72);
  backdrop-filter: blur(7px);
  display: none;
  place-items: center;
  padding: 20px
}

.modal.show {
  display: grid
}

.modal-card {
  width: min(430px, 100%);
  background: white;
  border-radius: 26px;
  padding: 35px;
  text-align: center;
  box-shadow: 0 35px 100px rgba(0, 0, 0, .25)
}

.success-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e5f7ef;
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto;
  font-size: 27px;
  font-weight: 800
}

.modal-card h3 {
  font: 800 22px Manrope;
  margin: 18px 0 6px
}

.modal-card p,
.modal-card small {
  color: var(--muted)
}

.modal-card small {
  display: block;
  margin: 7px 0 22px
}

.reference-code {
  display: block;
  width: 100%;
  border: 1px dashed #ff9a82;
  background: #fff5f2;
  border-radius: 13px;
  padding: 14px;
  color: var(--blue);
  font: 800 16px Manrope;
  margin-top: 20px
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: var(--navy);
  color: white;
  padding: 13px 17px;
  border-radius: 12px;
  font-size: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: .25s;
  z-index: 30
}

.toast.show {
  opacity: 1;
  transform: none
}

@media(max-width:920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 55px
  }

  .hero-panel {
    margin-top: 5px
  }

  .choice-grid {
    grid-template-columns: 1fr
  }

  .toolbar {
    grid-template-columns: 1fr 1fr
  }

  .toolbar input {
    grid-column: 1/-1
  }

  .record-card {
    grid-template-columns: 1fr 1fr
  }

  .record-actions {
    grid-column: 1/-1;
    justify-content: flex-start
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {
  .topbar {
    padding: 16px
  }

  .brand small {
    display: none
  }

  .top-actions .btn-ghost {
    display: none
  }

  .top-actions .btn {
    font-size: 11px;
    padding: 9px 11px
  }

  main {
    padding: 10px 16px 60px
  }

  .hero {
    padding-top: 35px;
    gap: 15px
  }

  .hero h1 {
    font-size: 46px
  }

  .hero-copy>p {
    font-size: 15px
  }

  .hero-actions {
    display: grid
  }

  .trust-row {
    gap: 9px 15px
  }

  .hero-panel {
    min-height: 460px;
    transform: scale(.9);
    margin: -10px -20px
  }

  .floating-card {
    right: -5px
  }

  .bottom-card {
    left: -5px
  }

  .choice-card {
    padding: 26px
  }

  .form-panel,
  .compact-panel {
    padding: 20px
  }

  .field-grid {
    grid-template-columns: 1fr
  }

  .field.full {
    grid-column: auto
  }

  .file-preview {
    grid-template-columns: 1fr
  }

  .detail-grid {
    grid-template-columns: 1fr
  }

  .dashboard-head {
    display: block
  }

  .dashboard-head>.btn {
    margin-top: 10px
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr
  }

  .stat-card {
    padding: 15px
  }

  .toolbar {
    grid-template-columns: 1fr
  }

  .toolbar input {
    grid-column: auto
  }

  .record-card {
    grid-template-columns: 1fr
  }

  .record-actions {
    grid-column: auto
  }

  .record-cell {
    display: grid;
    grid-template-columns: 1fr 1fr
  }

  .tracking-top {
    display: block
  }

  .tracking-top .status-badge {
    margin-top: 10px
  }

  footer {
    padding: 20px 16px;
    display: block
  }

  footer span {
    display: block;
    margin-top: 5px
  }
}

.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfcfd;
  color: var(--ink);
  outline: none;
  cursor: pointer;
  transition: border 0.15s, box-shadow 0.15s;
}

.field select:focus {
  border-color: #ff9a82;
  box-shadow: 0 0 0 3px rgba(255, 74, 31, 0.09);
}

.field select:invalid {
  color: var(--muted);
}

.field-note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.disclaimer-card {
  margin: 0 0 22px;
  padding: 20px 22px;
  border: 1px solid #ffc1b2;
  border-left: 4px solid #ff4a1f;
  border-radius: 13px;
  background: #fff7f4;
  color: #4d352f;
  font-size: 12px;
  line-height: 1.65;
}

.disclaimer-card[hidden] {
  display: none;
}

.disclaimer-card h4 {
  margin: 0 0 8px;
  color: #ff4a1f;
  font-size: 15px;
  font-weight: 800;
}

.disclaimer-card p {
  margin: 0 0 10px;
}

.disclaimer-card ul {
  margin: 0;
  padding-left: 19px;
}

.disclaimer-card li+li {
  margin-top: 7px;
}

#tracking-form .field+.field {
  margin-top: 20px;
}

#tracking-form .btn-submit {
  margin-top: 24px;
}


.public-board {
  width: min(1100px, calc(100% - 32px));
  margin: 30px auto 80px;
}

.public-panel {
  overflow: hidden;
}

.public-list-head,
.public-application-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 220px;
  gap: 20px;
  align-items: center;
}

.public-list-head {
  padding: 16px 24px;
  background: #fff3ef;
  color: #69798a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-application-row {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}

.public-application-row:first-child {
  border-top: 0;
}

.public-application-row>strong {
  font-size: 13px;
}

.public-application-row>span {
  font-size: 13px;
}

.public-update-time {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

@media (max-width: 700px) {
  .public-list-head {
    display: none;
  }

  .public-application-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

#download-pdf {
  margin-top: 28px;
}