:root {
  /* BanskoMate · Pirin Pine. Colours taken from James Brown: chocolate fur, orange goggles and collar, Pirin forest, snow. */
  --ink: #2b1a14;          /* chocolate: text and dark buttons */
  --ink-soft: #5b4337;
  --muted: #6e5a4e;
  --line: #e6dccf;
  --field: #cdbfb0;        /* input borders */
  --bg: #fbf6ef;           /* snow cream */
  --bg-2: #f3ebe1;
  --card: #ffffff;
  --night: #1f3f35;        /* Pirin pine: header, hero, footer */
  --night-2: #2a5246;
  --night-text: #cfe0d8;
  --accent: #f29a3d;       /* goggles orange */
  --accent-ink: #2b1a14;
  --accent-deep: #b9561a;  /* orange text on light backgrounds (readable) */
  --tint: #fff1e3;
  --ok: #2e7d5b;
  --error: #b42318;
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border: 1.5px solid var(--night-text); color: #fff; background: transparent; }
.btn-dark { background: var(--ink); color: #fff; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Header and hero */
.top { background: var(--night); color: #fff; }
.nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-block: 16px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 22px; text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--accent); }
.logo { display: inline-flex; align-items: center; }
.logo img { width: 38px; height: 38px; border-radius: 50%; background: var(--bg); margin-right: 8px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; font-size: 15px; }
.nav-links a { color: var(--night-text); text-decoration: none; }
.hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-block: 48px 72px; }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(38px, 6vw, 62px); }
.hero p.lead { font-size: 18px; color: var(--night-text); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { flex: 0 1 300px; min-width: 0; margin: 0 auto; }
.mascot { display: block; width: min(300px, 70vw); height: auto; margin: 0 auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.28)); }
.mascot-bubble { position: relative; background: var(--bg); color: var(--ink); font-weight: 600; border-radius: 18px; padding: 10px 16px; width: fit-content; margin: 0 auto 10px; }
.mascot-bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; border: 8px solid transparent; border-top-color: var(--bg); border-bottom: 0; transform: translateX(-50%); }

/* Sections */
section { padding-block: 56px; }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; max-width: 46em; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); }
.section-head p { color: var(--ink-soft); font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step b { display: block; font-family: var(--display); font-size: 19px; margin-bottom: 6px; }
.step span { color: var(--ink-soft); }
.step .n { font-family: var(--display); color: var(--accent-deep); font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px; }

/* Services */
.cat { margin-bottom: 36px; }
.cat h3 { font-size: 22px; margin-bottom: 14px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.card h4 { font-family: var(--display); font-size: 20px; margin: 0; }
.card .price { font-family: var(--display); font-size: 30px; font-weight: 700; }
.card .price small { font-size: 14px; font-weight: 500; color: var(--muted); font-family: var(--body); }
.card p { color: var(--ink-soft); font-size: 15px; flex-grow: 1; }
.card .terms { font-size: 13.5px; color: var(--muted); }
.loading { color: var(--muted); }

/* Trust */
.trust { background: var(--card); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.trust-grid b { display: block; font-size: 17px; margin-bottom: 4px; }
.trust-grid span { color: var(--ink-soft); font-size: 15px; }

/* FAQ */
.faq { max-width: 760px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--ink-soft); }

/* Booking form */
.form-page { max-width: 640px; margin: 0 auto; padding-block: 40px 64px; }
form.booking { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--field); border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; }
.summary { background: var(--bg); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; font-variant-numeric: tabular-nums; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary .big { font-weight: 700; font-size: 18px; }
.note { font-size: 14px; color: var(--muted); }
.errors { color: var(--error); font-weight: 500; }
.errors:empty { display: none; }

/* Footer */
footer { background: var(--night); color: var(--night-text); padding-block: 40px; font-size: 14px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
footer a { color: #fff; }
.msg-page { max-width: 640px; margin: 0 auto; padding-block: 64px; display: flex; flex-direction: column; gap: 16px; }
.msg-page h1 { font-size: 36px; }

/* Booking questionnaire */
.center { text-align: center; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--field); }
.wizard-page { max-width: 640px; margin: 0 auto; padding-block: 28px 64px; display: flex; flex-direction: column; gap: 12px; }
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s ease; }
.step-count { font-size: 14px; color: var(--muted); }
.wizard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.wizard .q { font-size: clamp(24px, 5vw, 30px); outline: none; }
.wizard .q-sub { color: var(--ink-soft); margin-top: 8px; }
.q-body { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.tiles-label { font-weight: 600; font-size: 15px; margin-top: 4px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.tiles-small { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--field); border-radius: 14px; cursor: pointer; min-height: 56px; justify-content: center; background: #fff; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile-main { font-weight: 600; }
.tile-hint { font-size: 14px; color: var(--muted); }
.tile:has(input:checked) { border-color: var(--ink); background: var(--tint); box-shadow: inset 0 0 0 1px var(--ink); }
.tile:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.tiles-small .tile { text-align: center; align-items: center; }
.stepper { display: inline-flex; align-items: center; gap: 14px; }
.step-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--field); background: #fff; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.step-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.step-val { font-family: var(--display); font-size: 36px; font-weight: 700; min-width: 1.5em; text-align: center; font-variant-numeric: tabular-nums; }
.price-line { font-weight: 600; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; }
.wizard-nav .btn-dark { margin-left: auto; min-width: 140px; }
.wizard-nav .btn[hidden] { display: none; }
.review { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; }
.review-item { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.review-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-variant-numeric: tabular-nums; }
.review-total { display: flex; justify-content: space-between; padding: 14px 16px; font-size: 18px; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--accent-deep); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: underline; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.card .btn { align-self: flex-start; }
[hidden] { display: none !important; }
@media (max-width: 480px) { .wizard { padding: 18px; } .tiles { grid-template-columns: 1fr; } .tiles-small { grid-template-columns: repeat(3, 1fr); } }
.nav-links a.btn-accent { color: var(--accent-ink); }

/* Pirin Pine extras */
.card .price { color: var(--accent-deep); }
.card { border-color: var(--line); }
.trust { background: var(--bg-2); }
section.meet { background: var(--night); color: #fff; }
.meet .section-head p, .meet p { color: var(--night-text); }
.meet-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.meet-grid > div { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.meet-photo { flex: 0 1 300px; aspect-ratio: 4 / 5; border-radius: 22px; background: var(--night-2); border: 1px dashed var(--night-text); color: var(--night-text); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; font-size: 14px; }
.wizard-jb { width: 120px; height: auto; display: block; }
.done-jb { width: 150px; height: auto; display: block; margin-bottom: 8px; }
@media (max-width: 700px) {
  .nav-links a:not(.btn) { display: none; }
  .nav { flex-wrap: nowrap; }
  .nav-links .btn { min-height: 42px; padding: 8px 18px; }
  .hero { padding-block: 8px 48px; gap: 12px; }
  .hero-media { order: -1; }
  .mascot { width: min(210px, 56vw); }
}
