/* Hawthorne Charter Request — Modern UI */

:root{
  --hawthorne-red:#b41e28;
  --hawthorne-red2:#7a0f15;
  --hawthorne-bg:#f4f5f7;
  --hawthorne-text:#111;
  --hawthorne-muted:#666;
  --hawthorne-border:#e9e9e9;
  --hawthorne-card:#ffffff;
  --hawthorne-radius:18px;
  --hawthorne-shadow:0 10px 30px rgba(0,0,0,0.08);

  /* Replace with a real jet image URL */
  --hawthorne-hero-image: url("https://hawthorneaviation.com/wp-content/uploads/2026/01/REPLACE-JET-PHOTO.jpg");
}

.hawthorne-charter-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 0;
}

.hawthorne-success,
.hawthorne-error{
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hawthorne-success{
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  color: #14532d;
}

.hawthorne-error{
  background: rgba(239,68,68,0.10);
  border: 1px solid rgba(239,68,68,0.25);
  color: #7f1d1d;
}

.hawthorne-form{
  background: var(--hawthorne-card);
  border: 1px solid var(--hawthorne-border);
  border-radius: 22px;
  box-shadow: var(--hawthorne-shadow);
  overflow: hidden;
}

.hawthorne-pillbar{
  display: grid;
  grid-template-columns: 1.1fr 1.1fr .7fr .7fr .5fr;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border-bottom: 1px solid var(--hawthorne-border);
}

.pillcell{
  border: 1px solid var(--hawthorne-border);
  border-radius: 16px;
  padding: 10px 12px;
  background: #fff;
}

.pilllabel{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #777;
  font-weight: 900;
  margin-bottom: 6px;
}

.hawthorne-form input,
.hawthorne-form select{
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--hawthorne-text);
}

.hawthorne-form input::placeholder{ color: #9a9a9a; }

.hawthorne-underbar{
  display:flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border-bottom: 1px solid var(--hawthorne-border);
  align-items: center;
}

.under-left{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.toggle{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--hawthorne-border);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  font-weight: 800;
  color: #222;
}

.toggle input{ width:auto; }

.under-right{
  flex: 1;
  display:flex;
  justify-content: flex-end;
}

.mini-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  width: min(780px, 100%);
}

.field{
  border: 1px solid var(--hawthorne-border);
  border-radius: 16px;
  padding: 10px 12px;
  background:#fff;
}

.field label{
  display:block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #777;
  font-weight: 900;
  margin-bottom: 6px;
}

.hawthorne-return{
  padding: 14px;
  background: #fff;
  border-bottom: 1px solid var(--hawthorne-border);
}

.return-grid{
  display:grid;
  grid-template-columns: 1.1fr 1.1fr .7fr .7fr;
  gap: 10px;
}

.hawthorne-contact{
  padding: 14px;
  background: #fff;
}

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.contact-notes{
  grid-column: 1 / -1;
}

.hawthorne-submit-row{
  padding: 14px;
  background: #fff;
  border-top: 1px solid var(--hawthorne-border);
  display:flex;
  justify-content: flex-end;
}

.hawthorne-btn{
  appearance:none;
  border: 0;
  background: var(--hawthorne-red);
  color:#fff;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(180,30,40,0.22);
  transition: transform .12s ease, filter .12s ease;
}

.hawthorne-btn:hover{ filter: brightness(1.03); transform: translateY(-1px); }

.hawthorne-btn-lg{
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 15px;
}

/* ---------- Responsive form ---------- */
@media (max-width: 980px){
  .hawthorne-pillbar{
    grid-template-columns: 1fr 1fr;
  }
  .pillcell-sm,
  .pillcell-xs{
    grid-column: span 1;
  }
  .hawthorne-underbar{
    flex-direction: column;
    align-items: stretch;
  }
  .under-right{
    justify-content: stretch;
  }
  .mini-grid{
    grid-template-columns: 1fr;
  }
  .return-grid{
    grid-template-columns: 1fr;
  }
  .contact-grid{
    grid-template-columns: 1fr;
  }
  .hawthorne-submit-row{
    justify-content: stretch;
  }
  .hawthorne-btn{
    width: 100%;
  }
}

/* =========================
   Premium Success Modal
========================= */
html.hawthorne-modal-open { overflow: hidden; }

.hawthorne-modal{
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.hawthorne-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}

.hawthorne-modal__card{
  position: relative;
  max-width: 720px;
  margin: 6vh auto;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 760px){
  .hawthorne-modal__card{ margin: 0; min-height: 100vh; border-radius: 0; }
}

.hawthorne-modal__close{
  position:absolute;
  top:12px;
  right:12px;
  width:40px;
  height:40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.22);
  color:#fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.hawthorne-modal__hero{
  background:
    linear-gradient(135deg, rgba(180,30,40,0.92), rgba(20,20,20,0.86)),
    var(--hawthorne-hero-image);
  background-size: cover;
  background-position: center;
  color:#fff;
  padding: 18px 18px 22px;
}

.hawthorne-modal__brand{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 900;
  opacity: .95;
}

.hawthorne-modal__title{
  font-size: 28px;
  font-weight: 950;
  margin-top: 6px;
  line-height: 1.1;
}

.hawthorne-modal__subtitle{
  margin-top: 8px;
  font-size: 14px;
  opacity: .95;
  line-height: 1.4;
}

.hawthorne-modal__content{ padding: 18px; }

.hawthorne-modal__route{
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #eee;
  background: #fff;
  margin-top: -26px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.hawthorne-modal__route .r1{
  font-size: 22px;
  font-weight: 950;
  letter-spacing: .02em;
  color: #111;
}

.hawthorne-modal__route .arrow{ color: rgba(180,30,40,0.95); }

.hawthorne-modal__route .r2{
  margin-top: 6px;
  color: #666;
  font-size: 13px;
  line-height: 1.35;
}

.hawthorne-modal__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 640px){
  .hawthorne-modal__grid{ grid-template-columns: 1fr; }
}

.hawthorne-modal__grid .item{
  border: 1px solid #eee;
  background:#fff;
  border-radius: 16px;
  padding: 12px;
}

.hawthorne-modal__grid .k{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color:#777;
  font-weight: 900;
}

.hawthorne-modal__grid .v{
  margin-top: 6px;
  font-size: 14px;
  font-weight: 850;
  color:#111;
}

.hawthorne-modal__estimate{
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(180,30,40,0.18);
  background: rgba(180,30,40,0.06);
}

.hawthorne-modal__estimate .k{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 950;
  color:#7a0f15;
}

.hawthorne-modal__estimate .v.big{
  margin-top: 6px;
  font-size: 20px;
  font-weight: 950;
  color:#111;
}

.hawthorne-modal__estimate .pill{
  display:inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(0,0,0,0.06);
  font-size: 12px;
  font-weight: 900;
  color:#333;
  vertical-align: middle;
}

.hawthorne-modal__estimate .d{
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.35;
  color:#666;
}

.hawthorne-modal__note{
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #eee;
  border-radius: 16px;
  background: #fff;
  color:#111;
  font-weight: 650;
}

.hawthorne-modal__actions{
  margin-top: 14px;
  display:flex;
  justify-content: flex-end;
}
