/* www.bokadintid.se – the backoffice's plum (backoffice/static/css/app.css) with a warm call-to-action colour. */
:root {
  --brand: #7a2e5a;
  --brand-dark: #5e2245;
  --brand-ink: #3a1530;
  --brand-tint: #f6f2f4;
  --cta: #e8573c;
  --cta-dark: #c9432b;
  --ok: #1f8a4c;
  --text: #2b2230;
  --muted: #6b6070;
  --radius: 1rem;
  --shadow: 0 10px 30px rgba(58, 21, 48, .12);
  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-color: var(--text);
  --bs-link-color-rgb: 122, 46, 90;
  --bs-link-hover-color-rgb: 94, 34, 69;
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: #fff; color: var(--text); }
h1, h2, h3 { color: var(--brand-ink); font-weight: 750; letter-spacing: -.015em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-size: 1.15rem; }
.ico { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }

/* Buttons */
.btn-cta {
  --bs-btn-color: #fff; --bs-btn-bg: var(--cta); --bs-btn-border-color: var(--cta);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--cta-dark); --bs-btn-hover-border-color: var(--cta-dark);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--cta-dark); --bs-btn-active-border-color: var(--cta-dark);
  --bs-btn-disabled-bg: var(--cta); --bs-btn-disabled-border-color: var(--cta);
  font-weight: 650; border-radius: 999px; box-shadow: 0 6px 18px rgba(232, 87, 60, .3);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(232, 87, 60, .36); }
.btn-lg { padding: .8rem 1.6rem; }
.btn-outline-light { border-radius: 999px; font-weight: 600; }
.btn-outline-primary {
  --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--brand-dark); --bs-btn-active-border-color: var(--brand-dark);
  border-radius: 999px; font-weight: 600;
}

