/* ============================================================
   Custom Properties + Bootstrap CSS-variable overrides
   ============================================================ */
:root {
  --primary:        #9A4F1E;
  --primary-dark:   #7A3C14;
  --accent:         #C97B40;
  --accent-hover:   #B06A30;
  --bg:             #FAFAF8;
  --bg-alt:         #F0E8DC;
  --text:           #1C0E08;
  --text-light:     #7A6A60;
  --dark:           #1C0E08;
  --success:        #10B981;
  --border:         #E8DDD4;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.07);
  --shadow-md:      0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:      0 12px 36px rgba(0,0,0,.14);
  --shadow-amber:   0 8px 30px rgba(201,123,64,.18);

  --bs-primary:            var(--primary);
  --bs-primary-rgb:        154, 79, 30;
  --bs-body-font-family:   'Inter', system-ui, -apple-system, sans-serif;
  --bs-body-bg:            var(--bg);
  --bs-body-color:         var(--text);
  --bs-card-border-radius: 14px;
  --bs-card-border-color:  var(--border);
  --bs-link-color:         var(--primary);
  --bs-link-hover-color:   var(--primary-dark);
}

/* ============================================================
   Base
   ============================================================ */
body {
  font-family: var(--bs-body-font-family);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

h1 { font-size: 2rem;     font-weight: 800; letter-spacing: -.03em;  line-height: 1.15; }
h2 { font-size: 1.625rem; font-weight: 700; letter-spacing: -.02em;  line-height: 1.25; }
h3 { font-size: 1.2rem;   font-weight: 600; line-height: 1.3; }

@media (min-width: 992px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
}

/* ============================================================
   Bootstrap overrides
   ============================================================ */

/* All buttons — pill shape */
.btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-warning {
  --bs-btn-bg:                  var(--accent);
  --bs-btn-border-color:        var(--accent);
  --bs-btn-color:               #fff;
  --bs-btn-hover-bg:            var(--accent-hover);
  --bs-btn-hover-border-color:  var(--accent-hover);
  --bs-btn-hover-color:         #fff;
  --bs-btn-active-bg:           var(--accent-hover);
  --bs-btn-focus-shadow-rgb:    201, 123, 64;
}
.btn-warning:hover { box-shadow: var(--shadow-amber); }

.btn-outline-primary {
  --bs-btn-color:               var(--primary);
  --bs-btn-border-color:        var(--primary);
  --bs-btn-hover-bg:            var(--primary);
  --bs-btn-hover-border-color:  var(--primary);
  --bs-btn-hover-color:         #fff;
  --bs-btn-active-bg:           var(--primary-dark);
  --bs-btn-focus-shadow-rgb:    154, 79, 30;
}

/* White button on dark backgrounds */
.btn-white {
  --bs-btn-bg:            #fff;
  --bs-btn-border-color:  #fff;
  --bs-btn-color:         var(--dark);
  --bs-btn-hover-bg:      var(--bg-alt);
  --bs-btn-hover-border-color: var(--bg-alt);
  --bs-btn-hover-color:   var(--dark);
}
.btn-white:hover { box-shadow: 0 8px 24px rgba(255,255,255,.2); }

/* Accordion */
.accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: rgba(154, 79, 30, .05);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(201, 123, 64, .2);
}
.accordion-button { font-weight: 600; }

/* ============================================================
   Keyboard focus — tydliga focus-ringar för tangentbordsanvändare
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Knappar och nav-länkar får rundad focus-ring */
.btn:focus-visible,
.nav-link:focus-visible,
.navbar-brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(201,123,64,.2);
}
/* Ta bort standard outline-none som Bootstrap lägger */
.btn:focus:not(:focus-visible),
.nav-link:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* Form focus */
.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 123, 64, .15);
}
.form-control, .form-select {
  border-radius: 10px !important;
}

/* Table */
.comparison-table thead th {
  background-color: var(--dark);
  color: #fff;
  border-color: rgba(255,255,255,.1);
}

/* Navbar links */
.navbar-nav .nav-link {
  color: #5A4A40;
  transition: color .2s;
  font-weight: 500;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover { color: var(--primary) !important; }

/* Card base */
.card { transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }

/* ============================================================
   Utilities
   ============================================================ */
.bg-alt     { background-color: var(--bg-alt) !important; }
.opacity-60 { opacity: .6; }

/* Section label — amber pill above h2s */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);        /* #9A4F1E — 5.4:1 on white, passes WCAG AA */
  background: rgba(154,79,30,.08);
  padding: .28rem .85rem;
  border-radius: 999px;
  margin-bottom: .75rem;
  border: 1px solid rgba(154,79,30,.18);
}

