/* ================================================================
   Brf Adelsö 2 — Stilmall v2
   Modern, mobilanpassad design
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Design tokens ─────────────────────────────────────────────── */
:root {
  --navy:          #1A3058;
  --navy-dark:     #0F1E3A;
  --navy-mid:      #2D5AA3;
  --navy-light:    #EBF1FB;
  --navy-faint:    #F4F7FD;
  --amber:         #F5A623;
  --amber-dark:    #D4880F;
  --amber-light:   #FEF3C7;
  --green:         #10B981;
  --green-light:   #D1FAE5;
  --red:           #EF4444;
  --red-light:     #FEE2E2;
  --yellow:        #F59E0B;
  --yellow-light:  #FEF9C3;

  --text:          #111827;
  --text-2:        #374151;
  --text-muted:    #6B7280;
  --text-light:    #9CA3AF;

  --bg:            #FFFFFF;
  --bg-soft:       #F9FAFB;
  --bg-subtle:     #F3F4F6;
  --border:        #E5E7EB;
  --border-strong: #D1D5DB;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,.25);

  --r-sm:  6px;
  --r:     12px;
  --r-lg:  18px;
  --r-xl:  24px;
  --r-2xl: 32px;

  --ease:  cubic-bezier(.4,0,.2,1);
  --t:     .2s var(--ease);
  --t-md:  .3s var(--ease);

  --header-h: 68px;
  --max-w:    1140px;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text); background: var(--bg);
  line-height: 1.65; font-size: 16px; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-mid); }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ── Layout helpers ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--bg-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.grid-2 { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(3,1fr); }
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(4,1fr); }
.grid-auto { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }

/* ── Typography ─────────────────────────────────────────────────── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: var(--navy-mid);
  background: var(--navy-light); padding: 5px 14px;
  border-radius: 20px; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(24px,4vw,36px); font-weight: 800;
  color: var(--navy); line-height: 1.2; margin-bottom: 12px;
}
.section-sub {
  font-size: 17px; color: var(--text-muted); max-width: 540px; line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .section-sub { margin-inline: auto; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--r);
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: var(--t);
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--amber); color: var(--navy);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-dark); border-color: var(--amber-dark);
  color: var(--navy); box-shadow: 0 4px 14px rgba(245,166,35,.4);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy); color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark); border-color: var(--navy-dark);
  color: #fff; transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26,48,88,.35);
}

.btn-outline-white {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.85); color: #fff;
}

.btn-ghost {
  background: transparent; color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-subtle); border-color: var(--border-strong);
}

.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: var(--r-sm); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Header ─────────────────────────────────────────────────────── */
#site-header {
  position: sticky; top: 0; z-index: 200; height: var(--header-h);
  background: rgba(26,48,88,.96);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 20px rgba(0,0,0,.2);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: var(--header-h);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-badge {
  width: 46px; height: 46px; flex-shrink: 0;
  display: block; object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; font-size: 15px; font-weight: 700; color: #fff; }
.logo-text span   { font-size: 12px; color: rgba(255,255,255,.55); font-weight: 400; }

/* Desktop nav */
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  color: rgba(255,255,255,.78); font-size: 14px; font-weight: 500;
  padding: 8px 13px; border-radius: var(--r-sm);
  transition: var(--t); text-decoration: none;
}
.main-nav a:hover, .main-nav a.active {
  color: #fff; background: rgba(255,255,255,.1);
}
.nav-cta {
  background: var(--amber) !important; color: var(--navy) !important;
  padding: 8px 18px !important; font-weight: 700 !important;
  margin-left: 6px; border-radius: var(--r-sm) !important;
  box-shadow: 0 2px 8px rgba(245,166,35,.3);
}
.nav-cta:hover {
  background: var(--amber-dark) !important;
  box-shadow: 0 4px 12px rgba(245,166,35,.45) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: #fff; border-radius: var(--r-sm);
  transition: var(--t);
}
.menu-toggle:hover { background: rgba(255,255,255,.1); }

