@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --navy: #243056;
  --navy-deep: #1a223d;
  --blue: #2f9fd8;
  --link: #146892;
  --ink: #1a2233;
  --muted: #526173;
  --paper: #f4f7fa;
  --white: #ffffff;
  --line: #d5e0ea;
  --shadow: 0 18px 40px rgba(26, 34, 61, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; color: var(--navy-deep); }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 0.8rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.4rem; }
p { margin: 0 0 0.8rem; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: white;
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 3px solid var(--blue);
  backdrop-filter: blur(10px);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.6rem;
}
.brand { display: flex; align-items: center; }
.brand img { width: 210px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.15rem; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; }
.nav a[aria-current="page"] { color: var(--link); box-shadow: inset 0 -2px 0 var(--blue); }
.nav-call {
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--navy);
  background: white;
  color: var(--navy);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-weight: 700;
}

.hero { padding: 3.5rem 0 2rem; }
.hero-grid, .split, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: center;
}
.lede { font-size: 1.28rem; color: var(--muted); max-width: 40rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.3rem; }
.button, button {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
}
.button-primary { background: var(--navy); color: white; }
.button-primary:hover { background: var(--navy-deep); color: white; }
.button-secondary { background: white; color: var(--navy); border-color: var(--navy); }
.button-secondary:hover { color: var(--navy); }