/* Skip-to-content länk för tangentbordsanvändare */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--accent);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--dark);
  outline-offset: 2px;
}

/* ============================================================
   Logo mark
   ============================================================ */
.site-logo-img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   Navbar
   ============================================================ */
.site-nav {
  transition: box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid var(--border);
}
.site-nav.scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 2px 20px rgba(28,14,8,.1);
}
.navbar-brand { font-size: 1.15rem !important; }

/* ============================================================
   Hero — mörk bakgrund med radial glow + gradient-text
   ============================================================ */
.hero {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* Radial amber glow top-right */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -8%;
  width: 60%;
  height: 130%;
  background: radial-gradient(ellipse at center,
    rgba(201,123,64,.18) 0%,
    rgba(154,79,30,.06) 45%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle bottom vignette */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(28,14,8,.6));
  pointer-events: none;
  z-index: 0;
}

.hero .container { position: relative; z-index: 1; }
.hero .trust-bar  { position: relative; z-index: 1; }

/* Gradient text on h1 */
.hero h1 {
  background: linear-gradient(130deg, #ffffff 40%, #C97B40 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .hero-lead  { color: rgba(255,255,255,.68); font-size: 1.0625rem; }
.hero strong      { -webkit-text-fill-color: rgba(255,255,255,.95); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: .3rem .9rem;
  border-radius: 999px;
}

/* White outline button on dark hero */
.hero .btn-outline-primary {
  --bs-btn-color:              rgba(255,255,255,.88);
  --bs-btn-border-color:       rgba(255,255,255,.35);
  --bs-btn-hover-bg:           rgba(255,255,255,.1);
  --bs-btn-hover-border-color: rgba(255,255,255,.7);
  --bs-btn-hover-color:        #fff;
}
.hero .btn-outline-primary:hover { box-shadow: none; }

/* Trust bar */
.hero .trust-bar { border-color: rgba(255,255,255,.08) !important; }
.hero .trust-text { color: rgba(255,255,255,.38); }
.hero .trust-logo-placeholder {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.3);
  border: 1px solid rgba(255,255,255,.08);
}
.hero .img-placeholder--hero {
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.06);
}

.trust-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
}
.trust-text {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.trust-logos { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.trust-logo-placeholder {
  width: 80px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
@media (min-width: 768px) { .trust-bar { flex-direction: row; } }

/* ============================================================
   Process timeline
   ============================================================ */
.process-section { background: var(--bg-alt, #F5EFE8); }

.process-steps-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 900px;
}

@media (min-width: 992px) {
  .process-steps-grid {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }
}

.process-step-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2rem 2rem;
  flex: 1;
  max-width: 260px;
  width: 100%;
  box-shadow: 0 2px 12px rgba(28,14,8,.07);
  border: 1px solid rgba(154,79,30,.08);
}

.process-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(201,123,64,.12);
  margin-bottom: 1.25rem;
}

.process-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(154,79,30,.07);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(154,79,30,.1);
  margin-bottom: 1.25rem;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(154,79,30,.35);
  padding: 0.5rem 0;
}

@media (min-width: 992px) {
  .process-arrow {
    padding: 0 0.75rem;
    margin-top: 80px;
    flex-shrink: 0;
  }
  .process-arrow svg { transform: none; }
}

@media (max-width: 991px) {
  .process-arrow svg { transform: rotate(90deg); }
}

.step-number {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 5px rgba(201,123,64,.15);
}
.step-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(154,79,30,.08); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(154,79,30,.1);
}
.process-connector {
  width: 2px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
  opacity: .4; flex-shrink: 0;
}
@media (min-width: 992px) {
  .process-connector {
    width: 60px; flex: none;
    height: 2px;
    background: repeating-linear-gradient(
      to right,
      rgba(201,123,64,.35) 0, rgba(201,123,64,.35) 6px,
      transparent 6px, transparent 13px
    );
    margin-top: 18px; align-self: flex-start; opacity: 1;
  }
}

/* ============================================================
   Service / icon cards
   ============================================================ */
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: rgba(154,79,30,.07);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(154,79,30,.1);
  transition: background .25s, color .25s;
}

