/* Rabbithole Services. Light palette from rabbithole.consulting (site-v2), Playfair Display headings. */
:root {
  --bg: #ffffff;
  --bg-2: #f7f8fa;
  --bg-3: #eef1f5;
  --ink: #101114;
  --ink-2: #23262c;
  --muted: #5d626b;
  --line: #e6e9ee;
  --line-2: #d4d9e1;
  --blue: #2559df;
  --blue-deep: #1842ad;
  --blue-soft: #e8efff;
  --ok: #157f3b;
  --err: #b42318;
  --radius: 10px;
  --radius-lg: 16px;
  --content: 1080px;
  --gutter: 24px;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--blue-soft); color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap { max-width: calc(var(--content) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { white-space: nowrap; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.brand span { font-weight: 400; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-links .lang { font-weight: 600; letter-spacing: .06em; font-size: 12px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 10px; }
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background .16s, transform .16s; }
.btn:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.nav .btn { color: #fff; }

/* Hero */
.hero { padding: 96px 0 72px; background: radial-gradient(900px 420px at 80% -10%, var(--blue-soft), transparent 70%); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.08; max-width: 880px; }
.hero h1 em { font-style: italic; color: var(--blue-deep); }
.hero .lead { margin-top: 24px; font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.hero .cta-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .contact-line { margin-top: 22px; font-size: 14px; color: var(--muted); }
.hero .contact-line a { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-2); }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

/* Offers */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.offer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(16,17,20,.03); }
.offer.featured { border-color: var(--ink); }
.offer .tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.offer h3 { font-size: 1.6rem; margin-top: 8px; }
.price { margin-top: 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.price strong { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; letter-spacing: -.02em; }
.price span { color: var(--muted); font-size: 15px; }
.offer .note { margin-top: 8px; font-size: 14px; color: var(--muted); }
.offer ul { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.offer li { position: relative; padding-left: 26px; font-size: 15px; }
.offer li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.offer li b { font-weight: 600; }
.offer .btn { margin-top: auto; align-self: flex-start; }
.fineprint { margin-top: 22px; font-size: 14px; color: var(--muted); max-width: 760px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; counter-reset: step; }
.step { border-top: 2px solid var(--ink); padding-top: 22px; }
.step .num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--blue); line-height: 1; }
.step h3 { font-size: 1.35rem; margin-top: 14px; }
.step p { margin-top: 10px; color: var(--muted); }

/* Proof */
.demos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.demo { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .16s, transform .16s, box-shadow .16s; }
.demo:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 40px -24px rgba(16,17,20,.35); }
.demo .shot { aspect-ratio: 16 / 10; background: var(--bg-3); display: flex; align-items: flex-end; padding: 18px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.15; color: #fff; }
.demo .shot.a { background: linear-gradient(140deg, #1b2a40, #3d5a80); }
.demo .shot.b { background: linear-gradient(140deg, #0b4f6c, #20a4c3); }
.demo .shot.c { background: linear-gradient(140deg, #3b2f1e, #8a6a3b); }
.demo .meta { padding: 18px 20px 20px; }
.demo .meta b { display: block; font-size: 15px; }
.demo .meta span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.demo .meta em { display: inline-block; margin-top: 12px; font-style: normal; font-size: 14px; font-weight: 600; color: var(--blue); }

/* Audit form */
.audit-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.audit-copy ul { margin: 22px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: 14px; font-weight: 500; }
.field label i { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 12px 14px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.form-msg { font-size: 14px; min-height: 1.2em; }
.form-msg.err { color: var(--err); }
.form-done { display: none; text-align: left; }
.form-done h3 { font-size: 1.5rem; }
.form-done p { margin-top: 10px; color: var(--muted); }
.form.sent .form-fields { display: none; }
.form.sent .form-done { display: block; }
.privacy { font-size: 13px; color: var(--muted); }

/* Booking */
.booking-wrap .iclosed-widget, .booking-wrap .section-head { max-width: 900px; }
.iclosed-widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.iclosed-widget iframe { display: block; width: 100%; border: 0; }
.booking-facade { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; }
.booking-fallback { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Contact + footer */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact a { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; }
.contact a:hover { border-color: var(--ink); }
.contact small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact strong { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 1.45rem; }
.contact span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
footer { padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }

@media (max-width: 860px) {
  .nav-links a:not(.lang):not(.btn) { display: none; }
  .audit-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .hero { padding: 64px 0 52px; }
  section { padding: 64px 0; }
  .offer, .form { padding: 22px; }
  .brand { font-size: 1.05rem; }
  .nav-links { gap: 10px; }
  .nav .btn.small { padding: 0 12px; font-size: 13px; }
  .form .row { grid-template-columns: 1fr; }
  .hero .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .demo { transition: none; }
}
