:root {
  /* Stopleak palette: beige page #f4f2ee, lines #e4e1dc, muted #6b6660, ink #1f2937, red from config.js */
  --background: 40 21% 95%;
  --foreground: 215 28% 17%;
  --card: 0 0% 100%;
  --primary: 0 71% 47%;
  --primary-foreground: 0 0% 100%;
  --secondary: 38 13% 88%;
  --muted: 40 21% 93%;
  --muted-foreground: 33 5% 40%;
  --destructive: 0 72% 50%;
  --border: 38 13% 88%;
  --input: 38 13% 88%;
  --radius: .75rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
}
*, *::before, *::after { box-sizing: border-box; border: 0 solid hsl(var(--border)); }
html { -webkit-text-size-adjust: 100%; line-height: 1.5;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; }
body { margin: 0; background: hsl(var(--background)); color: hsl(var(--foreground)); font-feature-settings: "rlig" 1, "calt" 1; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; margin: 0; }
button { background: none; cursor: pointer; padding: 0; }
img, svg { display: block; }

.layout { display: flex; min-height: 100vh; flex-direction: column; background: hsl(var(--background)); }
main { flex: 1; }
.bar { height: 3px; width: 100%; background: hsl(var(--primary)); }

/* Header */
header { position: sticky; top: 0; z-index: 40; width: 100%; background: hsl(var(--background) / .8);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.header-inner { margin: 0 auto; display: flex; height: 4rem; max-width: 64rem; align-items: center; justify-content: center; padding: 0 1rem; }
.logo { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; letter-spacing: -.025em; user-select: none; }
.logo img { height: 2.5rem; width: auto; max-width: 180px; object-fit: contain; }
.logo-ph { height: 2.5rem; width: 2.5rem; border-radius: .5rem; background: hsl(var(--primary)); color: #fff; display: flex; align-items: center; justify-content: center; }
.logo-ph svg { width: 1.4rem; height: 1.4rem; }
.logo span { font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }

/* Footer badges */
footer { margin-top: auto; width: 100%; }
.badges { margin: 0 auto; display: grid; width: 100%; max-width: 48rem; grid-template-columns: repeat(2, 1fr); gap: .75rem; padding: 1.5rem 1rem; }
.badge { display: flex; flex-direction: column; align-items: center; gap: .5rem; border-radius: var(--radius); border-width: 1px;
  background: hsl(var(--card)); padding: 1rem .75rem; text-align: center; box-shadow: var(--shadow-sm); }
.badge svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--primary)); }
.badge span { font-size: .75rem; line-height: 1rem; font-weight: 500; }

/* Sections */
.section { margin: 0 auto; max-width: 48rem; padding: 2.5rem 1rem 5rem; text-align: center; }
.section.narrow { max-width: 42rem; padding-top: 3rem; }
.h1 { margin: 0 auto; max-width: 42rem; text-wrap: balance; font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; letter-spacing: -.025em; }
.lead { margin: 1rem auto 0; max-width: 36rem; font-size: 1rem; line-height: 1.5rem; color: hsl(var(--muted-foreground)); }
.pill { display: inline-block; border-radius: 9999px; background: hsl(var(--primary) / .1); padding: .375rem 1rem; font-size: .75rem; line-height: 1rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: .025em; color: hsl(var(--primary)); }

/* Card */
.card { border-radius: var(--radius); border-width: 1px; border-color: hsl(var(--border) / .8); background: hsl(var(--card)); box-shadow: var(--shadow-sm); }
.quiz-card { margin: 2.5rem auto 0; width: 100%; max-width: 36rem; }
.progress { margin: 1.5rem 1.5rem 0; position: relative; height: .375rem; overflow: hidden; border-radius: 9999px; background: hsl(var(--secondary)); }
.progress > div { height: 100%; width: 100%; background: hsl(var(--primary)); transition: transform .15s; }
.quiz-body { padding: 1.25rem 1.5rem 2rem; }
.quiz-body > * + * { margin-top: 1.5rem; }
.step { text-align: left; animation: step-in .35s cubic-bezier(.16,1,.3,1); }
.step > * + * { margin-top: 1rem; }
.step-label { font-size: .75rem; line-height: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: hsl(var(--muted-foreground)); }
.step h2 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }

