@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap");

:root {
  --lime: #d6ef4a;
  --lime-deep: #b8d12e;
  --ink: #12140f;
  --ink-soft: #3a4034;
  --paper: #f3efe4;
  --paper-deep: #e8e2d2;
  --white: #fffcf5;
  --river: #1a3a4a;
  --river-soft: #2a5568;
  --line: rgba(18, 20, 15, 0.12);
  --shadow: 0 18px 40px rgba(18, 20, 15, 0.12);
  --radius: 14px;
  --font: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --max: 1080px;
  --header-h: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.logo-mark {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 35%, transparent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: none;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.lang-toggle button {
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--lime);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--lime) 45%, transparent);
}

.btn-primary:hover {
  background: var(--lime-deep);
}

.btn-ghost {
  background: var(--white);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-block {
  width: 100%;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.field label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field select {
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  appearance: none;
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--lime);
  outline-offset: 1px;
  border-color: transparent;
}

.trip-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
}

.trip-summary span {
  color: var(--ink-soft);
  font-weight: 500;
}

.flow-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.flow-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 1.25rem 0 0.35rem;
}

.flow-lead {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  max-width: 38rem;
}

.escape-hint {
  margin-top: 2rem;
  padding: 1rem;
  border-left: 3px solid var(--lime);
  font-size: 0.95rem;
  color: var(--ink-soft);
  display: none;
}

.escape-hint.is-visible {
  display: block;
}

.escape-hint a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