/* Mobile nav drawer */
.mobile-nav {
  display: none; position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--navy-dark);
  padding: 16px; flex-direction: column; gap: 4px;
  overflow-y: auto; z-index: 199;
  animation: slideDown .25s var(--ease);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,.8); padding: 14px 18px;
  border-radius: var(--r); font-weight: 500; font-size: 16px;
  text-decoration: none; transition: var(--t);
  border: 1px solid transparent;
}
.mobile-nav a:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.1); }
.mobile-nav .nav-cta {
  background: var(--amber) !important; color: var(--navy) !important;
  font-weight: 700; text-align: center; margin-top: 12px;
  border-color: var(--amber) !important;
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1F4A8A 100%);
  color: #fff;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  min-height: calc(100vh - var(--header-h));
  max-height: 760px; padding: 80px 0;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: var(--amber);
  background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.25);
  padding: 5px 14px; border-radius: 20px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 54px); font-weight: 800;
  line-height: 1.1; margin-bottom: 18px;
}
.hero h1 em { color: var(--amber); font-style: normal; }
.hero-sub {
  font-size: 18px; opacity: .82; line-height: 1.7;
  margin-bottom: 36px; max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--amber); }
.hero-stat span   { font-size: 13px; opacity: .65; }

.hero-img-wrap {
  position: relative; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-xl);
}
.hero-img-wrap img { width: 100%; border-radius: var(--r-xl); }
.hero-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  padding: 12px 18px; border-radius: var(--r);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.hero-badge-icon {
  width: 40px; height: 40px; background: var(--amber-light);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0;
}
.hero-badge-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); }
.hero-badge-text span   { font-size: 12px; color: var(--text-muted); }

/* Hero decorative elements */
.hero-glow {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, var(--amber) 0%, transparent 70%);
  opacity: .06; pointer-events: none;
}

/* ── Quick-link cards ────────────────────────────────────────────── */
.quick-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}
.quick-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 28px 24px; border-radius: var(--r-lg);
  text-decoration: none; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm); transition: var(--t-md);
  gap: 12px;
}
.quick-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy-faint), transparent);
  opacity: 0; transition: var(--t);
}
.quick-card:hover {
  border-color: var(--navy-mid); box-shadow: var(--shadow-md);
  transform: translateY(-4px); text-decoration: none;
}
.quick-card:hover::after { opacity: 1; }
.quick-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
  position: relative; z-index: 1;
}
.quick-card h3 {
  font-size: 16px; font-weight: 700; color: var(--navy);
  position: relative; z-index: 1;
}
.quick-card p {
  font-size: 13px; color: var(--text-muted); line-height: 1.5;
  position: relative; z-index: 1;
}
.quick-arrow {
  margin-top: auto; color: var(--navy-mid); font-size: 18px;
  transition: transform var(--t); position: relative; z-index: 1;
}
.quick-card:hover .quick-arrow { transform: translateX(4px); }

/* ── News cards ─────────────────────────────────────────────────── */
.news-grid { display: grid; gap: 24px; grid-template-columns: repeat(3,1fr); }
.news-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--t-md);
  display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-card-img {
  height: 6px; flex-shrink: 0;
  background: linear-gradient(90deg, var(--navy), var(--navy-mid));
}
.news-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tag {
  font-size: 11px; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase; padding: 3px 10px; border-radius: 20px;
}
.tag-blue   { background: var(--navy-light); color: var(--navy-mid); }
.tag-amber  { background: var(--amber-light); color: #92400E; }
.tag-green  { background: var(--green-light); color: #065F46; }
.news-date  { font-size: 13px; color: var(--text-light); }
.news-card h3 { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.news-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.news-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 600; color: var(--navy-mid);
  margin-top: 16px; transition: gap var(--t);
}
.news-link:hover { gap: 8px; }

/* ── Room feature section ───────────────────────────────────────── */
.feature-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-img {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-xl); position: relative;
}
.feature-img img { width: 100%; }
.feature-img-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--amber); color: var(--navy);
  font-size: 13px; font-weight: 700; padding: 6px 14px;
  border-radius: 20px; box-shadow: var(--shadow-sm);
}
.feature-text { max-width: 520px; }
.feature-list { margin-top: 24px; display: grid; gap: 12px; }
.feature-list-item {
  display: flex; gap: 12px; align-items: flex-start; font-size: 15px;
}
.feature-list-icon {
  width: 28px; height: 28px; background: var(--green-light);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 13px; flex-shrink: 0; margin-top: 1px;
}
.feature-list-item strong { display: block; font-weight: 600; }
.feature-list-item span { color: var(--text-muted); font-size: 14px; }

