:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-text-primary);
}

.font-display {
  font-family: var(--font-display);
}

.site-shell {
  background: var(--color-background);
}

.site-nav {
  transition: padding 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-nav.scrolled {
  box-shadow: 0 8px 20px rgba(1, 16, 31, 0.08);
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  transition: width 0.25s ease, height 0.25s ease;
}

.site-nav.scrolled .brand-mark {
  width: 2.5rem;
  height: 2.5rem;
}

.brand-name {
  line-height: 1;
}

.hero-card,
.process-card,
.trust-card,
.contact-card,
.booking-form-wrap,
.detail-box,
.notice-box,
.cookie-banner {
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--color-primary) 14%, white);
  box-shadow: 4px 4px 0 var(--color-accent);
}

.hero-image,
.section-image,
.map-frame {
  border-radius: 24px;
}

.btn-pill,
button[type="submit"] {
  border-radius: 9999px;
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 2px 2px 0 var(--color-accent);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-pill:hover,
button[type="submit"]:hover {
  transform: scale(1.02);
  background: var(--color-primary-dark);
}

.btn-secondary-pill {
  border-radius: 9999px;
  background: var(--color-surface);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-light);
  box-shadow: 2px 2px 0 var(--color-primary-light);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-secondary-pill:hover {
  transform: scale(1.02);
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

input,
select,
textarea {
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--color-primary) 20%, white);
  background: var(--color-surface);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary-light) 20%, white);
}

.section-rule {
  width: 60%;
  margin: 0 auto;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--color-secondary) 75%, white);
}

.footer-link,
.nav-link-custom {
  position: relative;
}

.footer-link:hover,
.nav-link-custom:hover {
  color: var(--color-primary);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  background: var(--color-surface);
}

.cookie-banner.hidden {
  display: none;
}

.confirmation-message {
  display: none;
}

.confirmation-message.is-visible {
  display: block;
}

@media (min-width: 768px) {
  .cookie-banner {
    left: auto;
    max-width: 28rem;
  }
}
