:root {
  --sand: #f4f8fb;
  --paper: #ffffff;
  --card: #ffffff;
  --ink: #1d2a36;
  --muted: #5d6e7c;
  --line: #d7e4ee;
  --moss: #1c6fbe;
  --moss-deep: #155a9c;
  --lake: #1477b8;
  --clay: #3d8fd4;
  --bark: #1d2a36;
  --gold: #7eb7e6;
  --danger: #8c3a2f;
  --ok: #1a6a9a;
  --shadow: 0 18px 40px rgba(20, 60, 100, 0.08);
}

* { box-sizing: border-box; }
html { font-size: 112.5%; }
body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.5;
}
a { color: var(--lake); text-decoration-thickness: 1px; }
h1, h2 { font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-weight: 600; letter-spacing: -0.03em; }
h1 { font-size: 3rem; line-height: 1.05; margin: 0.15em 0; }
h2 { font-size: 1.55rem; margin: 0 0 0.4em; }
.kicker { letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss); font-size: 0.78rem; margin: 0; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.hint, small { color: var(--muted); }
code, pre { font-family: Consolas, monospace; background: #f3ecdf; padding: 0.15em 0.35em; }
pre { padding: 1rem; overflow: auto; }

.top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.7rem 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(20, 60, 100, 0.06);
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 10rem;
  padding-right: 1rem;
}
.brand img { display: block; height: 60px; width: auto; }
.brand:hover { color: #155a9c; }
nav { display: flex; flex-wrap: wrap; gap: 0.15rem 0.35rem; flex: 1; justify-content: flex-end; align-items: flex-end; }
nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  color: #3e4d5c;
  text-decoration: none;
  padding: 0.15rem 0.35rem;
  min-width: 4.4rem;
  font-size: 0.78rem;
  line-height: 1.1;
  border-radius: 0.6rem;
}
nav a { position: relative; }
nav a svg { width: 1.55rem; height: 1.55rem; stroke: #e36b3c; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-badge {
  position: absolute;
  top: 0;
  right: 0.15rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #c0392b;
  color: #fff;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
}
nav a.active, nav a:hover { background: transparent; color: #1a6fbe; }
nav a.active svg, nav a:hover svg { stroke: #1a6fbe; }
.who { display: flex; flex-direction: column; align-items: flex-end; font-size: 0.92rem; }
.quiet { color: var(--muted); }

main { width: min(1180px, calc(100% - 2rem)); margin: 0 auto 3rem; }
footer { width: min(1180px, calc(100% - 2rem)); margin: 0 auto 2rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.footer-bottom { margin-top: 0.6rem; font-size: 0.95rem; }
.footer-heart { color: #c0392b; }
.room-photos { display: flex; gap: 0.4rem; margin: 0.4rem 0 0.6rem; }
.room-photos img { width: 72px; height: 54px; object-fit: cover; border-radius: 0.4rem; }
.cookie-banner { position: fixed; inset: 0; z-index: 80; background: rgba(20, 36, 48, 0.55); display: grid; place-items: end center; padding: 1rem; }
.cookie-banner[hidden] { display: none; }
.cookie-card { background: #fff; border-radius: 1.1rem; padding: 1.2rem 1.3rem; width: min(640px, 100%); box-shadow: var(--shadow); margin-bottom: 1rem; }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: flex-end; }
body.cookie-lock { overflow: hidden; }
.embed-frame { background: #fff; }

.intro { padding: 1.5rem 0 0.5rem; }
.stats, .split, .cards, .grid2, .pay-row { display: grid; gap: 1rem; }
.stats { grid-template-columns: repeat(3, 1fr); margin: 1rem 0 1.5rem; }
.split { grid-template-columns: 1fr 1fr; }
.cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid2 { grid-template-columns: 1fr 1fr; }
.pay-row { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 1rem; }
.stat, .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}
.card-icon { display: inline-flex; margin-bottom: 0.35rem; }
.card-icon svg { width: 1.7rem; height: 1.7rem; stroke: #e36b3c; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stat span { display: block; color: var(--muted); }
.stat .card-icon { display: inline-flex; color: inherit; }
.stat strong { font-family: Palatino, Georgia, serif; font-size: 2.2rem; font-weight: 500; }
.stack { display: grid; gap: 0.85rem; }
.row { display: flex; gap: 0.8rem; align-items: end; flex-wrap: wrap; }
label { display: grid; gap: 0.3rem; font-weight: 600; }
input, select, textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 0.8rem;
  border: 1px solid #c5d7e6;
  background: #fff;
  color: var(--ink);
  min-height: 3rem;
  width: 100%;
}
input[type="color"] { padding: 0.25rem; min-height: 3rem; width: 100%; }
input[type="checkbox"], input[type="radio"] {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  padding: 0;
  border-radius: 0.2rem;
}
.check { display: flex; flex-direction: row; align-items: center; gap: 0.55rem; font-weight: 500; }
.privacy-consent { align-items: flex-start; grid-column: 1 / -1; margin: 0.4rem 0 0.8rem; }
.privacy-consent span { flex: 1; min-width: 0; line-height: 1.45; font-weight: 500; }
textarea { min-height: 6rem; }
fieldset { border: 1px solid var(--line); border-radius: 1rem; }
.btn {
  font: inherit;
  background: var(--moss);
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  min-height: 3rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:hover { background: var(--moss-deep); }
.btn.danger { background: #8c3a2f; }
.btn.danger:hover { background: #6f2d25; }
.btn.ghost { background: #fff; color: var(--moss); border: 1px solid #b9d4ea; }
.actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.flash { padding: 0.9rem 1rem; border-radius: 1rem; margin-top: 1rem; }
.flash.ok { background: #e5f0e6; color: var(--ok); }
.flash.bad { background: #f8e6e1; color: var(--danger); }
.search { display: flex; gap: 0.6rem; margin-bottom: 1rem; }
.search input { flex: 1; }
.table-wrap { overflow: auto; background: var(--card); border-radius: 1.25rem; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.plan { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.plan th small, .plan td { font-size: 0.85rem; }
.plan td { text-align: center; min-width: 4.2rem; }
.plan td.free { background: #f3f8fc; }
.plan td.stay { background: #d4ebf8; }
.plan td.arrive { background: #8ec4ea; }
.plan a { color: inherit; text-decoration: none; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.sum { font-size: 1.3rem; font-family: Palatino, Georgia, serif; }
.gate { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(180deg, #e7f3fb, #ffffff 42%); }
.gate-card { width: min(460px, calc(100% - 2rem)); background: var(--card); padding: 1.6rem; border-radius: 1.5rem; box-shadow: var(--shadow); }
.marketing .hero-photo {
  min-height: 72vh;
  margin: 0;
  display: grid;
  place-items: center;
  text-align: center;
  background: #0e4e86;
  position: relative;
  overflow: hidden;
}
.hero-slides, .hero-slides div { position: absolute; inset: 0; }
.hero-slides div {
  background: center 40% / cover no-repeat;
  opacity: 0;
  animation: heroFade 16s infinite;
}
.hero-slides div:nth-child(2) { animation-delay: 8s; }
@keyframes heroFade {
  0% { opacity: 0; }
  12% { opacity: 1; }
  50% { opacity: 1; }
  62% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slides div { animation: none; opacity: 0; }
  .hero-slides div:first-child { opacity: 1; }
}
.marketing .hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 32, 58, 0.18), rgba(8, 28, 48, 0.38));
}
.marketing .hero-copy { position: relative; z-index: 2; width: min(860px, calc(100% - 2rem)); padding: 3rem 0; }
.partners { width: 100%; margin: 0 auto 0.5rem; text-align: center; }
.partners-row { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; align-items: center; justify-content: center; padding: 0.4rem 0 1rem; width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.partners a { display: inline-flex; align-items: center; justify-content: center; }
.partners a img { height: 52px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.25s ease, opacity 0.25s ease; }
.partners a:hover img, .partners a:focus-visible img { filter: none; opacity: 1; }
.admin-partners { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; align-items: center; justify-content: center; }
.admin-partners figure { margin: 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.admin-partners img { height: 52px; filter: grayscale(1); }
.admin-partners figure:hover img { filter: none; }
.marketing .hero-photo h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 600; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); }
.marketing .hero-photo .lead { color: #f7fbfe; margin: 0 auto 1.2rem; }
.marketing .hero-photo .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.85); background: transparent; }
.marketing section { margin: 2.2rem 0; }
.card.wide, .legal { max-width: 46rem; }
.legal h1 { font-size: 2.4rem; }
.gate .legal { width: min(760px, calc(100vw - 2rem)); }
.stat p { color: var(--muted); margin: 0.4rem 0 0; font-size: 1rem; }

@media (max-width: 800px) {
  html { font-size: 100%; }
  h1 { font-size: 2rem; }
  .stats, .split, .grid2, .top { display: block; }
  nav { margin: 0.6rem 0; justify-content: flex-start; }
  .who { align-items: flex-start; margin-top: 0.4rem; }
  .marketing .hero-photo { min-height: 78vw; }
  .marketing .hero-copy { padding: 2rem 0; }
  .actions { display: grid; }
  .btn, .btn.ghost { width: 100%; }
  .legal h1 { font-size: 1.8rem; }
  main, footer { width: min(1180px, calc(100% - 1.2rem)); }
}