.service-card:hover {
  border-color: rgba(201,123,64,.3) !important;
  box-shadow: var(--shadow-amber), 0 0 0 1px rgba(201,123,64,.15) !important;
  transform: translateY(-5px);
}
.service-card:hover .service-icon {
  background: rgba(201,123,64,.12);
  color: var(--accent);
}

/* ============================================================
   Stats
   ============================================================ */
.stats-section {
  background: var(--dark);
  border-radius: 16px;
  padding: 2.5rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%,
    rgba(201,123,64,.18) 0%, transparent 65%);
  pointer-events: none;
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .25rem;
  letter-spacing: -.03em;
}
.stat-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ============================================================
   Testimonials
   ============================================================ */
.quote-mark {
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
  color: var(--accent);
  opacity: .12;
  position: absolute;
  top: .4rem;
  left: 1.25rem;
  user-select: none;
}

.testimonial-card:hover {
  border-color: rgba(201,123,64,.25) !important;
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-3px);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: .06em;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-card--featured {
  background: linear-gradient(160deg, rgba(201,123,64,.06) 0%, #fff 50%) !important;
  border: 2px solid rgba(201,123,64,.3) !important;
  border-top: 4px solid var(--accent) !important;
  box-shadow: var(--shadow-amber), var(--shadow-md) !important;
  transform: scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 0 0 10px 10px;
  letter-spacing: .03em;
}

.price-original {
  font-size: 13px;
  color: #B0A098;
  text-decoration: line-through;
}
.price-main strong { font-size: 2.75rem; font-weight: 800; color: var(--text); line-height: 1; letter-spacing: -.03em; }
.price-main span   { font-size: .9375rem; color: var(--text-light); }

.feature-list li { font-size: .9375rem; }
.check { color: var(--success); font-weight: 700; flex-shrink: 0; }

.enterprise-card {
  background: linear-gradient(135deg, var(--bg-alt) 0%, #fff 100%);
  border: 1.5px dashed var(--border) !important;
  border-radius: 14px;
}

/* ============================================================
   Comparison table
   ============================================================ */
.cell-yes { color: var(--success); font-size: 1rem; font-weight: 700; }
.cell-no  { color: #D4C8BF; font-size: 1rem; }



/* ============================================================
   Locations
   ============================================================ */
.coming-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: rgba(154,79,30,.08);
  color: var(--primary);
  padding: .2rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(154,79,30,.15);
}

.location-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.location-link:hover { text-decoration: underline; }
.location-card:not(.opacity-60):hover {
  border-color: rgba(201,123,64,.25) !important;
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-2px);
}

/* ============================================================
   CTA Banner — dark + radial glow
   ============================================================ */
.cta-banner {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse at center,
    rgba(201,123,64,.22) 0%,
    rgba(154,79,30,.08) 40%,
    transparent 70%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff !important; }
.cta-banner p  { color: rgba(255,255,255,.68); }

/* ============================================================
   Page hero (inre sidor)
   ============================================================ */
.page-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  position: relative;
  overflow: hidden;
}
/* Subtle top accent line */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 30%, var(--primary) 70%, transparent 100%);
  opacity: .6;
}
.footer-link {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .2s;
}
.footer-link:hover { color: #fff; }
.footer-bottom     { border-color: rgba(255,255,255,.08) !important; }
.footer-seo        { font-size: .75rem; color: rgba(255,255,255,.2); }

/* Social media icon buttons */
.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  flex-shrink: 0;
}
.social-icon-btn:hover {
  background: rgba(201,123,64,.25);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   Placeholder images
   ============================================================ */
.img-placeholder {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--border) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: .875rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
  border: 1px solid rgba(0,0,0,.06);
}
.img-placeholder--hero  { min-height: 280px; width: 100%; border-radius: 16px; }
.hero-img { border-radius: 16px; object-fit: cover; max-height: 520px; display: block; }
.img-placeholder--story { min-height: 320px; }
.img-placeholder--map   { min-height: 200px; }

/* ============================================================
   Contact page
   ============================================================ */
