@font-face {
  font-family: "Prague";
  src: url("../profiles/kraken/themes/kraken_theme/fonts/prg-font/prgweb-regular-webfont.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Prague";
  src: url("../profiles/kraken/themes/kraken_theme/fonts/prg-font/prgweb-bold-webfont.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #00517f;
  --navy-dark: #003f65;
  --cyan: #00a4d7;
  --cyan-light: #e8f7fb;
  --ink: #003f5e;
  --muted: #667985;
  --line: #dbe4e8;
  --surface: #ffffff;
  --page: #f0f7f9;
  --danger: #c33232;
  --shadow: 0 5px 18px rgba(0, 64, 94, .13);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--page); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Prague", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a { color: var(--navy); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

button, input, select { font: inherit; }
button, select { cursor: pointer; }

.language-bar {
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  padding: 0 max(5vw, 24px);
  color: var(--ink);
  background: #f6fafb;
  font-size: 14px;
}

.booking-header {
  min-height: 100px;
  padding: 24px max(5vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--surface);
  border-bottom: 1px solid #eef2f4;
}

.brand img { width: 184px; height: auto; display: block; }

.booking-header nav { display: flex; gap: clamp(22px, 3vw, 48px); font-weight: 700; }

main { min-height: 65vh; }

.steps {
  width: min(1150px, calc(100% - 64px));
  margin: 20px auto;
  padding: 14px 35px 13px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  background: var(--surface);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.step { position: relative; text-align: center; color: var(--ink); }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 1px;
  background: #b7cbd4;
}

.step button {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}

.step-number {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--surface);
  font-weight: 700;
}

.step.active { color: var(--cyan); }
.step.active .step-number { border-color: var(--cyan); }
.step.completed .step-number { color: white; border-color: var(--navy); background: var(--navy); }
.step-label { display: block; font-size: 17px; }

.toolbar {
  padding: 20px max(5vw, 24px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  background: var(--surface);
}

.toolbar label { font-weight: 700; }
.promo-group { display: flex; align-items: stretch; }
.promo-group input { min-width: 190px; border-radius: 8px 0 0 8px; }
.promo-group button { border-radius: 0 8px 8px 0; }
.promo-message { margin: 0; color: var(--muted); font-size: 14px; }

.page-section { padding: 46px max(5vw, 24px) 70px; }
.page-section.narrow { max-width: 1160px; margin: 0 auto; }

h1 { margin: 0 0 32px; font-size: clamp(34px, 4vw, 50px); font-weight: 400; letter-spacing: .01em; }
h2 { margin: 0 0 18px; font-size: 28px; font-weight: 400; }
h3 { margin: 0 0 10px; font-size: 22px; }

.date-panel {
  display: grid;
  grid-template-columns: 1fr 1fr .9fr;
  overflow: hidden;
  background: var(--surface);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.date-column, .date-summary { padding: 30px; }
.date-column { border-right: 1px solid var(--line); }
.date-column label, .field label { display: block; margin-bottom: 7px; font-weight: 700; }
.date-fields { display: grid; grid-template-columns: 1fr 128px; gap: 12px; }
.date-summary { color: white; background: var(--navy); }
.date-summary dl { margin: 0 0 24px; }
.date-summary dt { opacity: .8; font-size: 14px; }
.date-summary dd { margin: 0 0 16px; font-size: 18px; }

input, select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--ink);
  background: white;
  border: 1px solid #c9d4d9;
  border-radius: 7px;
}

input:focus, select:focus { outline: 3px solid rgba(0, 164, 215, .2); border-color: var(--cyan); }

.btn {
  min-height: 46px;
  padding: 11px 27px;
  color: white;
  background: var(--cyan);
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: .04em;
}

.btn:hover, .btn:focus-visible { background: #008fbd; text-decoration: none; }
.btn.secondary { color: var(--ink); background: white; border: 1px solid #b9cbd3; }
.btn.secondary:hover { background: #f4f8fa; }
.btn.dark { background: var(--navy); }
.btn.full { width: 100%; }
.btn[disabled] { cursor: not-allowed; opacity: .55; }

.error-banner, .success-banner, .notice-banner {
  margin: 0 0 24px;
  padding: 14px 17px;
  border-radius: 7px;
}
.error-banner { color: #8e2424; background: #fdecec; border: 1px solid #f2bbbb; }
.success-banner { color: #155b3c; background: #eaf8f1; border: 1px solid #b9e4ce; }
.notice-banner { color: var(--ink); background: var(--cyan-light); border: 1px solid #b7e8f5; }

.results-head { text-align: center; }
.results-head h1 { margin-bottom: 12px; }
.search-dates { display: flex; justify-content: center; gap: 38px; margin-bottom: 34px; }
.search-dates strong { display: block; }

.results-toolbar {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.results-toolbar select { width: 220px; margin-left: auto; }
.view-switch { display: flex; }
.view-switch button { width: 46px; padding: 0; border-radius: 0; }
.view-switch button:first-child { border-radius: 7px 0 0 7px; }
.view-switch button:last-child { border-radius: 0 7px 7px 0; }

.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.results-grid.list-view { grid-template-columns: 1fr; }

.parking-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.list-view .parking-card { display: grid; grid-template-columns: 320px 1fr 220px; }

.parking-logo {
  min-height: 106px;
  display: grid;
  place-items: center;
  background: #eaf2f5;
  border-bottom: 1px solid var(--line);
}
.parking-logo img { width: 100%; max-height: 106px; object-fit: cover; }
.parking-card-body { flex: 1; padding: 22px; }
.parking-distance { color: var(--cyan); font-weight: 700; }
.feature-list { min-height: 152px; margin: 15px 0; padding: 0; list-style: none; color: #324f5e; }
.feature-list li { margin: 8px 0; }
.feature-list li::before { content: "•"; margin-right: 8px; color: var(--cyan); }
.price-box { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.price { margin-bottom: 12px; font-size: 22px; font-weight: 700; }
.scarcity { color: #bd5a15; font-size: 14px; font-weight: 700; }
.sold-out { color: var(--danger); font-size: 20px; font-weight: 700; }
.card-links { display: flex; justify-content: space-between; margin-top: 13px; }
.link-button { padding: 0; color: var(--navy); background: none; border: 0; text-decoration: underline; }

.two-column { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 34px; align-items: start; }

.extra-card, .form-card, .summary-card, .confirmation-card {
  background: var(--surface);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.extra-card { max-width: 620px; overflow: hidden; }
.fasttrack-logo { padding: 35px; text-align: center; font-size: 34px; font-weight: 700; }
.fasttrack-logo span { color: #e50037; }
.extra-body, .form-card, .confirmation-card { padding: 28px; }
.extra-controls { display: grid; grid-template-columns: 1fr 160px; gap: 16px; margin: 20px 0; }

.check-line { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; }
.check-line input { width: 20px; min-height: 20px; margin-top: 2px; }
.check-line label { flex: 1; }

.summary-card { position: sticky; top: 20px; overflow: hidden; }
.summary-card h2 { padding: 20px; text-align: center; border-bottom: 1px solid var(--line); }
.summary-block { padding: 17px 22px; border-bottom: 1px solid var(--line); }
.summary-block h3 { color: var(--cyan); font-size: 18px; text-align: center; }
.summary-row { display: flex; justify-content: space-between; gap: 20px; margin: 10px 0; }
.summary-total { padding: 18px 22px; display: flex; justify-content: space-between; font-size: 22px; font-weight: 700; }
.summary-actions { padding: 0 22px 22px; }

.form-card h2 { margin-top: 26px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.form-card h2:first-of-type { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field.full { grid-column: 1 / -1; }
.required::after { content: " *"; color: var(--danger); }
.field-error { margin-top: 5px; color: var(--danger); font-size: 14px; }

.confirmation-card { max-width: 800px; margin: 0 auto; }
.confirmation-card .summary-row { padding: 8px 0; border-bottom: 1px solid #edf1f3; }
.payment-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 24px;
  text-align: center;
  background: #f5f8f9;
  border-radius: 8px;
}
.payment-stop > strong { color: var(--navy); font-size: 18px; }
.payment-stop .btn { width: auto; min-width: 228px; max-width: 100%; min-height: 50px; margin-top: 0; letter-spacing: .02em; }

.booking-footer { padding: 40px max(5vw, 24px); color: #dcebf1; background: var(--navy-dark); text-align: center; }
.booking-footer a { color: white; }
.footer-brand { font-size: 28px; font-weight: 700; }
.footer-brand span { color: #e50037; }

dialog { width: min(600px, calc(100% - 32px)); color: var(--ink); border: 0; border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(0, 39, 59, .58); }
.modal-close { float: right; padding: 0; font-size: 34px; color: var(--ink); background: none; border: 0; }
#modal-content { padding: 28px; }

@media (max-width: 900px) {
  .booking-header { align-items: flex-start; }
  .booking-header nav { flex-direction: column; gap: 7px; }
  .steps { width: calc(100% - 28px); padding-inline: 12px; }
  .step-label { font-size: 13px; }
  .step:not(:last-child)::after { left: calc(50% + 19px); right: calc(-50% + 19px); }
  .date-panel, .two-column { grid-template-columns: 1fr; }
  .date-column { border-right: 0; border-bottom: 1px solid var(--line); }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .list-view .parking-card { grid-template-columns: 240px 1fr; }
  .list-view .price-box { grid-column: 1 / -1; }
  .summary-card { position: static; }
}

@media (max-width: 620px) {
  .language-bar { padding-inline: 16px; }
  .booking-header { padding: 20px 16px; flex-direction: column; }
  .booking-header nav { width: 100%; flex-direction: row; flex-wrap: wrap; font-size: 14px; }
  .brand img { width: 155px; }
  .steps { overflow-x: auto; grid-template-columns: repeat(5, 108px); justify-content: start; }
  .toolbar { justify-content: stretch; flex-wrap: wrap; }
  .promo-group { flex: 1 1 100%; }
  .promo-group input { min-width: 0; }
  .page-section { padding: 34px 16px 55px; }
  .date-fields, .form-grid, .extra-controls { grid-template-columns: 1fr; }
  .results-grid, .list-view .parking-card { grid-template-columns: 1fr; }
  .results-toolbar { align-items: stretch; flex-direction: column; }
  .results-toolbar select { width: 100%; margin-left: 0; }
  .search-dates { gap: 18px; flex-direction: column; }
  .field.full { grid-column: auto; }
}