.grid1 { display: grid; gap: .75rem; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.opt { position: relative; border-radius: .75rem; border-width: 2px; background: hsl(var(--card)); transition: all .15s ease-out; }
/* Hover only on devices with a mouse: on iPhone, Safari keeps :hover on the last tapped spot,
   which made the tile under your finger look selected on the next step or after a refresh. */
@media (hover: hover) and (pointer: fine) {
  .opt:hover { border-color: hsl(var(--primary)); background: hsl(var(--primary) / .05); transform: translateY(-.125rem); }
  .day.avail:hover { background: hsl(var(--primary) / .2); }
  .slot:hover { border-color: hsl(var(--primary)); }
  .cpill:hover { background: hsl(var(--primary) / .07); border-color: hsl(var(--primary)); }
}
.opt.sel { border-color: hsl(var(--primary)); background: hsl(var(--primary) / .05); transform: translateY(-.125rem); }
.opt-row { display: flex; width: 100%; align-items: center; justify-content: center; padding: 1rem 1.5rem; font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.opt-row .chk { position: absolute; right: 1.25rem; top: 50%; margin-top: -.625rem; }
.opt-tile { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 1.25rem .75rem; text-align: center; min-width: 0; overflow-wrap: break-word; }
@media (max-width: 400px) { .opt-tile { padding-inline: .5rem; } .opt-tile span { font-size: .8125rem; } }
.opt-tile.time { padding: 1.25rem 1rem; }
.opt-tile .ico { width: 2rem; height: 2rem; }
.opt-tile.time .ico { width: 2.25rem; height: 2.25rem; }
.opt-tile span { font-size: .875rem; line-height: 1.25; font-weight: 500; }
.opt-tile.time span { font-weight: 700; }
.opt-tile .chk { position: absolute; right: .75rem; top: .75rem; }
.chk { width: 1.25rem; height: 1.25rem; color: hsl(var(--primary)); animation: scale-in .2s cubic-bezier(.16,1,.3,1); }

.fields { display: grid; gap: 1rem; }
.field { display: grid; gap: .5rem; }
label { font-size: .875rem; font-weight: 500; line-height: 1; }
input { display: flex; height: 2.5rem; width: 100%; border-radius: calc(var(--radius) - 2px); border: 1px solid hsl(var(--input));
  background: hsl(var(--background)); padding: .5rem .75rem; font-size: 1rem; }
input::placeholder { color: hsl(var(--muted-foreground)); }
input:focus-visible { outline: none; box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--primary)); }
.btn { width: 100%; border-radius: .75rem; background: hsl(var(--primary)); padding: .875rem 1.5rem; font-size: .875rem; line-height: 1.25rem;
  font-weight: 600; color: hsl(var(--primary-foreground)); transition: filter .15s; display: inline-flex; align-items: center; justify-content: center; }
.btn:hover { filter: brightness(1.05); }
.btn:disabled { cursor: not-allowed; opacity: .4; }
.btn svg { margin-left: .25rem; width: 1rem; height: 1rem; }
.back { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 500; color: hsl(var(--muted-foreground)); transition: color .15s; }
.back:hover { color: hsl(var(--foreground)); }
.back svg { width: 1rem; height: 1rem; }
.back-wrap { padding-top: .25rem; text-align: left; }

.trust { margin-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: .375rem; }
.stars { display: flex; gap: .25rem; }
.stars svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--primary)); fill: hsl(var(--primary)); }
.stars.tight { gap: .125rem; }
.trust p { font-size: .875rem; line-height: 1.25rem; font-weight: 700; }

/* Schedule */
.cal-card { margin: 2.5rem auto 0; width: 100%; max-width: 36rem; box-shadow: 0 10px 15px -3px hsl(var(--foreground) / .05), 0 4px 6px -4px hsl(var(--foreground) / .05); }
.card-head { display: flex; flex-direction: column; gap: .375rem; padding: 1.5rem; }
.card-head h3 { font-size: 1.25rem; line-height: 1; font-weight: 600; letter-spacing: -.025em; text-align: center; }
.card-head p { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); text-align: center; }
.card-content { padding: 0 1.5rem 1.5rem; }
.cal-frame { position: relative; height: 650px; width: 100%; overflow: hidden; border-radius: var(--radius); border-width: 1px; background: hsl(var(--muted) / .3); }
.cal-frame .loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; color: hsl(var(--muted-foreground)); }
.spinner { width: 2rem; height: 2rem; border-radius: 9999px; border: 2px solid hsl(var(--primary) / .3); border-top-color: hsl(var(--primary)); animation: spin 1s linear infinite; }
.cal-frame .loading span { font-size: .875rem; font-weight: 500; }
.cal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: hsl(var(--card)); }
.small-note { margin-top: 1.5rem; font-size: .75rem; line-height: 1rem; color: hsl(var(--muted-foreground)); }