.contact-icon {
  width: 38px;
  height: 38px;
  background: rgba(154,79,30,.07);
  color: var(--primary);
  border-radius: 10px;
  border: 1px solid rgba(154,79,30,.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #B0A098;
  margin-bottom: .15rem;
}
.booking-icon {
  width: 46px;
  height: 46px;
  background: rgba(201,123,64,.1);
  color: var(--accent);
  border-radius: 12px;
  border: 1px solid rgba(201,123,64,.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Hamburgar → X animation
   ============================================================ */
.hamburger-btn {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none !important;
  cursor: pointer;
}
.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s ease, width .3s ease;
}
/* Öppen — bar 1 roteras 45°, bar 2 försvinner, bar 3 roteras -45° */
.hamburger-btn.is-open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.is-open .hamburger-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger-btn.is-open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* X-knapp inuti mörk offcanvas — vita streck */
.mobile-fullscreen-nav .hamburger-bar {
  background: rgba(255,255,255,.85);
}

/* ============================================================
   Fullskärm mobilmeny (offcanvas)
   ============================================================ */
.mobile-fullscreen-nav {
  width: 100% !important;
  background: var(--dark);
  border: none !important;
}

.mobile-fullscreen-nav .offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.mobile-nav-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  padding: .25rem;
  line-height: 1;
  transition: color .2s;
}
.mobile-nav-close:hover { color: #fff; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  letter-spacing: -.03em;
  line-height: 1.15;
  transition: color .2s, padding-left .25s;
}
.mobile-nav-link:hover { color: #fff; padding-left: .5rem; }
.mobile-nav-link.active { color: var(--accent); }

/* Backdrop */
.offcanvas-backdrop { background: rgba(28,14,8,.7); }

/* ============================================================
   Trust badges (Index hero)
   ============================================================ */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem .75rem;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  padding: .3rem .85rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ============================================================
   Billing toggle (Priser + Checkout)
   ============================================================ */
.billing-toggle-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Hide the native checkbox */
.billing-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.billing-toggle-track {
  display: flex;
  align-items: center;
  width: 46px;
  height: 26px;
  background: var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s ease;
  border: 1px solid rgba(0,0,0,.08);
  position: relative;
}

.billing-toggle-input:checked + .billing-toggle-track {
  background: var(--accent);
  border-color: var(--accent);
}

.billing-toggle-thumb {
  position: absolute;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}

.billing-toggle-input:checked + .billing-toggle-track .billing-toggle-thumb {
  transform: translateX(20px);
}

.billing-toggle-input:focus-visible + .billing-toggle-track {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Active billing label highlight */
.billing-label { color: var(--text-light); transition: color .2s; font-size: .9375rem; }
.billing-label.active { color: var(--text); }

/* ============================================================
   Checkout — step indicator
   ============================================================ */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}

.step-label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-light);
  transition: color .25s;
}

.checkout-step.active .step-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(201,123,64,.18);
}
.checkout-step.active .step-label { color: var(--text); }

.checkout-step.done .step-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.checkout-step.done .step-label { color: var(--primary); }

.checkout-step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 .5rem;
  min-width: 32px;
  max-width: 80px;
  transition: background .25s;
}

/* ============================================================
   Checkout — plan selection cards
   ============================================================ */
.checkout-plan-card {
  display: block;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
  background: #fff;
  user-select: none;
}

.checkout-plan-card:hover {
  border-color: rgba(201,123,64,.4);
  box-shadow: var(--shadow-sm);
}

.checkout-plan-card.selected {
  border-color: var(--accent);
  background: rgba(201,123,64,.04);
  box-shadow: 0 0 0 3px rgba(201,123,64,.15);
}

/* ============================================================
   Checkout — payment placeholder
   ============================================================ */
.payment-placeholder {
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
  padding: 2rem 1.5rem;
}

.payment-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text-light);
}

/* ============================================================
   Checkout — feature checkbox cards
   ============================================================ */
.feature-checkbox-label {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
  transition: border-color .18s, background .18s, box-shadow .18s;
  user-select: none;
  width: 100%;
  height: 100%;
  min-height: 44px;
  box-sizing: border-box;
}

.feature-checkbox-label:hover {
  border-color: rgba(201,123,64,.4);
  background: rgba(201,123,64,.03);
}

.feature-locked-label.is-locked {
  opacity: .55;
  cursor: not-allowed;
  background: #f8f5f2;
  border-style: dashed;
  border-color: var(--border);
}
.feature-locked-label.is-locked:hover {
  border-color: var(--border);
  background: #f8f5f2;
}
.feature-locked-label.is-locked .feature-checkbox { cursor: not-allowed; }

.field-error {
  font-size: .8rem;
  color: #dc3545;
  margin-top: .35rem;
}
.form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220,53,69,.12);
}

.feature-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(154,79,30,.08);
  border: 1px solid rgba(154,79,30,.15);
  border-radius: 20px;
  padding: 2px 7px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .18s;
}
.feature-locked-label.is-locked .feature-lock-badge { opacity: 1; }

