/* ============================================================
   GRANVILLE AUTO MECHANIC — booking wizard, brands, FAQ,
   contact map, floating review badge
   ============================================================ */

/* ============ FLOATING REVIEW BADGE (hero) ============ */
.hero-gbadge {
  position: absolute; right: 5%; bottom: 46px; z-index: 3;
  display: grid; gap: 4px; padding: 16px 22px; border-radius: 18px;
  background: rgba(31, 35, 41, 0.72); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg); transition: transform 0.4s var(--ease), border-color 0.4s;
}
.hero-gbadge:hover { transform: translateY(-4px); border-color: rgba(0, 123, 255, 0.5); }
.hgb-logo { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.5px; }
.hgb-logo span:nth-child(1) { color: #4285F4; } .hgb-logo span:nth-child(2) { color: #EA4335; }
.hgb-logo span:nth-child(3) { color: #FBBC05; } .hgb-logo span:nth-child(4) { color: #4285F4; }
.hgb-logo span:nth-child(5) { color: #34A853; } .hgb-logo span:nth-child(6) { color: #EA4335; }
.hgb-stars { color: #FFB800; font-size: 15px; letter-spacing: 1px; }
.hgb-stars strong { color: #fff; font-family: var(--font-display); margin-left: 4px; }
.hgb-meta { font-size: 12.5px; color: var(--txt-dim); }

/* ============ BRANDS MARQUEE ============ */
.brands { background: var(--graphite); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-marquee { margin-top: 8px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brand-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.brand-marquee:hover .brand-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.4vw, 30px);
  color: var(--txt-faint); white-space: nowrap; letter-spacing: 0.02em;
  transition: color 0.35s, transform 0.35s var(--ease); cursor: default;
}
.brand:hover { color: #fff; transform: scale(1.06); }

/* ============ REVIEWS CTA ============ */
.reviews-cta { text-align: center; margin-top: 40px; }

/* ============ INSIDE THE WORKSHOP (real photos) ============ */
.realshop { background: var(--black); }
.realshop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.realshop-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--graphite); margin: 0; }
.realshop-card img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.7s var(--ease); filter: saturate(0.96) contrast(1.03); }
.realshop-card:hover img { transform: scale(1.05); }
.realshop-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 20px 16px;
  font-size: 13.5px; font-weight: 500; color: #fff;
  background: linear-gradient(0deg, rgba(15,17,20,0.9) 10%, transparent 100%);
}
.realshop-card::after { content: ""; position: absolute; left: 16px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(0,123,255,0.18); }
@media (max-width: 860px) { .realshop-grid { grid-template-columns: 1fr; } .realshop-card img { height: 260px; } }

/* ============ BOOKING WIZARD ============ */
.booking { background: radial-gradient(1000px 560px at 50% -10%, rgba(0, 123, 255, 0.04), transparent 60%); }
.wizard {
  max-width: 920px; margin: 0 auto; position: relative;
  background: linear-gradient(160deg, #232830, #1a1e24);
  border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg);
  padding: 40px; overflow: hidden;
}
.wizard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--blue), transparent); }