/* Thank you */
.ty-icon { margin: 0 auto; display: flex; width: 4rem; height: 4rem; align-items: center; justify-content: center; border-radius: 9999px; background: hsl(var(--primary) / .1); }
.ty-icon svg { width: 2.25rem; height: 2.25rem; color: hsl(var(--primary)); }
.mt6 { margin-top: 1.5rem; }
.ty-lead { max-width: 32rem; }
.subhead { margin-bottom: 1rem; font-size: .875rem; line-height: 1.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: .025em; color: hsl(var(--muted-foreground)); text-align: center; }
.steps { margin-top: 2.5rem; text-align: left; }
.steps .grid1 .card { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; }
.step-ico { display: flex; width: 2.5rem; height: 2.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: var(--radius); background: hsl(var(--primary) / .1); }
.step-ico svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--primary)); }
.steps .t { font-size: .875rem; line-height: 1.25rem; font-weight: 600; }
.steps .d { margin-top: .125rem; font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
.contact { margin-top: 2.5rem; }
.contact-row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.contact-row a { display: inline-flex; align-items: center; gap: .5rem; border-radius: var(--radius); border-width: 1px; background: hsl(var(--card));
  padding: .75rem 1.25rem; font-size: .875rem; font-weight: 500; box-shadow: var(--shadow-sm); transition: border-color .15s; }
.contact-row a:hover { border-color: hsl(var(--primary) / .5); }
.contact-row svg { width: 1rem; height: 1rem; color: hsl(var(--primary)); }

.reviews { margin: 0 auto; max-width: 56rem; padding: 3rem 1rem; }
.h2 { text-wrap: balance; text-align: center; font-size: 1.5rem; line-height: 2rem; font-weight: 700; letter-spacing: -.025em; }
.g-pill-wrap { margin-top: 1.5rem; display: flex; justify-content: center; }
.g-pill { display: inline-flex; align-items: center; gap: .75rem; border-radius: 9999px; border-width: 1px; background: hsl(var(--card)); padding: .5rem 1.25rem; box-shadow: var(--shadow-sm); }
.g-pill span { font-size: .875rem; font-weight: 600; }
.review-grid { margin-top: 2rem; display: grid; gap: 1.25rem; }
.review { padding: 1.25rem; border-radius: .75rem; }
.review-top { display: flex; align-items: center; justify-content: space-between; }
.review-top p { font-size: .875rem; font-weight: 600; }
.review-top .stars { transform: scale(.9); }
.review .body { margin-top: .75rem; font-size: .875rem; line-height: 1.625; color: hsl(var(--muted-foreground)); }
.gallery { margin: 0 auto; max-width: 64rem; padding: 1rem 1rem 4rem; }
.gallery-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.gallery-grid > div { overflow: hidden; border-radius: var(--radius); border-width: 1px; border-color: hsl(var(--border) / .8); box-shadow: var(--shadow-sm); }
.gallery-grid img, .gallery-grid .ph { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .3s; }
.gallery-grid img:hover { transform: scale(1.05); }
.gallery-grid .ph { display: flex; align-items: center; justify-content: center; background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); font-size: .75rem; font-weight: 500; }