/* ── Info cards ─────────────────────────────────────────────────── */
.info-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.info-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.info-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.info-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Notices / Alerts ───────────────────────────────────────────── */
.notice {
  display: flex; gap: 12px; padding: 14px 18px;
  border-radius: var(--r); margin-bottom: 20px;
  font-size: 14px; line-height: 1.55;
}
.notice-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.notice-info    { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E3A8A; }
.notice-success { background: var(--green-light); border: 1px solid #A7F3D0; color: #065F46; }
.notice-warning { background: var(--yellow-light); border: 1px solid #FDE68A; color: #92400E; }
.notice-error   { background: var(--red-light); border: 1px solid #FECACA; color: #991B1B; }
.notice a { font-weight: 600; }

/* ── Forms ─────────────────────────────────────────────────────── */
.form-row    { display: grid; gap: 20px; margin-bottom: 0; }
.form-row-2  { grid-template-columns: 1fr 1fr; }
.form-section { margin-bottom: 28px; }
.form-section-title {
  font-size: 15px; font-weight: 700; color: var(--navy);
  padding-bottom: 12px; margin-bottom: 20px;
  border-bottom: 1.5px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 14px; font-weight: 600; color: var(--text-2);
  display: flex; align-items: center; gap: 4px;
}
.req { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); font-size: 15px; color: var(--text);
  background: var(--bg); transition: var(--t); outline: none;
  width: 100%;
}
.form-group input:hover,
.form-group select:hover { border-color: var(--border-strong); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(45,90,163,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-hint { font-size: 12px; color: var(--text-light); }

/* Checkbox row */
.checkbox-row {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; font-size: 14px; color: var(--text-2);
}
.checkbox-row input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  accent-color: var(--navy); cursor: pointer; margin-top: 1px;
}

/* ── Card shell ─────────────────────────────────────────────────── */
.card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card-header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 18px; margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.card-header-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}

/* ── Booking steps bar ──────────────────────────────────────────── */
.steps-bar {
  display: flex; align-items: flex-start; gap: 0;
  margin-bottom: 36px; position: relative;
}
.steps-bar::before {
  content: ''; position: absolute;
  top: 18px; left: calc(50% / 3); right: calc(50% / 3);
  height: 2px; background: var(--border); z-index: 0;
}
.step-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 8px; position: relative; z-index: 1;
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  border: 2px solid var(--border); background: var(--bg);
  color: var(--text-light); transition: var(--t);
}
.step-item.active .step-num {
  background: var(--navy); border-color: var(--navy);
  color: #fff; box-shadow: 0 0 0 4px var(--navy-light);
}
.step-item.done .step-num {
  background: var(--green); border-color: var(--green); color: #fff;
}
.step-label { font-size: 12px; font-weight: 600; color: var(--text-light); text-align: center; }
.step-item.active .step-label { color: var(--navy); }

/* ── Calendar ───────────────────────────────────────────────────── */
.calendar-wrap {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
  background: var(--bg);
}
.calendar-wrap iframe { display: block; width: 100%; border: none; }
.calendar-header {
  padding: 14px 20px; background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
}
.calendar-header span { color: #fff; font-weight: 600; font-size: 14px; }
.calendar-header a  { color: var(--amber); font-size: 13px; font-weight: 600; }

/* ── Interaktiv bokningskalender ────────────────────────────────── */
.booking-cal {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  padding: 8px; max-width: 520px; margin: 0 auto;
}
.cal-loading {
  padding: 48px 0; text-align: center; color: var(--text-light);
  font-size: 14px;
}
.cal-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 8px 14px;
}
.cal-top strong {
  font-size: 16px; font-weight: 800; color: var(--navy);
  text-transform: capitalize; letter-spacing: -.01em;
}
.cal-nav {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  border: 1.5px solid var(--border); background: var(--bg);
  font-size: 20px; line-height: 1; color: var(--navy); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t), border-color var(--t);
}
.cal-nav:hover { background: var(--navy-faint); border-color: var(--navy-mid); }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }

.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.cal-dow span {
  text-align: center; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em;
  color: var(--text-light); padding: 4px 0;
}
.cal-days { margin-top: 2px; }
.cal-empty { aspect-ratio: 1 / 1; }
.cal-day {
  aspect-ratio: 1 / 1; border: none; background: var(--bg-soft);
  border-radius: var(--r-sm); cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  position: relative; transition: background var(--t), color var(--t);
}
.cal-day:hover { background: var(--navy-light); color: var(--navy); }
.cal-day.cal-past,
.cal-day.cal-blocked {
  cursor: not-allowed; background: transparent; color: var(--text-light);
}
.cal-day.cal-past { opacity: .45; }
.cal-day.cal-blocked {
  background: repeating-linear-gradient(135deg, var(--red-light), var(--red-light) 4px, #fff 4px, #fff 8px);
  color: var(--red); text-decoration: line-through;
}
.cal-day.cal-past:hover,
.cal-day.cal-blocked:hover { color: var(--text-light); }
.cal-day.cal-blocked:hover { color: var(--red); }
.cal-day.cal-in-range { background: var(--navy-light); color: var(--navy); border-radius: 0; }
.cal-day.cal-sel-start, .cal-day.cal-sel-end {
  background: var(--navy); color: #fff; font-weight: 800;
}
.cal-day.cal-sel-start { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.cal-day.cal-sel-end   { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.cal-day.cal-sel-start.cal-sel-end { border-radius: var(--r-sm); }

.cal-legend {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
  padding: 14px 8px 8px; font-size: 12px; color: var(--text-muted);
}
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i {
  width: 13px; height: 13px; border-radius: 3px; display: inline-block;
}
.cal-legend .lg-free    { background: var(--bg-soft); border: 1px solid var(--border); }
.cal-legend .lg-sel     { background: var(--navy); }
.cal-legend .lg-blocked { background: repeating-linear-gradient(135deg, var(--red-light), var(--red-light) 3px, #fff 3px, #fff 6px); border: 1px solid var(--red-light); }

.cal-selection {
  margin-top: 14px; background: var(--navy-faint);
  border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 16px 18px;
}
.cal-selection.is-empty { text-align: center; color: var(--text-muted); font-size: 14px; }
.cal-sel-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.cal-sel-dates { font-size: 15px; font-weight: 700; color: var(--navy); }
.cal-sel-dates small { display: block; font-weight: 500; color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.cal-sel-price { font-size: 20px; font-weight: 800; color: var(--navy); }
.cal-sel-price small { font-size: 12px; font-weight: 500; color: var(--text-muted); display: block; text-align: right; }
.cal-clear {
  background: none; border: none; color: var(--navy-mid);
  font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; margin-top: 10px;
  text-decoration: underline;
}

/* Vald-period chips i formuläret */
.period-recap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 4px;
}
.period-chip {
  background: var(--navy-faint); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 12px 14px;
}
.period-chip .pc-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--text-light); }
.period-chip .pc-value { font-size: 15px; font-weight: 700; color: var(--navy); margin-top: 3px; }
.period-chip .pc-value.empty { color: var(--text-light); font-weight: 500; }

/* ── Document list ──────────────────────────────────────────────── */
.doc-list { display: flex; flex-direction: column; gap: 8px; }
.doc-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: var(--bg);
  border: 1.5px solid var(--border); border-radius: var(--r);
  text-decoration: none; color: var(--text);
  transition: var(--t); cursor: pointer;
}
.doc-item:hover {
  border-color: var(--navy-mid);
  background: var(--navy-faint);
  transform: translateX(4px); text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.doc-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--navy-light); display: flex;
  align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.doc-info { flex: 1; }
.doc-info strong { display: block; font-size: 15px; font-weight: 600; }
.doc-info span   { font-size: 13px; color: var(--text-muted); }
.doc-arrow { color: var(--navy-mid); transition: transform var(--t); }
.doc-item:hover .doc-arrow { transform: translateX(4px); }

/* Hopfällbara dokumentkategorier (accordion) */
.doc-cat { margin-bottom: 16px; border: 1.5px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.doc-cat-head {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; background: var(--bg); border: none; cursor: pointer;
  text-align: left; font: inherit; color: var(--navy); transition: var(--t);
}
.doc-cat-head:hover { background: var(--navy-faint); }
.doc-cat-badge {
  width: 40px; height: 40px; border-radius: 10px; background: var(--navy-light);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.doc-cat-title { flex: 1; font-size: 18px; font-weight: 800; color: var(--navy); }
.doc-cat-count {
  font-size: 13px; font-weight: 700; color: var(--navy-mid);
  background: var(--navy-faint); border: 1px solid var(--border);
  border-radius: 999px; padding: 2px 10px; flex-shrink: 0;
}
.doc-cat-chevron { color: var(--navy-mid); flex-shrink: 0; transition: transform .3s ease; }
.doc-cat.open .doc-cat-chevron { transform: rotate(180deg); }
/* Mjuk glid-animation: grid-rader 0fr → 1fr animerar till innehållets höjd */
.doc-cat-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s ease; }
.doc-cat.open .doc-cat-body { grid-template-rows: 1fr; }
.doc-cat-body > .doc-list { overflow: hidden; min-height: 0; padding: 2px 14px 16px; }

/* ── Contact cards ──────────────────────────────────────────────── */
.contact-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); }
.contact-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm);
}
.contact-avatar {
  width: 48px; height: 48px; background: var(--navy);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0;
}
.contact-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.contact-row:last-child { border-bottom: none; }
.contact-row-icon { color: var(--navy-mid); flex-shrink: 0; margin-top: 1px; }