/* Navigation */
.site-nav { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.site-nav .nav-link { color: var(--text); font-weight: 550; }
.site-nav .nav-link:hover { color: var(--brand); }
.site-nav .navbar-collapse .btn-cta { margin: .5rem 0; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.4rem; font-weight: 800; color: var(--brand-ink); text-decoration: none; letter-spacing: -.02em; }
.brand-name span { color: var(--brand); }
.brand-mark {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: .55rem;
  background: var(--brand); color: #fff; font-size: 1.1rem;
}
.brand-light { color: #fff; }
.brand-light .brand-name span { color: #f2b9d6; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 4.5rem 0 5rem; background: var(--brand-ink); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero picture { position: absolute; inset: 0; z-index: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(58, 21, 48, .94) 0%, rgba(94, 34, 69, .86) 45%, rgba(94, 34, 69, .55) 100%);
}
.hero > .container { z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.1; margin: .75rem 0 1rem; }
.hero .hl { color: #ffc7a8; }
.hero .lead { color: rgba(255, 255, 255, .9); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); max-width: 38rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem; margin: 0; padding: .35rem .85rem; border-radius: 999px;
  background: rgba(255, 255, 255, .14); color: #fff; font-weight: 650; font-size: .92rem;
}
.eyebrow-dark { background: rgba(122, 46, 90, .1); color: var(--brand); }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.75rem 0 0; color: rgba(255, 255, 255, .92); }
.hero-points .ico { color: #8ee0ae; }

/* Booking illustration */
.mock {
  position: relative; background: #fff; color: var(--text); border-radius: 1.25rem; padding: 1.25rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35); max-width: 420px; margin: 0 auto;
}
.mock-head { display: flex; gap: .75rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid #eee; }
.mock-dot { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #c4588f); flex: none; }
.mock-title { font-weight: 750; color: var(--brand-ink); }
.mock-sub { font-size: .85rem; color: var(--muted); }
.mock-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; margin: 1rem 0; }
.mock-day { text-align: center; padding: .45rem 0; border-radius: .6rem; background: var(--brand-tint); font-size: .8rem; line-height: 1.25; }
.mock-day b { display: block; font-weight: 600; color: var(--muted); }
.mock-day span { font-size: 1.05rem; font-weight: 750; }
.mock-day.active { background: var(--brand); color: #fff; }
.mock-day.active b { color: rgba(255, 255, 255, .8); }
.mock-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.slot { text-align: center; padding: .5rem 0; border-radius: .55rem; background: #e3f5ea; color: #17673a; font-weight: 650; font-size: .9rem; }
.slot.taken { background: #f1f1f1; color: #b5b5b5; text-decoration: line-through; }
.slot.discount { background: #ffe9d6; color: #a54d0c; }
.slot.discount small { font-weight: 700; }
.slot.picked { background: var(--ok); color: #fff; box-shadow: 0 0 0 3px rgba(31, 138, 76, .25); }
.mock-btn { margin-top: 1rem; text-align: center; padding: .7rem; border-radius: 999px; background: var(--cta); color: #fff; font-weight: 700; }
.mock-toast {
  position: absolute; left: -1.5rem; bottom: -1.6rem; display: flex; gap: .6rem; align-items: center;
  background: #fff; border-radius: .9rem; padding: .7rem .95rem; font-size: .82rem; line-height: 1.3;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25); animation: toast 5s ease-in-out infinite;
}
.mock-toast .ico { width: 2rem; height: 2rem; padding: .4rem; border-radius: .6rem; background: var(--brand); color: #fff; }
@keyframes toast { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .mock-toast { animation: none; } html { scroll-behavior: auto; } }

/* Industries strip */
.strip { background: var(--brand-tint); border-bottom: 1px solid #ebe1e7; }
.strip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; margin: 0; padding: 1.1rem 0; font-weight: 650; color: var(--brand); }

/* Sections */
.section { padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; }
.section-tint { background: var(--brand-tint); }
.section-intro { max-width: 44rem; margin-bottom: 3rem; }
.section-intro p { color: var(--muted); font-size: 1.1rem; }

.benefit { height: 100%; padding: 2rem 1.75rem; border-radius: var(--radius); background: #fff; border: 1px solid #efe6eb; box-shadow: var(--shadow); }
.benefit p { color: var(--muted); margin: 0; }
.benefit-icon { width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: .9rem; background: rgba(122, 46, 90, .1); color: var(--brand); margin-bottom: 1rem; }
.benefit-icon .ico { width: 1.6rem; height: 1.6rem; }

.feature { display: flex; gap: 1rem; height: 100%; padding: 1.4rem; border-radius: var(--radius); background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature > .ico { width: 2.6rem; height: 2.6rem; padding: .6rem; border-radius: .75rem; background: var(--brand); color: #fff; }
.feature h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

.industry { height: 100%; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid #efe6eb; box-shadow: var(--shadow); }
.industry img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.industry-body { padding: 1.25rem 1.4rem 1.5rem; }
.industry-body p { color: var(--muted); }
.industry:not(.industry-main) .industry-body p { margin: 0; font-size: .95rem; }
.industry-main .industry-body { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.industry-main h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); }
.industry-main img { height: 100%; }

.checks li { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: .55rem; }
.checks .ico { color: var(--ok); margin-top: .15rem; }

/* How it works */
.section-dark { background: linear-gradient(135deg, var(--brand-ink), var(--brand-dark)); color: rgba(255, 255, 255, .9); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: rgba(255, 255, 255, .85); }
.steps { margin: 0; display: grid; gap: 1rem; }
.steps li { display: flex; gap: 1.1rem; padding: 1.4rem; border-radius: var(--radius); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.steps p { margin: 0; color: rgba(255, 255, 255, .8); }
.step-no { flex: none; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--cta); color: #fff; font-weight: 800; font-size: 1.15rem; }

/* Price */
.price-card, .calc { height: 100%; border-radius: 1.25rem; padding: 2.25rem 2rem; background: #fff; }
.price-card { position: relative; border: 2px solid var(--brand); box-shadow: var(--shadow); }
.badge-free { position: absolute; top: -.95rem; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: .4rem 1.1rem; border-radius: 999px; background: var(--ok); color: #fff; font-weight: 750; }
.price-label { text-align: center; font-weight: 700; color: var(--brand); margin: .5rem 0 0; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.price { text-align: center; font-size: 4rem; font-weight: 800; color: var(--brand-ink); line-height: 1; margin: .5rem 0 .25rem; letter-spacing: -.03em; }
.price small { font-size: 1.1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price span { font-size: 1.3rem; font-weight: 650; letter-spacing: 0; }
.price-per { text-align: center; color: var(--muted); margin-bottom: 1.5rem; }
.calc { background: var(--brand-tint); }
.calc-users { min-width: 2.5rem; text-align: center; font-size: 1.6rem; font-weight: 800; color: var(--brand); }
.form-range::-webkit-slider-thumb { background: var(--brand); }
.form-range::-moz-range-thumb { background: var(--brand); }
.calc-result { margin: 1.25rem 0; }
.calc-result > div { display: flex; justify-content: space-between; align-items: baseline; padding: .7rem 0; border-bottom: 1px dashed #d9c9d2; }
.calc-result dt { font-weight: 550; color: var(--muted); }
.calc-result dd { margin: 0; font-weight: 800; font-size: 1.3rem; color: var(--brand-ink); }
.calc-result dd.free { color: var(--ok); }
.calc-note { color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq { max-width: 50rem; --bs-accordion-active-bg: var(--brand-tint); --bs-accordion-active-color: var(--brand-ink); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(122, 46, 90, .25); }
.faq .accordion-button { font-weight: 650; font-size: 1.05rem; }
.faq .accordion-item { border-color: #ebe1e7; }

/* Contact */
.contact { background: linear-gradient(180deg, #fff 0%, var(--brand-tint) 100%); }
.contact-img { width: 100%; height: auto; border-radius: var(--radius); margin-top: 1.5rem; box-shadow: var(--shadow); }
.contact-card { background: #fff; border-radius: 1.25rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: 0 20px 50px rgba(58, 21, 48, .16); border-top: 5px solid var(--cta); }
.contact-card .form-label { font-weight: 600; }
.contact-card .form-control:focus, .contact-card .form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(122, 46, 90, .2); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.req { color: var(--cta); }
.captcha img { background: var(--brand-tint); }
.captcha .btn-link { color: var(--brand); }
.captcha-input { max-width: 7rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { text-align: center; color: var(--muted); font-size: .88rem; margin: .75rem 0 0; }
.contact-done { text-align: center; padding: 2rem 0; outline: none; }
.done-icon { width: 4.5rem; height: 4.5rem; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; background: var(--ok); color: #fff; }
.done-icon .ico { width: 2.3rem; height: 2.3rem; }

/* Footer */
.site-footer { background: var(--brand-ink); color: rgba(255, 255, 255, .75); padding: 3.5rem 0 6rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li { margin-bottom: .4rem; }
.footer-h { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.copy { margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
@media (min-width: 992px) { .site-footer { padding-bottom: 3rem; } }

/* Mobile sticky call to action, hidden while the form is on screen */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); box-shadow: 0 -4px 16px rgba(0, 0, 0, .1); transition: transform .25s ease;
}
.mobile-cta.hide { transform: translateY(110%); }

@media (max-width: 991.98px) {
  .hero { padding: 3rem 0 4.5rem; }
  .mock-toast { left: .75rem; }
}
@media (max-width: 575.98px) {
  .price { font-size: 3.3rem; }
  .strip-list { gap: .4rem 1.1rem; font-size: .92rem; }
}
