:root {
  --red: #e5141c;
  --red-dark: #bd0f16;
  --red-tint: #fdecec;
  --ink: #0f0f0f;
  --text: #1f2937;
  --muted: #5b6472;
  --line: #e5e7eb;
  --bg: #f4f4f5;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 30px rgba(0,0,0,.06);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; }
a { color: var(--red); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; border-radius: 6px; }
.skip:focus { left: 8px; }

/* header / footer */
.top { background: var(--ink); color: #fff; border-bottom: 3px solid var(--red); }
.top-in { max-width: 1120px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.top img { height: 40px; width: auto; display: block; }
.top .ttl { font-weight: 600; font-size: 1rem; flex: 1; min-width: 180px; }
.top a.site { color: #fff; text-decoration: none; font-size: .9rem; border: 1px solid #3a3a3a; padding: 6px 12px; border-radius: 999px; }
.top a.site:hover { border-color: var(--red); }
.embed .top, .embed .foot { display: none; }
.embed body, body.embed { background: transparent; min-height: 0; }

main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 24px 16px 40px; }
.foot { background: var(--ink); color: #c9c9c9; font-size: .9rem; }
.foot-in { max-width: 1120px; margin: 0 auto; padding: 28px 16px; display: grid; gap: 20px; grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--red); text-decoration: underline; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot h2 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.foot img.badge { height: 48px; background: #fff; border-radius: 8px; margin-top: 12px; display: block; }
.foot small { display: block; color: #8b8b8b; padding: 0 16px 20px; max-width: 1120px; margin: 0 auto; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 22px; font-weight: 600; background: var(--red); color: #fff; text-decoration: none; min-height: 44px; transition: background .15s; }
.btn:hover { background: var(--red-dark); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid #cfd3d9; }
.btn.ghost:hover { border-color: var(--ink); background: #fafafa; }
.btn.link { background: none; color: var(--muted); padding: 8px 4px; min-height: 0; font-weight: 500; }
.muted { color: var(--muted); }
.err { color: #b00020; font-size: .85rem; margin-top: 4px; }
.banner { border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; background: #fff7e6; border: 1px solid #ffd591; color: #6b4a00; }
.banner.error { background: #fff1f0; border-color: #ffa39e; color: #8a1d16; }

/* step 1 */
.hero { margin-bottom: 20px; }
.hero h1 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.hero p { color: var(--muted); margin: 6px 0 0; max-width: 62ch; }
.search { margin: 18px 0; position: relative; max-width: 460px; }
.search input { width: 100%; padding: 13px 16px 13px 44px; border: 1px solid #cfd3d9; border-radius: 12px; font: inherit; background: #fff; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.svc { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; box-shadow: 0 1px 2px rgba(0,0,0,.03); transition: border-color .15s, transform .15s, box-shadow .15s; }
.svc:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow); }
.svc .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--red-tint); display: grid; place-items: center; font-size: 22px; }
.svc h3 { font-size: 1rem; margin-bottom: 3px; }
.svc p { margin: 0 0 8px; font-size: .88rem; color: var(--muted); }
.svc .meta { font-size: .8rem; font-weight: 600; color: var(--ink); }
.svc .meta span { color: var(--red); }
.empty { padding: 40px 16px; text-align: center; color: var(--muted); }

/* step 2 picker */
.picker { display: grid; grid-template-columns: 290px minmax(320px, 1fr) 250px; overflow: hidden; }
.picker > section { padding: 26px; min-width: 0; }
.picker > section + section { border-left: 1px solid var(--line); }
.host { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.host img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #1b1b1b; }
.host b { display: block; color: var(--ink); }
.host span { font-size: .82rem; color: var(--muted); }
.side h2 { font-size: 1.35rem; margin: 8px 0 12px; }
.facts { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; font-size: .92rem; color: var(--muted); }
.facts li { display: flex; gap: 8px; align-items: flex-start; }
.side .about { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.back { background: none; border: 0; color: var(--muted); padding: 4px 0; margin-bottom: 6px; }
.back:hover { color: var(--red); }
.durs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.durs button { border: 1px solid #cfd3d9; background: #fff; border-radius: 999px; padding: 6px 14px; font-size: .9rem; min-height: 36px; }
.durs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head h2 { font-size: 1.1rem; }
.cal-head button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; font-size: 1.2rem; color: var(--red); }
.cal-head button:hover:not([disabled]) { background: var(--red-tint); }
.cal-head button[disabled] { color: #c3c7cd; cursor: not-allowed; }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.dow span { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 6px 0; }
.day { aspect-ratio: 1; max-height: 52px; border-radius: 50%; border: 0; background: none; font-weight: 500; color: #9aa1ab; position: relative; width: 100%; }
.day.avail { background: var(--red-tint); color: var(--red); font-weight: 700; }
.day.avail:hover { background: #fbd0d2; }
.day.today::after { content: ""; position: absolute; bottom: 7px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: currentColor; transform: translateX(-50%); }
.day.sel, .day.sel:hover { background: var(--red); color: #fff; }
.day:disabled { cursor: default; }
.skel { background: linear-gradient(90deg, #eee 25%, #f7f7f7 50%, #eee 75%); background-size: 200% 100%; animation: sh 1.2s infinite; border-radius: 10px; }
@keyframes sh { to { background-position: -200% 0; } }
.day.skel { border-radius: 50%; }
.tzline { margin-top: 18px; font-size: .85rem; color: var(--muted); }
.tzbtn { background: none; border: 0; padding: 0; color: var(--red); text-decoration: underline; }
.tzbox { margin-top: 10px; position: relative; }
.tzbox input { width: 100%; padding: 10px 12px; border: 1px solid #cfd3d9; border-radius: 10px; font: inherit; }
.tzbox ul { position: absolute; z-index: 20; left: 0; right: 0; max-height: 240px; overflow: auto; list-style: none; margin: 4px 0 0; padding: 4px; background: #fff; border: 1px solid #cfd3d9; border-radius: 10px; box-shadow: var(--shadow); }
.tzbox li { padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: .9rem; }
.tzbox li[aria-selected="true"], .tzbox li:hover { background: var(--red-tint); }
.slots-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 8px; }
.slots-head h3 { font-size: 1rem; }
.fmt { display: inline-flex; border: 1px solid #cfd3d9; border-radius: 8px; overflow: hidden; }
.fmt button { border: 0; background: #fff; padding: 4px 8px; font-size: .78rem; }
.fmt button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.slots { display: grid; gap: 8px; max-height: 430px; overflow: auto; padding: 2px 4px 2px 2px; }
.slot { display: grid; grid-template-columns: 1fr; gap: 6px; }
.slot button { border: 1.5px solid var(--red); background: #fff; color: var(--red); font-weight: 700; border-radius: 10px; padding: 11px; min-height: 44px; }
.slot button:hover { background: var(--red-tint); }
.slot.sel { grid-template-columns: 1fr 1fr; }
.slot.sel .t { background: var(--ink); color: #fff; border-color: var(--ink); }
.slot.sel .next { background: var(--red); color: #fff; }
.nodata { color: var(--muted); font-size: .92rem; padding: 12px; background: #fafafa; border-radius: 10px; }

/* step 3 */
.details { display: grid; grid-template-columns: 290px 1fr; overflow: hidden; }
.details > section { padding: 26px; }
.details > section + section { border-left: 1px solid var(--line); }
form .row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.field { margin-bottom: 14px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); padding: 0; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid #cfd3d9; border-radius: 10px; font: inherit; background: #fff; color: var(--text); }
.field textarea { min-height: 110px; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b00020; }
.req { color: var(--red); }
fieldset.field { border: 0; margin: 0 0 14px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 7px 14px; border: 1px solid #cfd3d9; border-radius: 999px; font-size: .88rem; background: #fff; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid #1a73e8; outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 6px 0 16px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* step 4 */
.done { max-width: 640px; margin: 0 auto; padding: 32px; text-align: center; }
.tick { width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 32px; margin: 0 auto 14px; }
.done h1 { font-size: 1.8rem; margin-bottom: 6px; }
.summary { text-align: left; margin: 22px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.summary div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: .93rem; word-break: break-word; }
.summary div:first-child { border-top: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; color: var(--ink); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 10px 0; }
.contact { margin-top: 22px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
dialog { border: 0; border-radius: 16px; padding: 24px; max-width: 460px; width: calc(100% - 32px); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(0,0,0,.5); }
dialog h2 { font-size: 1.2rem; margin-bottom: 10px; }
dialog .field textarea { min-height: 80px; }
dialog menu { display: flex; justify-content: flex-end; gap: 8px; padding: 0; margin: 14px 0 0; }

@media (max-width: 900px) {
  .picker { grid-template-columns: 1fr; }
  .picker > section + section { border-left: 0; border-top: 1px solid var(--line); }
  .details { grid-template-columns: 1fr; }
  .details > section + section { border-left: 0; border-top: 1px solid var(--line); }
  .slots { max-height: none; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  form .row { grid-template-columns: 1fr; }
  .picker > section, .details > section { padding: 18px; }
  .summary div { grid-template-columns: 1fr; gap: 2px; }
  .done { padding: 22px 16px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---- compact one-page service picker (Calendly style) ---- */
body { background: #f6f7f9; font-size: 15px; }
.top-in { padding: 8px 16px; }
.top img { height: 32px; }
.top .ttl { font-size: .9rem; font-weight: 500; color: #d4d4d8; }
.top a.site { font-size: .8rem; padding: 5px 11px; }
main { padding: 20px 16px 28px; }
.pick1 { max-width: 780px; margin: 0 auto; padding: 22px 22px 16px; border: 1px solid var(--line); box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.pick1-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pick1-head img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #1b1b1b; }
.pick1-head h1 { font-size: 1.15rem; }
.pick1-head p { margin: 2px 0 0; font-size: .82rem; color: var(--muted); }
.pick1 .search { margin: 0 0 12px; max-width: none; }
.pick1 .search input { padding: 9px 12px 9px 38px; border-radius: 9px; font-size: .9rem; }
.pick1 .search svg { left: 12px; width: 16px; height: 16px; }
.list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.srow { display: flex; align-items: center; gap: 10px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; min-height: 42px; color: var(--ink); font-size: .88rem; font-weight: 500; transition: border-color .12s, background .12s; }
.srow:hover { border-color: var(--red); background: #fffafa; }
.srow .ico { flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--red-tint); display: grid; place-items: center; font-size: 14px; }
.srow .t { flex: 1; line-height: 1.25; }
.srow .d { flex: none; font-size: .75rem; color: var(--muted); font-weight: 600; background: #f1f2f4; padding: 2px 7px; border-radius: 999px; }
.srow:hover .d { color: var(--red); background: var(--red-tint); }
.foot-in { padding: 14px 16px; gap: 12px; font-size: .82rem; }
.foot h2 { margin-bottom: 6px; }
.foot img.badge { height: 34px; margin-top: 8px; }
.foot small { padding-bottom: 12px; }
.picker, .details { max-width: 980px; margin: 0 auto; border: 1px solid var(--line); }
.picker > section, .details > section { padding: 20px; }
@media (max-width: 640px) { .list { grid-template-columns: 1fr; } .pick1 { padding: 16px 14px; } }

/* ---- brand: light header with the real Techwave logo; ONE checkbox style everywhere ---- */
.top { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.top img { height: 38px; width: auto; }
.top .ttl { color: var(--muted); font-weight: 500; }
.top a.site, .top button.site { color: var(--ink); border: 1px solid #d5d8de; background: #fff; }
.top a.site:hover, .top button.site:hover { border-color: var(--red); color: var(--red); }
.foot { background: #fff; color: var(--muted); border-top: 1px solid var(--line); }
.foot a { color: var(--ink); } .foot h2 { color: var(--ink); } .foot small { color: #8a8f98; }
.foot img.badge { background: none; }

input[type=checkbox] { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid #9aa1ab; border-radius: 5px; background: #fff center / 12px no-repeat; cursor: pointer; transition: background-color .12s, border-color .12s; accent-color: var(--red); }
input[type=checkbox]:hover { border-color: var(--red); }
input[type=checkbox]:checked { background-color: var(--red); border-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3l2.4 2.4 5.2-5.4' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
input[type=checkbox]:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }
.cb { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--text); cursor: pointer; line-height: 1.3; }
.cb.tile { border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; min-height: 40px; background: #fff; transition: border-color .12s, background .12s; }
.cb.tile:hover, .cb.tile:has(input:checked) { border-color: var(--red); background: #fffafa; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea, .inp { border-radius: 9px; border-color: #d5d8de; font-size: .92rem; }
.field input:focus, .field select:focus, .field textarea:focus, .inp:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.btn { border-radius: 9px; font-size: .92rem; }
.top img { height: 46px; } .top-in { padding: 6px 16px; }
.field label.cb, label.cb { display: flex; margin: 0; font-weight: 500; font-size: .88rem; color: var(--text); }
.consent { display: none; }
form > label.cb { margin: 4px 0 14px; }

/* ---- final brand: black header/footer (logo is white-on-black) + red accent ---- */
.top { background: #0f0f0f; border-bottom: 3px solid var(--red); box-shadow: none; }
.top img { height: 44px; width: auto; }
.top .ttl { color: #d4d4d8; }
.top a.site, .top button.site { color: #fff; background: transparent; border: 1px solid #3a3a3a; }
.top a.site:hover, .top button.site:hover { border-color: var(--red); color: #fff; }
.foot { background: #0f0f0f; color: #b5b5bb; border-top: 0; }
.foot a, .foot h2 { color: #fff; } .foot a:hover { color: var(--red); }
.foot small { color: #8b8b93; }
.foot img.badge { height: 44px; width: auto; background: none; border-radius: 6px; }
.sig { display: block; height: 54px; width: auto; margin: 18px auto 0; opacity: .9; }
.sigcap { font-size: .8rem; color: var(--muted); margin: 0; }
.top { background: #000; } .foot { background: #000; }