/* ── Rules list ─────────────────────────────────────────────────── */
.rules-list { display: flex; flex-direction: column; gap: 10px; }
.rule-item {
  display: flex; gap: 12px; padding: 12px 16px;
  background: var(--bg-soft); border-radius: var(--r-sm);
  border: 1px solid var(--border); font-size: 14px; line-height: 1.55;
  align-items: flex-start;
}
.rule-check { color: var(--green); font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ── FAQ accordion ──────────────────────────────────────────────── */
.faq-item {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r); overflow: hidden; transition: var(--t);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: var(--navy-mid); box-shadow: var(--shadow-sm); }
.faq-summary {
  padding: 18px 22px; font-weight: 600; font-size: 15px;
  cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; align-items: center;
  color: var(--navy);
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy-light); color: var(--navy-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 400; flex-shrink: 0;
  transition: transform var(--t);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq-body { padding: 0 22px 20px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── Page hero ─────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff; padding: 52px 0;
}
.page-hero h1 { font-size: clamp(26px,4vw,40px); font-weight: 800; margin-top: 10px; }
.page-hero p  { margin-top: 8px; font-size: 16px; opacity: .75; }
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,.55);
}
.breadcrumb a   { color: rgba(255,255,255,.55); transition: var(--t); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb-sep { opacity: .5; }

/* ── Swish highlight box ────────────────────────────────────────── */
.swish-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff; border-radius: var(--r-lg); padding: 24px 28px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: var(--shadow-md);
}
.swish-icon {
  width: 56px; height: 56px; background: var(--amber);
  border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 26px; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245,166,35,.4);
}
.swish-text strong { display: block; font-size: 22px; font-weight: 800; color: var(--amber); letter-spacing: .5px; }
.swish-text span   { font-size: 14px; opacity: .8; }

