/* ===== RESET ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Josefin Sans', sans-serif;
  background: linear-gradient(to bottom, #f8fafc, #eef2f7);
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
.main-header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  margin-left: 12px;
}

.nav-links a {
  margin-left: 24px;
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1e293b;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===== CARD ===== */
.booking-card {
  max-width: 820px;
  margin: 60px auto;
  background: #ffffff;
  padding: 50px;
  border-radius: 14px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.07);
  border: 1px solid #e2e8f0;
}

.card-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* ============================================================
   BRAND B2C/B2B TOGGLE — matches the homepage pricing toggle
   exactly (same colors, sizing, animation). This is the only
   place on the page that needs the small Tailwind-like utility
   classes used in the toggle markup, so they're defined here
   rather than pulling in all of Tailwind.
   ============================================================ */
.flex { display: flex; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.flex-1 { flex: 1 1 0%; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.cursor-pointer { cursor: pointer; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.font-bold { font-weight: 700; }
.mb-12 { margin-bottom: 3rem; }
.p-1 { padding: 0.25rem; }
.w-72 { width: 18rem; }
.h-12 { height: 3rem; }
.h-10 { height: 2.5rem; }
.rounded-full { border-radius: 9999px; }
.z-10 { z-index: 10; }
.bg-gray-200 { background-color: #e5e7eb; }
.shadow-inner { box-shadow: inset 0 2px 4px rgba(0,0,0,0.06); }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.transition-all { transition-property: all; }
.transition-colors { transition-property: color, background-color, border-color; }
.duration-300 { transition-duration: 300ms; }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

#toggle-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 288px;
  height: 48px;
  background-color: #f1f5f9;
  padding: 4px;
  border-radius: 9999px;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
}

#toggle-bg {
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 138px;
  left: 4px;
  border-radius: 9999px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  background: #e2e8f0;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
  z-index: 1;
}

#text-b2c,
#text-b2b {
  position: relative;
  z-index: 10;
  flex: 1;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  color: #1e293b;
}

/* ===== FORM ===== */
label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 6px;
  display: block;
}

.form-group {
  margin-bottom: 22px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 15px;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus {
  border-color: #1e293b;
  background: #ffffff;
  outline: none;
}

.pointer {
  cursor: pointer;
}

/* ===== GIFT BOX ===== */
.gift-card-option {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.gift-card-option input {
  margin-right: 12px;
  width: 18px;
  height: 18px;
}

.checkbox-label {
  font-size: 15px;
  text-transform: none;
}

/* ===== TIME SLOTS ===== */
.slots-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.slot-btn {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slot-btn:hover {
  border-color: #1e293b;
  transform: translateY(-2px);
}

.slot-btn-selected {
  background: #1e293b;
  color: white;
  border-color: #1e293b;
}

.slot-btn:disabled {
  background: #f1f5f9;
  color: #cbd5e1;
  cursor: not-allowed;
  transform: none;
}

/* ===== PRICE ===== */
.price-display {
  font-size: 26px;
  font-weight: 700;
  text-align: right;
  margin: 30px 0;
}

/* ===== BUTTON ===== */
.btn-nordic {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #1e293b, #334155);
  color: white;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-nordic:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-nordic:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ===== FORM DIVIDER ===== */
.contacts-form {
  border-top: 1px solid #e2e8f0;
  margin-top: 30px;
  padding-top: 30px;
}

/* ===== ERRORS / SUCCESS ===== */
.border-red-500 {
  border-color: #ef4444 !important;
}

.text-error {
  color: #ef4444;
  font-size: 13px;
  margin-top: 5px;
}

.text-success {
  color: #16a34a;
  font-size: 14px;
  margin-top: 5px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 12px 14px;
  border-radius: 8px;
}

.hidden {
  display: none !important;
}

/* ===== EXTRA / DYNAMIC FIELDS ===== */
#individual-extra-fields .form-group {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 16px;
}

/* ===== B2B POLICY (collapsible) ===== */
.policy-toggle {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  user-select: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-toggle:hover {
  color: #1e293b;
}

.policy-content {
  margin-top: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
}

.policy-content ul {
  padding-left: 18px;
  margin: 8px 0;
}

.policy-content p {
  margin: 0 0 10px 0;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
  position: relative;
}

.modal-title {
  font-size: 22px;
  margin-bottom: 5px;
}

.modal-price {
  font-weight: 700;
  margin-bottom: 20px;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 26px;
  border: none;
  background: none;
  cursor: pointer;
}

/* ===== STRIPE ===== */
#card-element {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.nordic-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  font-size: 11px;
  color: #94a3b8;
}

.nordic-divider::before,
.nordic-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.nordic-divider span {
  padding: 0 10px;
}

.m-top-20 {
  margin-top: 20px;
}

/* ===== SITE HEADER (mobile-first, plain CSS, no Tailwind) ===== */
.site-header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.site-logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.site-brand-name {
  font-size: 20px;
  font-weight: 700;
}

/* Desktop nav — hidden by default (mobile), shown from 768px up */
.site-nav-desktop {
  display: none;
  gap: 24px;
}

.site-nav-desktop a {
  text-decoration: none;
  color: #334155;
  font-weight: 600;
}

.site-nav-desktop a:hover {
  color: #1e293b;
}

/* Burger button — visible by default (mobile), hidden from 768px up */
.mobile-menu-btn {
  display: block;
  padding: 8px;
  border: none;
  background: #f1f5f9;
  border-radius: 8px;
  cursor: pointer;
  /* z-index so the button always stays clickable above other
     absolutely-positioned elements in the header */
  position: relative;
  z-index: 101;
}

.mobile-menu-btn svg {
  width: 26px;
  height: 26px;
  color: #1e293b;
  display: block;
  /* prevent the SVG itself from swallowing the click / becoming
     the click target instead of the button on some mobile browsers */
  pointer-events: none;
}

/* Mobile dropdown menu — closed by default, opened via .open (JS) */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 20px 30px rgba(0,0,0,0.08);
  flex-direction: column;
  padding: 20px;
  gap: 14px;
  z-index: 99;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 700;
  font-size: 16px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .site-nav-desktop {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* ============================================================
   NEW ADDITIONS BELOW — PDF document cards + site footer.
   Nothing above this line was modified.
   ============================================================ */

/* ===== DOCUMENTS / PDF CARDS ===== */
.docs-section {
  max-width: 820px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.docs-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1e293b;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.doc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.doc-card-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  text-align: center;
}

.doc-card-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  transition: all 0.2s ease;
}

.doc-card:hover .doc-card-box {
  border-color: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.doc-card-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #dc2626;
}

.doc-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.doc-card-filename {
  font-weight: 700;
  font-size: 14px;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doc-card-sub {
  font-size: 12px;
  color: #64748b;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid #e2e8f0;
  padding: 24px 20px;
  text-align: center;
}

.site-footer-inner a {
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer-inner a:hover {
  color: #1e293b;
}