.feature-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 5px;
  flex-shrink: 0;
  background: #fff;
  cursor: pointer;
  transition: background .18s, border-color .18s;
  position: relative;
}

.feature-checkbox:checked {
  background: var(--accent);
  border-color: var(--accent);
}

/* Checkmark via pseudo-element */
.feature-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0px;
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.feature-checkbox:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Highlight entire card when checked */
.feature-checkbox-label:has(.feature-checkbox:checked) {
  border-color: var(--accent);
  background: rgba(201,123,64,.05);
  box-shadow: 0 0 0 3px rgba(201,123,64,.12);
}

.feature-checkbox-text {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
}

/* Annat-fältets slide-in */
#annatField {
  animation: slideDown .2s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Blogg
   ============================================================ */
.blog-cat-btn {
  display: inline-block;
  padding: .35rem 1rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-light);
  background: transparent;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: border-color .18s, color .18s, background .18s;
}
.blog-cat-btn:hover,
.blog-cat-btn.active {
  border-color: var(--accent);
  color: var(--primary);
  background: rgba(201,123,64,.06);
}

.blog-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(154,79,30,.07);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(154,79,30,.1);
}

.project-card { transition: box-shadow .25s, transform .25s, border-color .25s; }
.project-card:hover {
  border-color: rgba(201,123,64,.3) !important;
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-4px);
}
/* ============================================================
   Cookie banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1055;
  background: #1C0E08;
  color: #fff;
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
  animation: cookieSlideUp .35s ease;
}
.cookie-banner--hide {
  animation: cookieSlideDown .35s ease forwards;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes cookieSlideDown {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(100%); opacity: 0; }
}
.cookie-banner-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 240px; }
.cookie-banner-text .text-muted { color: rgba(255,255,255,.6) !important; }
.cookie-banner-actions { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-policy-link { color: var(--accent); text-decoration: underline; }

/* ============================================================
   Integritetspolicy
   ============================================================ */
.policy-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2rem 0 .6rem;
}
.policy-body p, .policy-body li { color: #444; line-height: 1.75; }

.project-img-link { display: block; overflow: hidden; }
.project-img-link img { transition: transform .3s ease; }
.project-img-link:hover img { transform: scale(1.04); }

.project-url {
  color: var(--accent);
  text-decoration: none;
  word-break: break-all;
}
.project-url:hover { text-decoration: underline; }

.blog-card { transition: box-shadow .25s, transform .25s, border-color .25s; }
.blog-card:hover {
  border-color: rgba(201,123,64,.3) !important;
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-4px);
}

.blog-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  background: rgba(154,79,30,.08);
  padding: .2rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(154,79,30,.12);
}

.blog-read-more {
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.blog-read-more:hover { text-decoration: underline; }

/* ============================================================
   Thank You page — check icon
   ============================================================ */
.thankyou-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16,185,129,.1);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(16,185,129,.2);
  box-shadow: 0 0 0 8px rgba(16,185,129,.06);
}

/* ============================================================
   Desktop enhancements (≥ 992px)
   ============================================================ */
@media (min-width: 992px) {

  /* Hero — taller, vertically centered */
  .hero {
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero > .container { padding-top: 3rem; padding-bottom: 2rem; }

  /* Bigger glow on desktop */
  .hero::before {
    top: -20%;
    right: -5%;
    width: 55%;
    height: 120%;
    background: radial-gradient(ellipse at center,
      rgba(201,123,64,.22) 0%,
      rgba(154,79,30,.08) 45%,
      transparent 70%);
  }

  /* Taller image placeholder */
  .img-placeholder--hero { min-height: 380px; }

  /* Section padding — more air on desktop */
  .py-5 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

  /* Stats — horizontal row with dividers */
  .stats-section {
    padding: 3rem 4rem;
  }
  .stats-section .row { gap: 0; }
  .stats-section .col-auto { position: relative; padding: 0 4rem; }
  .stats-section .col-auto + .col-auto::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: rgba(255,255,255,.1);
  }
  .stat-number { font-size: 3.75rem; }

  /* CTA banner — more breathing room */
  .cta-banner { padding-top: 6rem !important; padding-bottom: 6rem !important; }

  /* Process steps — bigger icons on desktop */
  .step-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  /* Pricing featured card — bigger scale on desktop */
  .pricing-card--featured { transform: scale(1.03); }
}