/* ── ═══════════ MODAL / POPUP ═══════════ ──────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,20,40,.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-md), visibility var(--t-md);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--bg); border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl); width: 100%;
  max-width: 640px; max-height: 92vh;
  display: flex; flex-direction: column;
  transform: scale(.95) translateY(12px);
  transition: transform var(--t-md);
  overflow: hidden;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-head {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-shrink: 0;
}
.modal-head h2 { font-size: 20px; font-weight: 800; color: var(--navy); }
.modal-head p  { font-size: 14px; color: var(--text-muted); margin-top: 2px; }
.modal-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-subtle); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--text-muted); transition: var(--t);
  flex-shrink: 0; margin-left: 12px;
}
.modal-close:hover { background: var(--red-light); color: var(--red); }

.modal-body {
  flex: 1; overflow-y: auto; padding: 24px 28px;
  overscroll-behavior: contain;
}
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: var(--bg-subtle); border-radius: 3px; }
.modal-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

.modal-foot {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-soft);
}
.modal-accept-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; background: var(--navy-faint);
  border-radius: var(--r); border: 1.5px solid var(--border);
  margin-bottom: 16px; cursor: pointer;
}
.modal-accept-row input[type="checkbox"] {
  width: 20px; height: 20px; flex-shrink: 0;
  accent-color: var(--navy); cursor: pointer; margin-top: 1px;
}
.modal-accept-row label {
  font-size: 14px; font-weight: 600; color: var(--navy); cursor: pointer;
}
.modal-accept-row label span { font-weight: 400; color: var(--text-muted); }
.modal-actions { display: flex; gap: 12px; }

/* Rule group in modal */
.modal-rule-group { margin-bottom: 24px; }
.modal-rule-group h3 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .6px; color: var(--navy-mid); margin-bottom: 10px;
  padding-bottom: 6px; border-bottom: 1px solid var(--border);
}
.modal-rule {
  display: flex; gap: 12px; padding: 10px 14px;
  border-radius: var(--r-sm); margin-bottom: 6px;
  background: var(--bg); border: 1px solid var(--border);
  font-size: 14px; line-height: 1.55; align-items: flex-start;
}
.modal-rule-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy-light); color: var(--navy-mid);
  font-size: 12px; font-weight: 700; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.modal-rule-important {
  background: #FFF9ED; border-color: #FDE68A;
}
.modal-rule-important .modal-rule-num { background: var(--amber-light); color: #92400E; }

/* ── Footer ─────────────────────────────────────────────────────── */
#site-footer {
  background: var(--navy-dark); color: rgba(255,255,255,.7);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid; gap: 48px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  margin-bottom: 48px;
}
.footer-logo-wrap { margin-bottom: 16px; }
.footer-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 280px; }
.footer-address { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.8; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .6px; color: rgba(255,255,255,.9);
  margin-bottom: 18px;
}
.footer-col a {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.5); font-size: 14px;
  margin-bottom: 10px; transition: var(--t);
  text-decoration: none;
}
.footer-col a:hover { color: var(--amber); }
.footer-divider { height: 1px; background: rgba(255,255,255,.08); margin-bottom: 24px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,.3);
}

/* ── Responsive utility grids ───────────────────────────────────── */
/* Applied via inline style — collapses to single col on mobile */
[style*="grid-template-columns:1fr 1fr"],
[style*="grid-template-columns: 1fr 1fr"] {
  display: grid;
}

/* ── Responsive breakpoints ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .quick-grid { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-inner { grid-template-columns: 1fr; max-height: none; padding: 56px 0 48px; }
  .hero-img-wrap { display: none; }
  .feature-block { grid-template-columns: 1fr; }
  .feature-block.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .section { padding: 56px 0; }
  .news-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero h1 { font-size: 28px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  /* Collapse all inline 1fr 1fr grids */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:3fr 2fr"],
  [style*="grid-template-columns:2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .steps-bar::before { display: none; }
  .swish-box { flex-direction: column; gap: 14px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .btn-lg { padding: 14px 24px; }
  .modal { max-height: 100vh; border-radius: var(--r-lg) var(--r-lg) 0 0; align-self: flex-end; }
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-head { padding: 20px 20px 16px; }
  .modal-body { padding: 20px; }
  .modal-foot { padding: 16px 20px; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; justify-content: center; }
  .swish-box { flex-direction: column; gap: 14px; }
}