/* Booking page (own calendar, Stopleak layout) */
.book-wrap { margin: 0 auto; max-width: 48rem; padding: 2rem 1rem 4rem; }
.book-card { padding: 2.25rem 3rem 2.5rem; border-radius: 1.25rem; text-align: left; animation: step-in .35s cubic-bezier(.16,1,.3,1); }
.book-title { font-size: 1.625rem; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; }
.book-hint { margin-top: .5rem; font-size: 1rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.book-img { margin-top: 1rem; aspect-ratio: 3 / 1; overflow: hidden; border-radius: .875rem; background: hsl(var(--muted)); }
.book-img img { width: 100%; height: 100%; object-fit: cover; }
.book-img.ph { display: flex; align-items: center; justify-content: center; color: hsl(var(--muted-foreground)); font-size: .875rem; font-weight: 500; }
.bonus-line { margin-top: .625rem; border: 1.5px dashed hsl(var(--primary)); border-radius: .75rem; background: hsl(var(--primary) / .07); padding: 0 .875rem; }
.bonus-line summary { list-style: none; display: flex; align-items: center; gap: .625rem; padding: .6875rem 0; cursor: pointer; font-size: .92rem; line-height: 1.3; font-weight: 500; }
.bonus-line summary::-webkit-details-marker { display: none; }
.bonus-line summary b { font-weight: 700; }
.bonus-line .gift { display: flex; width: 2.125rem; height: 2.125rem; flex: none; align-items: center; justify-content: center; border-radius: .5625rem; background: hsl(var(--primary)); color: #fff; }
.bonus-line .gift svg { width: 1.25rem; height: 1.25rem; }
.bonus-line summary > span:nth-child(2) { flex: 1; min-width: 0; }
.bonus-line .chev { width: 1.125rem; height: 1.125rem; flex: none; color: hsl(var(--muted-foreground)); transition: transform .2s; }
.bonus-line[open] .chev { transform: rotate(180deg); }
.bonus-line p { padding: 0 0 .75rem 2.75rem; font-size: .9rem; color: hsl(var(--muted-foreground)); }

.bcal { display: grid; grid-template-columns: 1fr; gap: 1.75rem; margin-top: 1rem; }
.month { border: 1px solid hsl(var(--border)); border-radius: .75rem; padding: 1.125rem; }
.month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.month-head b { font-size: 1.05rem; font-weight: 600; }
.month-head button { width: 2.25rem; height: 2.25rem; border-radius: .5rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); font-size: 1.1rem; }
.month-head button:disabled { opacity: .3; cursor: default; }
.dow { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: .75rem; font-weight: 600; color: hsl(var(--muted-foreground)); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .375rem; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: .375rem; }
.day { position: relative; aspect-ratio: 1; border-radius: .625rem; font-weight: 600; color: hsl(var(--muted-foreground) / .55); display: flex; align-items: center; justify-content: center; }
.day:disabled { cursor: default; }
.day.avail { background: hsl(var(--primary) / .09); color: hsl(var(--primary)); }
.day.sel { background: hsl(var(--primary)); color: #fff; }
.day.today::after { content: ""; position: absolute; bottom: .375rem; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.times h3 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.times .sub { color: hsl(var(--muted-foreground)); font-size: .9rem; margin-bottom: .75rem; }
.slots { display: grid; gap: .5rem; }
.slot { height: 3rem; border: 1px solid hsl(var(--border)); border-radius: .625rem; background: hsl(var(--card)); font-weight: 600; transition: border-color .15s, background .15s; }
.slot.sel { background: hsl(var(--primary)); border-color: hsl(var(--primary)); color: #fff; }
.summary { display: none; margin-top: 1.375rem; padding: 1rem 1.125rem; border-radius: .75rem; background: hsl(var(--primary) / .07);
  align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.summary.show { display: flex; animation: step-in .35s cubic-bezier(.16,1,.3,1); }
.summary b { display: block; font-size: 1.05rem; font-weight: 700; }
.summary span { font-size: .9rem; color: hsl(var(--muted-foreground)); }
.book-btn { width: auto; min-width: 16rem; padding: 1rem 1.75rem; font-size: 1rem; }
.book-back { margin-top: 1.5rem; }
.when-chip { margin: 1.25rem auto 0; display: inline-flex; align-items: center; gap: .5rem; border-radius: 9999px; background: hsl(var(--primary) / .1);
  padding: .5rem 1rem; font-size: .875rem; font-weight: 600; color: hsl(var(--primary)); }
.when-chip svg { width: 1rem; height: 1rem; }
@media (min-width: 720px) { .bcal { grid-template-columns: 1fr 18.75rem; } }
@media (max-width: 640px) {
  .book-card { padding: 1.5rem 1.25rem 1.75rem; }
  .book-title { font-size: 1.375rem; }
  .book-img { aspect-ratio: 16 / 9; }
  .book-btn { width: 100%; min-width: 0; }
}

/* Own calendar inside the PJ-layout card: month on top, times below in two columns */
.pj-cal { text-align: left; }
.pj-cal .bcal { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 0; }
.pj-cal .slots { grid-template-columns: repeat(2, 1fr); }
.pj-cal .day { aspect-ratio: auto; height: 2.75rem; }
.pj-cal .day.today::after { bottom: .3rem; }
.pj-cal .book-btn { width: 100%; min-width: 0; }
.pj-cal .summary { flex-direction: column; align-items: stretch; }

/* Thank-you page (Stopleak layout) */
.tick { width: 4rem; height: 4rem; border-radius: 50%; background: hsl(var(--primary) / .09); display: flex; align-items: center; justify-content: center;
  color: hsl(var(--primary)); margin-bottom: 1.125rem; }
.tick svg { width: 2.125rem; height: 2.125rem; }
.tick.pop { animation: pop .55s cubic-bezier(.2,.7,.3,1) both; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
.conf-title { font-size: clamp(1.6rem, 4vw, 2.25rem); line-height: 1.15; font-weight: 700; letter-spacing: -.025em; }
.conf .book-hint { margin-top: .75rem; }
.locked-in { margin-top: .875rem; display: flex; gap: .625rem; align-items: center; color: #1f6f2a; font-weight: 600; font-size: .95rem; }
.locked-in svg { width: 1.5rem; height: 1.5rem; flex: none; padding: 5px; border-radius: 50%; background: #e3f4e3; color: #1f6f2a; stroke-width: 3; }
.btn-intro { margin-top: 1.25rem !important; }
.call-btn { margin-top: .75rem; width: auto; min-width: 17.5rem; height: 3.75rem; padding: 0 1.75rem; font-size: 1.05rem; gap: .5rem; text-decoration: none;
  box-shadow: 0 8px 20px -8px hsl(var(--primary) / .7); }
.call-btn svg { margin-left: 0; width: 1.25rem; height: 1.25rem; }
.when { margin-top: 1.125rem; padding: 1.125rem 1.25rem; border: 1px solid hsl(var(--border)); border-radius: .75rem; display: flex; flex-wrap: wrap;
  gap: .5rem 1.25rem; align-items: center; justify-content: space-between; }
.when-date b { display: block; font-size: 1.2rem; font-weight: 700; }
.when-date span { color: hsl(var(--muted-foreground)); }
.when-what { font-weight: 600; color: hsl(var(--primary)); background: hsl(var(--primary) / .09); padding: .5rem .75rem; border-radius: .625rem; font-size: .9rem; }
.cal-row { margin-top: .875rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: hsl(var(--muted-foreground)); font-size: .9rem; }
.cpill { display: inline-flex; align-items: center; gap: .375rem; height: 2.375rem; padding: 0 .875rem; border: 1px solid hsl(var(--border)); border-radius: 9999px;
  background: hsl(var(--card)); color: hsl(var(--foreground)); font-weight: 600; font-size: .88rem; }
.cpill svg { width: 1rem; height: 1rem; color: hsl(var(--primary)); }
.owners { margin-top: 1.5rem; border: 1px solid hsl(var(--border)); border-radius: 1rem; overflow: hidden; display: grid; grid-template-columns: 1fr; }
.owners img, .owners-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.owners-ph { display: flex; align-items: center; justify-content: center; background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); font-size: .875rem; font-weight: 500; }
.owners > div:last-child { padding: 1rem 1.125rem 1.125rem; }
.owners h2 { font-size: 1.25rem; font-weight: 700; margin: 2px 0 6px; letter-spacing: -.015em; }
.owners p { color: hsl(var(--muted-foreground)); font-size: .95rem; }
.owners .eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--primary)); }
.sec { margin-top: 2rem; font-size: 1.05rem; font-weight: 700; }
.timeline { margin: .875rem 0 0; padding: 0; list-style: none; display: grid; }
.timeline li { display: flex; gap: .875rem; padding: 0 0 1.125rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 0; width: 2px; background: hsl(var(--border)); }
.timeline li:last-child::before { display: none; }
.tl-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: hsl(var(--primary)); color: #fff; font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.timeline b { display: block; font-weight: 600; }
.timeline p { color: hsl(var(--muted-foreground)); font-size: .92rem; margin-top: 2px; }
.faqs { margin-top: .75rem; border-top: 1px solid hsl(var(--border)); }
.faq { border-bottom: 1px solid hsl(var(--border)); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .875rem 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 1.125rem; height: 1.125rem; flex: none; color: hsl(var(--muted-foreground)); transition: transform .2s; }
.faq[open] summary svg { transform: rotate(180deg); }
.faq p { padding: 0 0 .875rem; color: hsl(var(--muted-foreground)); font-size: .95rem; }
.tmpl-note { margin-top: 1.5rem; padding: .875rem 1rem; border-radius: .75rem; background: hsl(var(--primary) / .08); color: hsl(var(--primary)); font-size: .92rem; }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; }
@media (min-width: 640px) { .owners { grid-template-columns: 15rem 1fr; align-items: center; } .owners img, .owners-ph { aspect-ratio: 1 / 1; height: 100%; } }
@media (max-width: 640px) { .call-btn { width: 100%; min-width: 0; } }

.nf { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: hsl(var(--muted)); text-align: center; }

@keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scale-in { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 640px) {
  .badges { grid-template-columns: repeat(4, 1fr); }
  .h1 { font-size: 2.25rem; line-height: 2.5rem; }
  .lead { font-size: 1.125rem; line-height: 1.75rem; }
  .contact-row { flex-direction: row; }
  .h2 { font-size: 1.875rem; line-height: 2.25rem; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) {
  .h1 { line-height: 1.1; }
  .h1.home { font-size: 2.75rem; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Thank-you page: recent projects */
.ty-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.ty-gallery img, .ty-gallery .ph { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: .75rem; display: block; }
.ty-gallery .ph { display: flex; align-items: center; justify-content: center; background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); font-size: .8125rem; }
@media (min-width: 640px) { .ty-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Complete Homeworks: logo-only header */
.logo img:only-child { height: 3.25rem; max-width: 220px; }

/* Google badge under the trust line + review screenshots under the quiz (from the T&L funnel) */
.g-badge { display: inline-flex; align-items: center; gap: .5rem; margin-top: .375rem; background: #fff; border: 1px solid hsl(var(--border)); border-radius: 999px; padding: .375rem .875rem .375rem .375rem; font-weight: 700; font-size: .8125rem; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.g-badge .g svg { width: 1.375rem; height: 1.375rem; display: block; }
.g-badge .g-stars { display: flex; gap: 1px; }
.g-badge .g-stars svg { width: .875rem; height: .875rem; color: #f5b301; fill: #f5b301; }
.quiz-reviews { margin: 2rem auto 0; max-width: 36rem; }
.qr-title { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; text-align: left; margin: 0 0 .625rem; }
.ty-reviews { display: flex; gap: .625rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: .5rem; scrollbar-width: none; margin: 0 -.25rem; padding-left: .25rem; padding-right: .25rem; min-height: 12rem; }
.ty-reviews img { flex: 0 0 auto; width: 82%; max-width: 340px; min-width: 0; height: auto; align-self: flex-start; scroll-snap-align: center; border-radius: .75rem; border: 1px solid hsl(var(--border)); background: #fff; }
.ty-reviews::-webkit-scrollbar { display: none; }
.rev-dots { display: flex; justify-content: center; gap: .375rem; margin-top: .25rem; }
.rev-dots span { width: .4375rem; height: .4375rem; border-radius: 50%; background: hsl(var(--border)); transition: background .2s, transform .2s; }
.rev-dots span.on { background: hsl(var(--primary)); transform: scale(1.2); }
@media (min-width: 640px) { .ty-reviews img { width: calc(50% - .3125rem); max-width: none; } }

/* Bill's card under the quiz reviews (from the T&L funnel) */
.quiz-owners { margin: 1.75rem auto 0; max-width: 36rem; text-align: left; }
.quiz-owners .owners { margin-top: 0; background: #fff; }
.owners img { object-position: 40% 40%; }
@media (min-width: 640px) {
  .quiz-owners .owners { grid-template-columns: 1.15fr 1fr; }
  .quiz-owners .owners > div:last-child { padding: 1.25rem 1.5rem; }
}

/* Live wiring: honeypot, error lines, calendar messages */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-err { color: hsl(0 72% 42%); font-size: .875rem; line-height: 1.35; margin: .75rem 0 0; min-height: 0; }
.form-err:empty { display: none; }
.cal-msg { text-align: center; padding: 1.5rem .5rem; }