/* progress rail */
.wz-rail { margin-bottom: 36px; }
.wz-progress { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-bottom: 22px; }
.wz-progress span { display: block; height: 100%; width: 20%; border-radius: 4px; background: linear-gradient(90deg, var(--blue), #4FB0FF); transition: width 0.5s var(--ease); }
.wz-steps { display: flex; justify-content: space-between; gap: 6px; }
.wz-step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.wz-num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--txt-dim);
  transition: all 0.4s var(--ease);
}
.wz-cap { font-size: 12px; letter-spacing: 0.04em; color: var(--txt-faint); text-align: center; transition: color 0.3s; }
.wz-step.is-active .wz-num { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.wz-step.is-active .wz-cap { color: #fff; }
.wz-step.is-done .wz-num { background: rgba(0, 123, 255, 0.16); border-color: rgba(0, 123, 255, 0.5); color: #6CC4FF; }

/* panels */
.wz-panel { display: none; animation: wzFade 0.4s var(--ease); }
.wz-panel.is-active { display: block; }
@keyframes wzFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wz-panel h3 { font-size: 23px; margin-bottom: 6px; }
.wz-hint { font-size: 14px; color: var(--txt-dim); margin-bottom: 24px; }

/* service picker */
.svc-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span {
  display: flex; align-items: center; min-height: 58px; padding: 12px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 500; transition: all 0.3s var(--ease);
}
.pick:hover span { border-color: rgba(0, 123, 255, 0.4); background: rgba(0, 123, 255, 0.05); }
.pick input:checked + span { border-color: var(--blue); background: rgba(0, 123, 255, 0.14); color: #fff; box-shadow: 0 0 0 1px var(--blue); }
.pick input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* date + time */
.dt-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; }
.calendar { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-head strong { font-family: var(--font-display); font-size: 16px; }
.cal-head button { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: #fff; font-size: 18px; cursor: pointer; transition: 0.3s; }
.cal-head button:hover:not(:disabled) { border-color: var(--blue); background: rgba(0, 123, 255, 0.1); }
.cal-head button:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 8px; }
.cal-dow span { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--txt-faint); text-transform: uppercase; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day {
  aspect-ratio: 1; border: 1px solid transparent; border-radius: 10px; background: transparent;
  color: var(--txt); font-family: var(--font-body); font-size: 14px; cursor: pointer;
  transition: all 0.2s var(--ease);
}
.cal-day:hover:not(:disabled):not(.is-selected) { background: rgba(0, 123, 255, 0.12); border-color: rgba(0, 123, 255, 0.4); }
.cal-day:disabled { color: var(--txt-faint); opacity: 0.32; cursor: not-allowed; }
.cal-day.is-empty { visibility: hidden; }
.cal-day.is-selected { background: var(--blue); color: #fff; font-weight: 700; box-shadow: var(--shadow-blue); }
.cal-day.is-today:not(.is-selected) { border-color: rgba(255, 255, 255, 0.25); }

.slots h4 { font-size: 15px; margin-bottom: 6px; }
.slot-day { font-size: 13px; color: var(--blue); margin-bottom: 16px; font-weight: 600; }
.slot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.slot {
  padding: 13px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  color: var(--txt); font-family: var(--font-display); font-weight: 600; font-size: 14px; cursor: pointer;
  transition: all 0.25s var(--ease);
}
.slot:hover:not(:disabled) { border-color: rgba(0, 123, 255, 0.5); background: rgba(0, 123, 255, 0.08); }
.slot:disabled { opacity: 0.35; cursor: not-allowed; }
.slot.is-selected { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: var(--shadow-blue); }

/* wizard form fields reuse .form-grid / .field from sections.css */
.wz-panel .form-grid { grid-template-columns: 1fr 1fr; }

/* summary */
.wz-summary { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); margin-bottom: 24px; }
.wz-srow { display: flex; justify-content: space-between; gap: 16px; padding: 15px 20px; background: #1e2329; font-size: 14.5px; }
.wz-srow .k { color: var(--txt-dim); }
.wz-srow .val { font-weight: 600; text-align: right; }
.wz-promise { display: grid; gap: 12px; }
.wz-promise li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--txt-dim); }
.wz-promise svg { width: 18px; height: 18px; color: #2ECC71; flex: none; }

/* nav */
.wz-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.wz-nav .btn { padding: 14px 28px; }
.wz-count { font-size: 13px; color: var(--txt-faint); font-family: var(--font-display); }

/* success */
.wz-success { display: none; text-align: center; padding: 30px 10px; }
.wz-success.show { display: block; animation: wzFade 0.5s var(--ease); }
.wz-success h3 { font-size: 27px; margin: 22px 0 10px; }
.wz-success > p { color: var(--txt-dim); max-width: 440px; margin: 0 auto; }
.wz-tick { width: 88px; height: 88px; margin: 0 auto; }
.wz-tick svg { width: 100%; height: 100%; }
.wz-tick-c { stroke: #2ECC71; stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: tickC 0.6s var(--ease) forwards; }
.wz-tick-p { stroke: #2ECC71; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: tickP 0.4s 0.5s var(--ease) forwards; }
@keyframes tickC { to { stroke-dashoffset: 0; } }
@keyframes tickP { to { stroke-dashoffset: 0; } }
.wz-success-detail { display: inline-grid; gap: 6px; margin: 22px auto 6px; padding: 18px 26px; border-radius: 16px; background: rgba(0, 123, 255, 0.08); border: 1px solid rgba(0, 123, 255, 0.3); text-align: left; }
.wz-success-detail .k { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--txt-faint); }
.wz-success-detail .v { font-family: var(--font-display); font-weight: 600; font-size: 16px; }

/* ============ FAQ SECTION ============ */
.faqs { background: var(--graphite); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-wrap { max-width: 820px; }
.faqs .faq { margin-top: 0; }
.faq-ic { display: none; }

/* ============ CONTACT + MAP ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; align-items: stretch; }
.contact-card { display: grid; gap: 14px; align-content: start; }
.contact-card .btn { margin-top: 8px; }
.contact-map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); min-height: 420px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .svc-pick { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero-gbadge { right: 4%; bottom: 18px; padding: 12px 16px; }
  .wizard { padding: 26px 18px; }
  .wz-cap { display: none; }
  .wz-step { flex-direction: row; }
  .svc-pick { grid-template-columns: 1fr 1fr; }
  .dt-grid { grid-template-columns: 1fr; }
  .wz-panel .form-grid { grid-template-columns: 1fr; }
  .wz-nav { flex-wrap: wrap; }
  .wz-count { order: 3; width: 100%; text-align: center; }
  .brand-track { gap: 36px; }
}
@media (max-width: 460px) {
  .svc-pick { grid-template-columns: 1fr; }
}