.flow {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}
.flow-section { padding: 1.1rem 0 0; }
.flow-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
}
.flow-card, .flow-mid {
  background: var(--paper);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  min-height: 4.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flow-card span, .flow-mid span, .step span, .card span {
  display: block;
  color: var(--link);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.flow-arrow { color: var(--blue); font-size: 1.55rem; font-weight: 700; line-height: 1; text-align: center; }
.flow-mid {
  margin: 0;
  padding: 0.25rem;
  text-align: center;
  background: transparent;
  color: #4d5560;
  align-content: center;
}

.section { padding: 1rem 0 3.2rem; }
.section-head { max-width: 42rem; margin-bottom: 1.4rem; }
.cards, .steps, .people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.cards-two { grid-template-columns: 1fr 1fr; }
.card, .step, .person, .quote, .prose, .notice {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.2rem;
}
.card p, .person p, .step p { color: var(--muted); }
.card ul { color: var(--muted); margin: 0 0 0.85rem; padding-left: 1.15rem; }
.card li { margin: 0.2rem 0; }
.card a { font-weight: 700; }
.card-overview { position: relative; }
.card-overview:hover, .card-overview:focus-within {
  border-color: #9ab5c8;
  box-shadow: var(--shadow);
  transform: scale(1.015);
  z-index: 2;
  animation: card-link-hint 320ms ease-in-out;
}
@keyframes card-link-hint {
  0%, 100% { transform: scale(1.015) rotate(0); }
  35% { transform: scale(1.015) rotate(-0.35deg); }
  70% { transform: scale(1.015) rotate(0.35deg); }
}
.card-detail-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-overview h3, .card-overview p, .card-overview .card-action { position: relative; z-index: 2; }
.card-overview h3, .card-overview p { pointer-events: none; }
.card-overview .card-action { display: inline-block; }
.card-detail-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .card-overview:hover, .card-overview:focus-within { animation: none; }
}
.trust-line { margin: 1.25rem 0 0; color: var(--muted); }
.trust-line strong { color: var(--navy-deep); }

.band {
  background: transparent;
  color: white;
  padding: 1.1rem 0;
}
.band h2, .band a { color: white; }
.band p { color: #d5e2f2; }
.band-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 2.4rem;
  background: var(--navy);
}
.band .button-primary { background: white; color: var(--navy); }
.band-team-section {
  background: transparent;
  color: var(--ink);
}
.band-team-section .band-row { background: #eef1f4; }
.band-team-section h2 { color: var(--navy-deep); }
.band-team-section a { color: var(--link); }
.band-team-section p { color: var(--muted); }
.band-team-section .button-primary { background: var(--navy); color: white; }

.person-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 14px;
  margin: 0 0 0.9rem;
  background: var(--paper);
}
.band-team {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.band-portraits {
  display: flex;
  flex-shrink: 0;
  gap: 0.45rem;
}
.band-portrait {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: #d5e2f2;
}
.quote footer { color: var(--muted); margin-top: 0.8rem; }
.prose { max-width: 48rem; }
.prose h2 { margin-top: 1.6rem; }
.notice { border-color: #b9d7ea; background: #f8fbfd; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.contact-list li { margin: 0.35rem 0; }
.booking-frame {
  width: 100%;
  min-height: 640px;
  border: 0;
  border-radius: 16px;
  background: white;
}
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 5rem; background: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; padding-bottom: 4.5rem; }
.footer-links { display: flex; gap: 1rem; }

.chat {
  position: fixed;
  right: max(1rem, calc((100vw - var(--max)) / 2));
  bottom: 1rem;
  z-index: 30;
}
.chat-open, .chat-close, .chat-form button, .chat-compose button {
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  padding: 0.75rem 1rem;
}
.chat-panel {
  width: min(24rem, calc(100vw - 2rem));
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.chat-head { display: flex; gap: 0.6rem; justify-content: space-between; align-items: center; padding: 0.8rem; }
.chat-form { display: flex; flex-direction: column; gap: 0.6rem; padding: 0.8rem; }
.chat-compose { display: flex; gap: 0.6rem; justify-content: space-between; align-items: end; }
.chat-head p, .chat-note { color: var(--muted); font-size: 0.92rem; margin: 0.2rem 0 0; }
.chat-log { max-height: 18rem; overflow: auto; padding: 0 0.8rem; display: grid; gap: 0.5rem; }
.bubble { border-radius: 14px; padding: 0.65rem 0.75rem; white-space: pre-wrap; }
.bubble-user { background: var(--navy); color: white; justify-self: end; }
.bubble-bot { background: var(--paper); }
.chat-form { align-items: stretch; border-top: 1px solid var(--line); }
.chat-captcha { display: grid; gap: 0.35rem; }
.chat-captcha[hidden] { display: none !important; }
.chat-captcha-label { margin: 0; color: var(--muted); font-size: 0.85rem; }
.chat-form altcha-widget { display: block; max-width: 100%; min-height: 4.5rem; }
.chat-request { margin: 0.7rem 0.8rem 0; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--navy); padding: 0.55rem 0.8rem; font: inherit; font-weight: 700; }
.chat-compose textarea {
  flex: 1;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.6rem;
  font: inherit;
  color: inherit;
}
.request-overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 1rem; background: rgb(17 31 63 / 0.58); }
.request-dialog { width: min(42rem, 100%); max-height: calc(100vh - 2rem); overflow: auto; border-radius: 18px; background: white; box-shadow: var(--shadow); }
.request-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.25rem 0.6rem; }
.request-head h2 { margin-bottom: 0.3rem; }
.request-head p { color: var(--muted); margin: 0; }
.request-close { border: 0; background: transparent; color: var(--navy); font: inherit; font-weight: 700; padding: 0.3rem; }
.request-form { padding: 0.8rem 1.25rem 1.25rem; }
.request-fields { display: grid; gap: 0.8rem; }
.request-fields label { display: grid; gap: 0.35rem; color: var(--navy); font-weight: 700; }
.request-fields input, .request-fields textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem; color: inherit; font: inherit; font-weight: 400; }
.request-fields textarea[readonly] { background: var(--paper); }
.request-actions { display: flex; justify-content: end; gap: 0.6rem; margin-top: 1rem; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

@media print {
  .site-header, .site-footer, .chat, .skip, .nav-toggle { display: none !important; }
  body { background: white; }
  .prose { border: 0; box-shadow: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: white;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem 1rem;
  }
  .nav.is-open { display: flex; }
  .brand img { width: min(210px, 68vw); }
  .hero-grid, .split, .contact-grid, .cards, .steps, .people, .footer-grid, .band-row, .flow-row {
    grid-template-columns: 1fr;
  }
  .flow-arrow { transform: rotate(90deg); }
  .band-row { align-items: flex-start; }
  .band-team { flex-wrap: wrap; }
  .hero { padding-top: 2rem; }
  .site-footer { padding-bottom: 6rem; }
}
