/* ===== BAIMA website-style booking page ===== */

/* These tokens match your main website design. */
:root{
  --ink:#0f172a;
  --muted:#6b7280;
  --baima:#ff6b00;
  --hero:#f4e9d4;
  --card:#ffffff;
  --ring:rgba(255,107,0,.18);
  --shadow:0 10px 24px rgba(17,24,39,.08);
  --maxw:1100px;
  --radius:16px;
  --thinH:56px;
}

*{box-sizing:border-box}

html,body {
  margin:0;
  color:var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background-image: url("https://i.imgur.com/cUEEOgm.png");
  background-repeat: repeat;
  background-size: 420px 420px;
  background-attachment: fixed;
}

a{color:var(--baima);text-decoration:none}
a:hover{text-decoration:underline}

/* ===== Same thin fixed header style as main site ===== */
.nav{
  position:fixed;
  inset:0 0 auto 0;
  background:#fff;
  border-bottom:1px solid #eee;
  height:var(--thinH);
  z-index:60;
  box-shadow:0 6px 16px rgba(17,24,39,.06)
}
.nav-inner{
  max-width:var(--maxw);
  height:100%;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:0 14px
}
.brand{display:flex;align-items:center;gap:8px;min-width:0}
.flag{
  display:inline-block;
  width:52px;
  height:26px;
  background:#fff url('https://upload.wikimedia.org/wikipedia/commons/b/bb/Flag_of_Saskatchewan.svg') center/cover no-repeat;
  border:1px solid #f1f1f1;
  border-radius:2px
}
.caps{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 14px;
  background:var(--baima);
  color:#fff;
  font-weight:900;
  border-radius:12px;
  box-shadow:0 6px 18px var(--ring)
}
.brandline{font-weight:800;white-space:nowrap}
.right{display:flex;align-items:center;gap:12px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 14px;
  font-weight:800;
  border-radius:12px;
  white-space:nowrap;
  box-shadow:0 6px 16px rgba(17,24,39,.06)
}
.btn-wa{
  background:linear-gradient(135deg,#22C35E,#128C7E);
  color:#fff;
  gap:8px
}
.btn-wa svg{width:16px;height:16px;fill:#fff;display:block}
.link{color:var(--ink);font-weight:700;padding:4px 8px;border-radius:10px}
.link:hover{background:#f6f6f6;text-decoration:none}

@media (max-width:680px){
  .nav-inner{gap:8px}
  .right{gap:8px}
  .brandline{display:none}
  .btn,.caps{height:32px}
}

/* ===== Shared website layout ===== */
main{padding-top:calc(var(--thinH) + 18px)}
section{padding:44px 16px}
.container{max-width:var(--maxw);margin:0 auto}

.hero-card{
  max-width:930px;
  margin:0 auto;
  background:#fff;
  border-radius:22px;
  box-shadow:0 12px 40px rgba(0,0,0,.07);
  padding:18px;
  text-align:center
}
.hero-logo{
  display:block;
  margin:10px auto 0;
  max-width:clamp(190px,42%,330px);
  height:auto
}
.badge-row{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px
}
.badge{
  display:inline-block;
  background:var(--baima);
  color:#fff;
  padding:12px 22px;
  border-radius:999px;
  font-weight:900;
  box-shadow:0 14px 34px var(--ring);
  letter-spacing:.2px
}
.badge-soft{
  color:var(--baima);
  background:#fff7ed;
  border:1px solid rgba(255,107,0,.25);
}
.note{color:var(--muted);margin-top:8px}
h1{margin:10px 0 0;font-size:clamp(28px,5vw,44px);line-height:1.1}
.sub{color:var(--muted);margin:8px auto 0;font-size:clamp(14px,2.6vw,18px);max-width:760px}

.card{
  background:#fff;
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:22px;
}
.card h2,
.card h3{margin:0 0 8px}
.muted{color:var(--muted)}
.small{font-size:13px;color:#6b7280}

.booking-hero-section{padding-bottom:24px}
.booking-section{padding-top:12px}
.booking-shell{max-width:var(--maxw);margin:0 auto}

/* ===== Booking form ===== */
.booking-form-card{display:block}
.hp-field{
  position:absolute!important;
  left:-9999px!important;
  opacity:0!important;
  height:1px!important;
  width:1px!important;
  overflow:hidden!important
}

.notice-card{
  background:#fff7ed;
  border:1px solid rgba(255,107,0,.25);
  color:#3d2a18;
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:18px;
  line-height:1.55;
  margin-bottom:16px;
}

.form-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

.form-panel{height:max-content}

.fields-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:16px;
}
.field{display:grid;gap:7px}
.field span{font-size:14px;font-weight:800;color:#334155}
.field input,
.field textarea{
  width:100%;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:12px;
  font:inherit;
  background:#fff;
  color:var(--ink);
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.field textarea{resize:vertical;min-height:104px}
.field input:focus,
.field textarea:focus{
  border-color:var(--baima);
  box-shadow:0 0 0 4px var(--ring);
}
.field input.input-error,
.field textarea.input-error{
  border-color:#dc2626;
  box-shadow:0 0 0 4px rgba(220,38,38,.12);
}
.wide{grid-column:1/-1}
.photo-note{
  margin:14px 0 0;
  color:var(--muted);
  background:#f8fafc;
  border:1px solid #eef2f7;
  border-radius:14px;
  padding:12px;
}

.service-block{
  border:1px solid #f1f1f1;
  border-radius:16px;
  padding:16px;
  margin-top:16px;
  background:#fff;
}
.service-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
  border-top:1px solid #f1f1f1;
}
.service-row:first-of-type{border-top:0}
.service-row strong{display:block}
.service-row small{display:block;color:var(--muted);margin-top:4px}

.stepper{
  display:inline-flex;
  align-items:center;
  border:1px solid #e5e7eb;
  border-radius:999px;
  overflow:hidden;
  background:#fff;
  flex:0 0 auto;
}
.stepper button{
  width:38px;
  height:38px;
  border:0;
  background:#fff;
  color:var(--ink);
  font-size:22px;
  font-weight:900;
  cursor:pointer;
}
.stepper button:hover{background:#fff7ed;color:var(--baima)}
.stepper input{
  width:52px;
  height:38px;
  border:0;
  border-left:1px solid #e5e7eb;
  border-right:1px solid #e5e7eb;
  text-align:center;
  font:inherit;
  font-weight:800;
  outline:none;
  -moz-appearance:textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}
.sqft-field{margin-top:14px}

.summary-card{margin-top:16px}
.selected-services{
  margin:16px 0;
  padding:14px 16px;
  background:#f8fafc;
  border:1px solid #eef2f7;
  border-radius:14px;
}
.selected-services p{margin:0;color:var(--muted)}
.selected-services ul{margin:0;padding-left:18px}
.selected-services li{margin:7px 0}

.summary-lines{display:grid;gap:8px}
.summary-lines > div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:10px 0;
  border-bottom:1px solid #f1f1f1;
}
.summary-lines span{color:#334155;font-weight:700}
.summary-lines strong{font-weight:900}
.minimum-line span,
.minimum-line strong{color:#15803d}
.total-line{
  border-bottom:0!important;
  font-size:20px;
}
.total-line strong{font-size:26px;color:var(--baima)}

.custom-quote{
  margin-top:16px;
  background:#fff7ed;
  border:1px solid rgba(255,107,0,.3);
  color:#733b00;
  border-radius:14px;
  padding:14px;
  line-height:1.45;
}
.form-message{
  margin-top:14px;
  font-weight:800;
  line-height:1.45;
}
.form-message.error{color:#dc2626}
.form-message.success{color:#15803d}

.checkout-bar{
  position:sticky;
  bottom:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:16px;
  background:#fff;
  border:1px solid #eee;
  border-radius:18px 18px 0 0;
  box-shadow:0 -10px 28px rgba(17,24,39,.08);
  padding:16px 18px;
}
.checkout-bar span{display:block;color:var(--muted);font-size:13px;font-weight:800}
.checkout-bar strong{font-size:26px;color:var(--ink)}
.checkout-btn{
  min-width:260px;
  border:0;
  border-radius:12px;
  padding:14px 18px;
  background:var(--baima);
  color:#fff;
  font:inherit;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 8px 24px var(--ring);
}
.checkout-btn:hover{filter:brightness(.96)}
.checkout-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
  box-shadow:none;
}

footer{
  background:#0f0f10;
  color:#eaeaea;
  padding:40px 16px;
  text-align:center;
  margin-top:40px
}

@media (max-width:860px){
  section{padding:32px 12px}
  .form-grid{grid-template-columns:1fr}
  .fields-grid{grid-template-columns:1fr}
  .service-row{
    align-items:flex-start;
    flex-direction:column;
  }
  .stepper{
    width:100%;
    justify-content:space-between;
  }
  .stepper input{flex:1}
  .checkout-bar{
    left:0;
    right:0;
    border-radius:18px 18px 0 0;
    flex-direction:column;
    align-items:stretch;
  }
  .checkout-btn{width:100%;min-width:0}
}
