/* Shared by every page on kisekitravel.com: tokens, nav, footer, language picker, buttons. */
:root {
  --field: #1B4FB8;
  --field-dark: #123A8A;
  --ink: #0D1526;
  --muted: #47526A;
  --mint: #2FAE8A;
  --sky: #EAF1FD;
  --rule: #E1E7F2;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
}

/* Cross-fade between pages instead of flashing white; the nav keeps its place. */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Figtree", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--field); }
a:hover { color: var(--field-dark); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #FFFFFF; color: var(--ink); padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

.cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--mint); color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 19px; padding: 16px 28px; border-radius: 999px; min-height: 56px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.cta:hover { background: #3CC49D; color: var(--ink); transform: translateY(-1px); }

/* Nav: sits on the cobalt field, either inside the landing hero or the .topbar of inner pages. */
.topbar { background: var(--field); color: #FFFFFF; }
.topbar a { color: #FFFFFF; }
.nav { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.nav a { text-decoration: none; font-size: 16px; font-weight: 500; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav .brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 12px; background: #FFFFFF; padding: 4px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }
.nav .pill { background: #FFFFFF; color: var(--ink); font-weight: 700; padding: 12px 20px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.nav .pill:hover { color: var(--ink); text-decoration: none; background: var(--sky); }

footer { background: var(--ink); color: #C9D2E4; }
footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; font-size: 15px; }
footer strong { color: #FFFFFF; font-size: 17px; }
.foot-brand { display: flex; flex-direction: column; gap: 4px; }
.foot-brand small { font-size: 14px; color: #8D98B0; }
/* The picker sits at the row's right edge at every width, so its menu can open right-aligned. */
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
footer a { color: #C9D2E4; text-decoration: none; }
footer a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border: 1px solid #3A4560; border-radius: 999px; color: #FFFFFF;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { border-color: #C9D2E4; }
.lang .chev { transition: transform 0.15s ease; }
.lang[open] .chev { transform: rotate(180deg); }
.lang ul {
  position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 5; min-width: 180px;
  margin: 0; padding: 6px; list-style: none; background: #FFFFFF; border-radius: 14px;
  box-shadow: 0 18px 40px rgba(6, 20, 60, 0.35);
}
.lang ul a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.lang ul a:hover { background: var(--sky); color: var(--ink); }
.lang ul a[aria-current="page"] { font-weight: 700; color: var(--field); }
.lang ul a[aria-current="page"]::after { content: "✓"; margin-left: auto; padding-left: 16px; }

@media (max-width: 720px) {
  .nav { gap: 12px 16px; }
  .nav .hide-sm { display: none; }
  .nav .pill { padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta, .lang .chev { transition: none; }
  .cta:hover { transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
