/* =====================================================================
   Design system (Canada)
   Palette: deep lake navy, birch-bark white, pine green, sugar-maple
   gold (reserved for booking actions) and maple red (brand mark only).
   Signature: a fine blueprint grid, like a tradesperson's plan sheet.
   Variable names are kept from the first version (indigo = primary,
   faience = secondary, mimosa = action, chaux = page background).
   ===================================================================== */
:root {
  --chaux: #f6f4ef;
  --paper: #ffffff;
  --indigo: #1f3a5f;
  --indigo-600: #2b4d78;
  --indigo-ink: #12233b;
  --ink: #18202e;
  --muted: #5a6474;
  --line: #e4e2dc;
  --line-strong: #d0cdc5;
  --tint: #eaf0f6;
  --faience: #2f6b4f;
  --faience-tint: #e4f0e9;
  --mimosa: #f2a93b;
  --mimosa-deep: #d98e1f;
  --mimosa-tint: #fdf0dc;
  --maple: #d7462e;
  --danger: #b4312a;
  --danger-tint: #fbebea;

  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --arch: 18px;
  --shadow-sm: 0 1px 2px rgba(18, 35, 59, .06);
  --shadow: 0 1px 2px rgba(18, 35, 59, .05), 0 10px 28px -14px rgba(18, 35, 59, .22);
  --shadow-lg: 0 2px 4px rgba(18, 35, 59, .06), 0 28px 60px -24px rgba(18, 35, 59, .38);
  --font: "Readex Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff'%3E%3Cpath stroke-opacity='.05' d='M16 0v80M32 0v80M48 0v80M64 0v80M0 16h80M0 32h80M0 48h80M0 64h80'/%3E%3Cpath stroke-opacity='.11' d='M.5 0v80M0 .5h80'/%3E%3C/g%3E%3Cpath d='M-3 .5h6M.5-3v6' stroke='%23f2a93b' stroke-opacity='.55' transform='translate(0 0)'/%3E%3Cpath d='M77 80.5h6M80.5 77v6' stroke='%23f2a93b' stroke-opacity='.55'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--chaux); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--indigo-ink); }
:focus-visible { outline: 3px solid var(--mimosa-deep); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 600; }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.inline { display: inline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* ------------------------------------------------------------ header */
.site-head {
  position: sticky; top: 0; z-index: 40; color: #fff;
  background: color-mix(in srgb, var(--indigo-ink) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-head { padding-top: env(safe-area-inset-top); }  /* status bar in the installed app */
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 66px; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
.brand { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.4rem; display: flex; align-items: center; gap: 10px; letter-spacing: -0.02em; }
.brand:hover { color: #fff; }
.brand svg { width: 32px; height: 32px; }
.nav { display: flex; gap: 2px; margin-inline-start: auto; align-items: center; }
.nav a, .nav button {
  display: inline-flex; align-items: center; gap: 7px; color: #d8e0ea; text-decoration: none;
  padding: 8px 12px; border-radius: var(--r-sm); font: inherit; font-size: .93rem;
  background: none; border: 0; cursor: pointer; transition: background .15s, color .15s;
}
.nav a:hover, .nav button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav .lang { border: 1px solid rgba(255, 255, 255, .28); margin-inline-start: 6px; color: #fff; }
.nav .cta-pro { background: var(--mimosa); color: var(--ink); font-weight: 600; margin-inline-start: 6px; }
.nav .cta-pro:hover { background: var(--mimosa-deep); color: var(--ink); }
.badge-count { background: var(--mimosa); color: var(--ink); border-radius: 999px; min-width: 20px; padding: 0 6px; font-size: .72rem; font-weight: 700; line-height: 20px; text-align: center; }
.tile-band { display: none; }

/* mobile tab bar: app-like navigation on phones */
.tabbar { display: none; }
@media (max-width: 720px) {
  .nav > :not(.lang):not(form) { display: none; }
  .site-head .wrap { min-height: 58px; }
  .tabbar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; inset: auto 0 0 0;
    z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a, .tabbar button {
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px;
    font: inherit; font-size: .7rem; font-weight: 500; color: var(--muted); text-decoration: none;
    background: none; border: 0; border-radius: var(--r-sm); position: relative;
  }
  .tabbar .i { width: 23px; height: 23px; }
  .tabbar a.on { color: var(--indigo); }
  .tabbar .badge-count { position: absolute; top: 2px; inset-inline-start: 55%; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* ------------------------------------------------------------ flash */
.flashes { margin: 18px auto 0; }
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-md); margin-bottom: 8px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.flash::before { content: ""; width: 4px; align-self: stretch; border-radius: 4px; flex: none; }
.flash.success::before { background: var(--faience); }
.flash.error::before { background: var(--danger); }
.flash.info::before { background: var(--indigo); }

main { padding: 32px 0 72px; }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden; color: #fff; margin-top: -32px;
  background: var(--pattern) center / 80px 80px, radial-gradient(1200px 600px at 85% -10%, #2f5b8a 0%, transparent 60%), var(--indigo);
  padding: 64px 0 96px;
}
.hero::after {  /* soft fade into the page */
  content: ""; position: absolute; inset: auto 0 0 0; height: 70px;
  background: linear-gradient(to bottom, transparent, rgba(18, 35, 59, .25));
}
.hero .wrap > * { min-width: 0; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 14ch; margin-bottom: .35em; }
.hero .sub { color: #c9d5e4; font-size: 1.1rem; max-width: 46ch; margin-bottom: 28px; }

.search-tile {
  background: var(--paper); color: var(--ink); border-radius: var(--r-xl); padding: 22px 24px 24px;
  box-shadow: var(--shadow-lg); max-width: 640px;
}
.sentence {
  font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 600; line-height: 2;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
}
.sentence select {
  font: inherit; font-weight: 700; color: var(--indigo-ink); background-color: var(--mimosa-tint);
  border: 0; border-bottom: 3px solid var(--mimosa); border-radius: var(--r-sm) var(--r-sm) 4px 4px;
  padding: 0 34px 0 12px; width: auto; max-width: 100%; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2313265c' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; transition: background-color .15s;
}
.sentence select:hover { background-color: #fbe3bd; }
.search-tile .go-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.search-tile .go-row p { margin: 0; color: var(--muted); font-size: .88rem; display: flex; align-items: center; gap: 6px; }
.search-tile .go-row .i { color: var(--faience); }

/* the trade board beside the hero, tiled with trades */
.doorway {
  justify-self: end; width: min(100%, 380px); aspect-ratio: 1; padding: 12px;
  border-radius: var(--r-xl); background: rgba(255, 255, 255, .08); transform: rotate(-2deg);
  border: 1px solid rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .04);
}
.doorway-inner {
  height: 100%; border-radius: var(--r-lg); overflow: hidden;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 6px;
}
.doorway a {
  display: grid; place-items: center; color: #fff; background: var(--indigo-600); text-decoration: none;
  transition: transform .25s var(--ease), filter .2s;
}
.doorway a:nth-child(4n+1) { background: var(--faience); }
.doorway a:nth-child(4n+2) { background: var(--indigo-ink); }
.doorway a:nth-child(4n+3) { background: var(--mimosa); color: var(--indigo-ink); }
.doorway a:nth-child(6n) { background: #f6f4ef; color: var(--indigo); }
.doorway a:hover { filter: brightness(1.12); }
.doorway .i { width: 30px; height: 30px; stroke-width: 1.7; }
@media (prefers-reduced-motion: no-preference) {
  .doorway a { animation: tile-in .45s var(--ease) both; }
  .doorway a:nth-child(3n+2) { animation-delay: .06s; } .doorway a:nth-child(3n) { animation-delay: .12s; }
  .doorway a:nth-child(n+4) { animation-delay: .18s; } .doorway a:nth-child(n+7) { animation-delay: .26s; }
  .doorway a:nth-child(n+10) { animation-delay: .34s; }
  @keyframes tile-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
}
@media (max-width: 900px) {
  .hero { padding: 40px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .doorway { display: none; }
}


/* ------------------------------------------------------------ hero search bar (slim pill) */
.searchbar {
  display: flex; align-items: center; gap: 0; max-width: 640px; padding: 6px;
  background: var(--paper); color: var(--ink); border-radius: 999px;
  box-shadow: 0 18px 44px -18px rgba(8, 18, 32, .55), 0 0 0 1px rgba(255, 255, 255, .6);
}
.sb-field {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; margin: 0;
  padding: 6px 14px; border-radius: 999px; cursor: pointer; transition: background .15s;
}
.sb-field:hover { background: var(--chaux); }
.sb-field:focus-within { background: var(--tint); }
.sb-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--indigo); }
.sb-ico .i { width: 17px; height: 17px; }
.sb-field + .sb-divider + .sb-field .sb-ico { background: var(--faience-tint); color: var(--faience); }
.sb-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sb-label { font-size: .72rem; font-weight: 500; color: var(--muted); line-height: 1.2; }
.sb-field select {
  border: 0; padding: 0; margin: 0; background: transparent; box-shadow: none; width: 100%;
  font: inherit; font-weight: 600; font-size: .98rem; color: var(--ink); line-height: 1.35;
  appearance: none; cursor: pointer; text-overflow: ellipsis;
}
.sb-field select:focus { box-shadow: none; outline: none; }
.searchbar .sb-field input { border: 0; padding: 0; background: transparent; font: inherit; font-weight: 600; color: var(--ink); width: 100%; min-height: 0; box-shadow: none; }
.searchbar .sb-field input:focus { box-shadow: none; outline: none; }
.searchbar .sb-field input::placeholder { color: var(--ink); font-weight: 600; opacity: .9; }
.sb-divider { width: 1px; height: 30px; background: var(--line); flex: none; }
.sb-go {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px;
  border: 0; border-radius: 999px; background: var(--mimosa); color: var(--indigo-ink);
  font: inherit; font-weight: 600; cursor: pointer; transition: background .15s, transform .1s;
}
.sb-go:hover { background: var(--mimosa-deep); }
.sb-go:active { transform: scale(.98); }
.sb-go .i { width: 19px; height: 19px; }
.quick-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; max-width: 640px; }
.quick-picks a {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
  color: #e5ebf2; text-decoration: none; font-size: .86rem; font-weight: 500;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  transition: background .15s, border-color .15s;
}
.quick-picks a:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .35); color: #fff; }
.quick-picks .i { width: 15px; height: 15px; opacity: .85; }
.hero-note { display: flex; align-items: center; gap: 7px; margin: 16px 0 0; font-size: .84rem; color: #b9c6d6; }
.hero-note .i { width: 15px; height: 15px; color: var(--mimosa); }
@media (min-width: 621px) { .quick-picks a:nth-child(n+4):not(.pick-women) { display: none; } }
@media (max-width: 620px) {
  .quick-picks { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 14px -20px 0; padding: 0 20px; }
  .quick-picks::-webkit-scrollbar { display: none; }
  .quick-picks a { flex: none; }
  .searchbar { flex-direction: column; align-items: stretch; border-radius: var(--r-xl); padding: 8px; }
  .sb-field { padding: 10px 12px; border-radius: var(--r-lg); }
  .sb-divider { width: auto; height: 1px; margin: 0 12px; }
  .sb-go { justify-content: center; margin-top: 6px; border-radius: var(--r-lg); }
}

/* trust strip, overlapping the hero */
.trust {
  position: relative; z-index: 2; margin-top: -44px; background: var(--paper); border-radius: var(--r-lg);
  box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust div { padding: 18px 22px; display: flex; gap: 12px; align-items: center; }
.trust div + div { border-inline-start: 1px solid var(--line); }
.trust .i { width: 26px; height: 26px; color: var(--faience); }
.trust strong { display: block; font-size: 1.25rem; line-height: 1.2; }
.trust span { color: var(--muted); font-size: .85rem; line-height: 1.3; display: block; }
@media (max-width: 760px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .trust div:nth-child(3) { border-inline-start: 0; }
  .trust div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .trust div { padding: 14px; }
}

/* ------------------------------------------------------------ buttons & forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  padding: 11px 20px; border-radius: var(--r-sm); border: 1.5px solid var(--indigo);
  background: var(--indigo); color: #fff; line-height: 1.2;
  transition: background .15s, border-color .15s, color .15s, transform .1s, box-shadow .15s;
}
.btn:hover { background: var(--indigo-ink); border-color: var(--indigo-ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: var(--paper); color: var(--indigo); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--tint); border-color: var(--indigo); color: var(--indigo); }
.btn.book { background: var(--mimosa); border-color: var(--mimosa); color: var(--indigo-ink); box-shadow: 0 6px 16px -8px rgba(217, 142, 31, .7); }
.btn.book:hover { background: var(--mimosa-deep); border-color: var(--mimosa-deep); color: var(--indigo-ink); }
.btn.danger { background: var(--paper); border-color: #e7b9b5; color: var(--danger); }
.btn.danger:hover { background: var(--danger-tint); border-color: var(--danger); }
.btn.ok { background: var(--faience); border-color: var(--faience); color: #fff; }
.btn.ok:hover { background: #24563f; border-color: #24563f; }
.btn.sm { padding: 7px 13px; font-size: .86rem; }
.btn.lg { padding: 15px 28px; font-size: 1.05rem; border-radius: var(--r-md); }
.btn.block { width: 100%; }
.btn .i { width: 1.1em; height: 1.1em; }

label { display: block; font-weight: 500; font-size: .9rem; margin: 0 0 6px; color: var(--ink); }
.field { margin-bottom: 18px; }
.hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel],
input[type=number], input[type=date], input[type=search], input[type=file], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); padding: 11px 13px;
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: #8a92a6; }
input:hover, select:hover, textarea:hover { border-color: #b3bccc; }
input:focus, select:focus, textarea:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 4px rgba(31, 58, 95, .14); }
input[type=file] { padding: 9px; background: var(--chaux); }
textarea { min-height: 128px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: 14px; align-items: end; }
@media (max-width: 560px) { .row2, .row3 { grid-template-columns: 1fr; } }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 1.2rem; }
.form-card { box-shadow: var(--shadow); padding: 30px; }
@media (max-width: 560px) { .panel, .form-card { padding: 20px; } }

.page-head { margin-bottom: 22px; }
.page-head h1 { margin-bottom: .2em; }
.page-head p { color: var(--muted); margin: 0; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--tint); border-radius: var(--r-md); margin-bottom: 20px; }
.segmented a { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 11px; text-decoration: none; font-weight: 600; border-radius: var(--r-sm); color: var(--muted); }
.segmented a.on { background: var(--paper); color: var(--indigo); box-shadow: var(--shadow-sm); }

.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills label { margin: 0; font-weight: 400; position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; }
.pills span { display: inline-block; padding: 7px 13px; border: 1.5px solid var(--line-strong); border-radius: 999px; cursor: pointer; font-size: .87rem; background: var(--paper); transition: all .12s; }
.pills input:checked + span { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.pills input:focus-visible + span { outline: 3px solid var(--mimosa-deep); outline-offset: 2px; }
.scroll-box { max-height: 210px; overflow-y: auto; padding: 8px; border: 1.5px solid var(--line); border-radius: var(--r-sm); }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .choice { grid-template-columns: 1fr; } }
.choice-card { margin: 0; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); font-weight: 400; transition: border-color .15s, background .15s; }
.choice-card:hover { border-color: var(--indigo); }
.choice-card:has(input:checked) { border-color: var(--indigo); background: var(--tint); box-shadow: inset 0 0 0 1px var(--indigo); }
.choice-card input { margin-top: 5px; accent-color: var(--indigo); }
.choice-card strong { display: flex; align-items: center; gap: 7px; }
.choice-card small { color: var(--muted); display: block; margin-top: 2px; }

.field.check { display: flex; gap: 10px; align-items: flex-start; }
.field.check input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--indigo); flex: none; }
.field.check label { margin: 0; font-weight: 400; color: var(--muted); }

/* ------------------------------------------------------------ sections */
.section { margin-top: 64px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* trades */
.trades { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 10px; }
.trade {
  display: flex; align-items: center; gap: 12px; padding: 12px; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .15s, box-shadow .2s, transform .2s var(--ease);
}
.trade:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.trade-ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--tint); color: var(--indigo);
}
.trade:nth-child(3n+2) .trade-ico { background: var(--faience-tint); color: var(--faience); }
.trade:nth-child(3n) .trade-ico { background: var(--mimosa-tint); color: #8a5a00; }
.trade-ico .i { width: 22px; height: 22px; }
.trade b { display: block; font-weight: 500; font-size: .93rem; line-height: 1.3; }
.trade small { display: block; color: var(--muted); font-size: .78rem; }

/* steps (a real sequence, so numbered) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; position: relative; }
.steps .step-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--indigo); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.steps .step-ico .i { width: 24px; height: 24px; }
.steps li::after { content: counter(s); position: absolute; top: 20px; inset-inline-end: 22px; font-size: 2.4rem; font-weight: 700; color: var(--tint); line-height: 1; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* reviews */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.quote-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.quote-card blockquote { margin: 0; font-size: 1.05rem; line-height: 1.55; flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); }
.quote-card figcaption b { color: var(--ink); font-weight: 600; display: block; }
.stars-row { color: var(--mimosa-deep); display: flex; gap: 2px; }
.stars-row .i { width: 16px; height: 16px; fill: currentColor; }

/* pro band */
.pro-band {
  position: relative; overflow: hidden; color: #fff; border-radius: var(--r-xl); padding: 40px;
  background: var(--pattern) center / 80px 80px, linear-gradient(135deg, var(--faience), #1f4d38);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center;
}
.pro-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.pro-band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pro-band li { display: flex; gap: 10px; align-items: center; color: #e1efe7; }
.pro-band li .i { color: var(--mimosa); }
.pro-band .cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pro-band .cta p { margin: 0; color: #c6e0d2; font-size: .9rem; }
@media (max-width: 760px) { .pro-band { grid-template-columns: 1fr; padding: 28px; } }

/* ------------------------------------------------------------ avatars */
.avatar {
  width: 64px; height: 76px; border-radius: var(--arch); object-fit: cover; flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; color: #fff;
  background: var(--indigo); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25);
}
.avatar.sm { width: 46px; height: 54px; font-size: 1rem; }
.avatar.lg { width: 120px; height: 144px; font-size: 2.4rem; box-shadow: 0 0 0 5px var(--paper), var(--shadow); }

/* ------------------------------------------------------------ artisan cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow .2s, transform .2s var(--ease), border-color .2s;
}
.card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.card.is-featured { border-color: #f1d29b; background: linear-gradient(180deg, #fffaf0, var(--paper) 40%); }
.card-top { display: flex; gap: 14px; align-items: flex-start; }
.card h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }  /* whole card clickable */
.card .btn { position: relative; z-index: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.price-tag small { display: block; color: var(--muted); font-size: .75rem; line-height: 1.2; }
.price-tag strong { font-size: 1.08rem; }
.price-tag span { color: var(--muted); font-size: .82rem; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: .87rem; color: var(--muted); }
.meta > span { display: inline-flex; align-items: center; gap: 5px; }
.meta .i { width: 15px; height: 15px; color: #8a92a6; }
.stars { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 600; }
.stars .i { color: var(--mimosa-deep); fill: var(--mimosa); width: 15px; height: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tag .i { width: 13px; height: 13px; }
.tag.verified { background: var(--faience-tint); color: var(--faience); }
.tag.featured { background: var(--mimosa-tint); color: #7a4c00; }

/* list rows (search results) */
.results { display: grid; gap: 12px; }
.pro-row {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px;
  transition: box-shadow .2s, border-color .2s;
}
.pro-row:hover { box-shadow: var(--shadow); border-color: transparent; }
.pro-row.is-featured { border-color: #f1d29b; background: linear-gradient(90deg, #fffaf0, var(--paper) 45%); }
.pro-row h3 { margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pro-row h3 a { color: var(--ink); text-decoration: none; }
.pro-row h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pro-row .btn { position: relative; z-index: 1; }
.pro-row .meta + .meta { margin-top: 4px; }
.price { text-align: end; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.price small { display: block; color: var(--muted); font-size: .75rem; }
.price strong { font-size: 1.12rem; line-height: 1.2; }
.price span { color: var(--muted); font-size: .8rem; }
@media (max-width: 640px) {
  .pro-row { grid-template-columns: auto 1fr; gap: 14px; padding: 14px; }
  .price { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; text-align: start; padding-top: 12px; border-top: 1px dashed var(--line); }
}

/* search filters */
.filter-bar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow); margin-bottom: 20px; }
.filters { display: grid; grid-template-columns: 1.1fr 1fr 1.05fr .85fr auto .9fr auto; gap: 8px; }
.filters input, .filters select { border-color: var(--line); background-color: var(--chaux); }
@media (max-width: 960px) {
  .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .filters button { grid-column: 1 / -1; }
  .filters .filter-check { white-space: normal; line-height: 1.2; padding: 0 10px; overflow-wrap: anywhere; }
  .filters > * { min-width: 0; }
}
.results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: var(--muted); font-size: .92rem; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; }
.link-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.link-cloud a { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-size: .9rem; }
.link-cloud a:hover { border-color: var(--indigo); }

/* ------------------------------------------------------------ profile */
.profile-cover {
  margin-top: -32px; height: 170px;
  background: var(--pattern) center / 80px 80px, radial-gradient(900px 300px at 80% 0%, #2f5b8a, transparent 60%), var(--indigo);
}
.profile-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; position: relative; margin-bottom: 22px; }
.profile-cover + .wrap .profile-head { margin-top: -84px; align-items: flex-start; gap: 22px; margin-bottom: 0; }
.profile-cover + .wrap .profile-head .info { padding-top: 96px; }
@media (max-width: 560px) { .profile-cover + .wrap .profile-head .info { padding-top: 0; flex-basis: 100%; } }
.profile-head h1 { margin: 0 0 6px; }
.profile-head .info { padding-bottom: 6px; flex: 1; min-width: 240px; }
.profile-grid { display: grid; grid-template-columns: 1fr 340px; gap: 22px; margin-top: 28px; align-items: start; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } .profile-grid aside { position: static; } }
.sticky { position: sticky; top: 86px; }
.book-card { box-shadow: var(--shadow); }
.book-card .price-big { font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.book-card .actions-col { display: grid; gap: 8px; margin-top: 18px; }
.review { border-top: 1px solid var(--line); padding: 16px 0; }
.review:first-of-type { border-top: 0; padding-top: 4px; }
.review p { margin: 8px 0 0; }
dl.facts { margin: 0; display: grid; gap: 14px; }
dl.facts > div:has(> .i) { display: flex; gap: 12px; align-items: flex-start; }
dl.facts .i { color: var(--faience); margin-top: 3px; }
dl.facts dt { font-size: .8rem; color: var(--muted); }
dl.facts dd { margin: 0; font-weight: 500; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 80px 80px var(--r-sm) var(--r-sm); background: var(--line); transition: transform .3s var(--ease); }
.gallery a:hover img { transform: scale(1.02); }
.gallery figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; display: flex; justify-content: space-between; gap: 6px; align-items: center; }

details.report { margin-top: 14px; }
details.report summary { cursor: pointer; color: var(--muted); font-size: .85rem; width: fit-content; display: flex; align-items: center; gap: 6px; list-style: none; }
details.report summary::-webkit-details-marker { display: none; }
.report-form { margin-top: 10px; }
blockquote.quote { margin: 8px 0; padding: 10px 14px; border-inline-start: 3px solid var(--line-strong); color: var(--muted); background: var(--chaux); border-radius: 0 var(--r-sm) var(--r-sm) 0; }

/* sticky booking bar on phones (profile page) */
.mobile-book { display: none; }
@media (max-width: 720px) {
  .mobile-book {
    display: flex; justify-content: space-between; align-items: center; gap: 12px; position: fixed; z-index: 45;
    inset: auto 12px calc(76px + env(safe-area-inset-bottom)) 12px; padding: 10px 10px 10px 16px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  }
  body:has(.mobile-book) { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
}

/* ------------------------------------------------------------ pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--indigo); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--indigo); color: #fff; font-size: .76rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.2rem; }
.plan .amount { font-size: 2.3rem; font-weight: 700; margin: 6px 0 0; letter-spacing: -0.02em; line-height: 1.1; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; flex: 1; display: grid; gap: 10px; align-content: start; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .i { color: var(--faience); margin-top: 3px; }
.trial { margin-top: 24px; text-align: center; }

/* ------------------------------------------------------------ dashboards */
.status-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; padding: 16px 20px; border-radius: var(--r-lg); margin-bottom: 20px; border: 1px solid; }
.status-bar.on { background: var(--faience-tint); border-color: #c3dccd; }
.status-bar.off { background: var(--mimosa-tint); border-color: #f3d39f; }
.status-bar p { margin: 0; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.status-bar.on p .i { color: var(--faience); }
.status-bar.off p .i { color: #a8650a; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 30px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.stat .stat-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--indigo); margin-bottom: 10px; }
.stat strong { display: block; font-size: 1.7rem; line-height: 1.15; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: .86rem; }
.stat a { font-size: .86rem; }
.job { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; margin-bottom: 12px; }
.job-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.job-top h3 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.job p { margin: 10px 0; }
.job .contact { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .9rem; padding: 10px 12px; background: var(--chaux); border-radius: var(--r-sm); }
.job .contact > * { display: inline-flex; gap: 6px; align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.actions input[type=text], .actions input[type=number] { flex: 1; min-width: 170px; padding: 8px 11px; }
.st { align-self: flex-start; font-size: .76rem; font-weight: 600; padding: 3px 11px; border-radius: 999px; background: var(--tint); color: var(--indigo); white-space: nowrap; }
.st-accepted, .st-paid { background: var(--faience-tint); color: var(--faience); }
.st-declined, .st-cancelled, .st-rejected, .st-failed { background: var(--danger-tint); color: var(--danger); }
.st-completed, .st-expired { background: #eceef2; color: var(--muted); }
.st-pending { background: var(--mimosa-tint); color: #7a4c00; }
h2.group { display: flex; align-items: center; gap: 10px; margin: 34px 0 14px; font-size: 1.2rem; }
h2.group .count { background: var(--tint); color: var(--indigo); font-size: .8rem; padding: 2px 10px; border-radius: 999px; }
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-weight: 600; color: var(--muted); font-size: .8rem; background: var(--chaux); }
.progress { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 10px 0 6px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--faience), #4c9a73); border-radius: 999px; }
.rating-input { display: flex; gap: 4px; }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); background: var(--paper); border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); }
.empty .i { width: 30px; height: 30px; color: #9aa3b5; margin: 0 auto 8px; display: block; }
.empty p { margin-bottom: 14px; }

.code-input { font-size: 1.7rem; letter-spacing: .45em; text-align: center; font-weight: 600; }
.legal h2 { margin-top: 1.8em; font-size: 1.15rem; }
.legal p, .legal li { max-width: 68ch; }

/* ------------------------------------------------------------ footer */
footer { background: var(--indigo-ink); color: #b7c3d3; margin-top: 24px; font-size: .9rem; }
footer .wrap { padding-top: 48px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
footer h4 { color: #fff; font-size: .95rem; margin: 0 0 12px; font-weight: 600; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { color: #b7c3d3; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .brand { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-bottom .footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media print {
  .site-head, .tabbar, footer, .no-print, .flashes { display: none !important; }
  body, main { background: #fff; padding: 0; }
  .panel { border: 0; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------ language menu */
.nav details.lang { position: relative; border: 0; padding: 0; }
.nav details.lang summary {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: .9rem; font-weight: 600;
  cursor: pointer; list-style: none; letter-spacing: .02em; user-select: none;
}
.nav details.lang summary::-webkit-details-marker { display: none; }
.nav details.lang summary:hover, .nav details.lang[open] summary { background: rgba(255, 255, 255, .12); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 170px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 6px; display: grid; gap: 2px;
}
.nav .lang-menu a {
  display: flex; align-items: center; gap: 8px; color: var(--ink); padding: 9px 12px;
  border-radius: var(--r-sm); font-size: .95rem;
}
.nav .lang-menu a:hover { background: var(--tint); color: var(--indigo); }
.nav .lang-menu a[aria-current] { color: var(--indigo); font-weight: 600; }
.nav .lang-menu a:not([aria-current]) { padding-inline-start: 34px; }  /* align with the checked item */
.lang-menu .i { color: var(--faience); width: 16px; height: 16px; }

/* ------------------------------------------------------------ Canada additions */
.tag.licensed { background: var(--tint); color: var(--indigo); }
.tag.insured { background: var(--faience-tint); color: var(--faience); }
.totals { margin: 6px 0 22px; max-width: 420px; }
.totals .grand { border-top: 1px solid var(--line-strong); padding-top: 8px; font-weight: 700; }
.pill-check { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line-strong);
  border-radius: 999px; font-size: .88rem; background: var(--paper); cursor: pointer; }
.pill-check input { width: auto; margin: 0; }
.legal h2 { margin-top: 1.6em; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; background: var(--tint); padding: 1px 6px; border-radius: 6px; }
.tag.woman { background: #f6e8f1; color: #7a2e5c; }
.filter-check { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; min-height: 44px; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm); background: var(--paper); font-size: .92rem; cursor: pointer; white-space: nowrap; }
.filter-check input { width: auto; margin: 0; }
.filter-check:has(input:checked) { border-color: #7a2e5c; background: #f6e8f1; color: #7a2e5c; }
.woman-check { background: #fbf3f8; border: 1px solid #ecd3e3; border-radius: var(--r-md); padding: 12px 14px; }
.woman-check .i { color: #7a2e5c; }
.quick-picks a.pick-women { background: rgba(246, 232, 241, .16); border-color: rgba(246, 232, 241, .45); }
