/* Hostelbee website — design tokens match the app (v1.2). Light only. */
:root {
  --surface: #ffffff;
  --on: #1a1a1a;
  --surface2: #f6f6f6;
  --on2: #6a6a6a;
  --surface3: #ebebeb;
  --brand: #ffde59;
  --brand-press: #f5cf3a;
  --brand-soft: #fff6cc;
  --border: #dddddd;
  --divider: #ebebeb;
  --ok-bg: #dcfce7; --ok: #166534;
  --err-bg: #fee2e2; --err: #b91c1c;
  --warn-bg: #fef3c7; --warn: #92400e;
  --shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.18);
  --pad: 20px;
  --font: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (min-width: 960px) { :root { --pad: clamp(24px, 3.4vw, 80px); } }

*, *::before, *::after { box-sizing: border-box; }
#hdr { display: contents; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0; font-family: var(--font); font-weight: 400; color: var(--on); background: var(--surface);
  line-height: 1.45; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--on); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.125em; }
.wrap { padding-inline: var(--pad); max-width: 2520px; margin-inline: auto; }
.narrow { max-width: 1120px; margin-inline: auto; padding-inline: var(--pad); }
.city-ph > img { position: relative; z-index: 1; }
@media (max-width: 959px) { .only-desk { display: none !important; } }
@media (min-width: 960px) { .only-mob { display: none !important; } }
.dh-center { display: flex; justify-content: center; }
.dh .mini { display: none; }
.dh.is-compact .mini { display: inline-flex; }
.dh.is-compact .dh-tabs, .dh.is-compact .dsearch-holder { display: none; }
.mtop { position: sticky; top: 0; z-index: 40; background: #fff; padding: 10px 20px; border-bottom: 1px solid var(--divider); }

/* ───────────── buttons ───────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px;
  border-radius: 12px; font-weight: 700; font-size: 15px; transition: background .15s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn-brand { background: var(--brand); color: var(--on); }
.btn-brand:hover { background: var(--brand-press); }
.btn-dark { background: var(--on); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line { border: 1.5px solid var(--on); background: #fff; }
.btn-line:hover { background: var(--surface2); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.round {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface2); font-size: 18px; flex: none; transition: background .15s, box-shadow .15s;
}
.round:hover { background: var(--surface3); }

/* ───────────── desktop header ───────────── */
.dh { position: sticky; top: 0; z-index: 50; background: linear-gradient(#fff, #fafafa); border-bottom: 1px solid transparent; }
.dh.is-compact { background: #fff; border-bottom-color: var(--divider); }
.dh-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.logo img { width: 38px; height: 38px; }
.dh-tabs { display: flex; gap: 8px; align-items: stretch; height: 80px; }
.dh-tab {
  display: flex; align-items: center; gap: 10px; padding: 0 18px; font-size: 16px; font-weight: 500; color: var(--on2);
  position: relative; transition: color .15s;
}
.dh-tab:hover { color: var(--on); }
.dh-tab[aria-current='true'] { color: var(--on); }
.dh-tab[aria-current='true']::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 3px; border-radius: 3px; background: var(--on);
}
.dh-right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.dh-host { font-weight: 500; font-size: 15px; padding: 12px 14px; border-radius: 999px; }
.dh-host:hover { background: var(--surface2); }
.dh-circle {
  width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface2); font-size: 20px;
}
.dh-circle:hover { background: var(--surface3); }
.dh-circle.avatar { background: var(--brand); font-weight: 700; font-size: 17px; overflow: hidden; }
.dh-circle.avatar img { width: 100%; height: 100%; object-fit: cover; }
.dh-menu-btn { border: 1px solid var(--border); background: #fff; }
.dh-menu-btn:hover { box-shadow: var(--shadow-sm); background: #fff; }

/* big search bar */
.dsearch-holder { padding: 4px 0 28px; display: flex; justify-content: center; }
.dsearch {
  position: relative; display: grid; grid-template-columns: 1.25fr 1fr 1fr; align-items: center; width: min(880px, 100%);
  height: 68px; border: 1px solid var(--border); border-radius: 999px; background: #fff; box-shadow: var(--shadow);
}
.dsearch.has-open { background: #ebebeb; }
.dseg {
  position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; text-align: left;
  padding: 0 32px; border-radius: 999px; min-width: 0;
}
.dseg + .dseg::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: var(--divider); }
.dseg:hover { background: var(--surface3); }
.dseg:hover::before, .dseg:hover + .dseg::before, .dseg.open::before, .dseg.open + .dseg::before { opacity: 0; }
.dseg.open { background: #fff; box-shadow: var(--shadow-lg); }
.dseg-label { font-size: 13px; font-weight: 500; }
.dseg-val, .dseg input {
  font-size: 15px; color: var(--on2); font-weight: 400; border: 0; outline: 0; background: transparent; padding: 0; width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dseg-val.set, .dseg input:not(:placeholder-shown) { color: var(--on); font-weight: 500; }
.dseg input::placeholder { color: var(--on2); }
.dseg[data-seg='who'] { padding-right: 80px; }
.dsearch.has-open .dseg[data-seg='who'] { padding-right: 140px; }
.dsearch-go {
  position: absolute; right: 9px; top: 50%; translate: 0 -50%; width: 50px; height: 50px; border-radius: 999px;
  background: var(--brand); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 20px;
  font-weight: 700; transition: width .2s, background .15s; overflow: hidden; z-index: 2;
}
.dsearch-go:hover { background: var(--brand-press); }
.dsearch-go span { display: none; font-size: 16px; }
.dsearch.has-open .dsearch-go { width: 118px; }
.dsearch.has-open .dsearch-go span { display: inline; }

.dpanel {
  position: absolute; top: calc(100% + 12px); z-index: 60; background: #fff; border-radius: 32px; box-shadow: var(--shadow-lg);
  padding: 24px; min-width: 380px; max-height: 70vh; overflow: auto;
}
.dpanel h4 { font-size: 13px; font-weight: 500; color: var(--on2); margin: 4px 8px 10px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 8px; border-radius: 14px; text-align: left;
}
.opt:hover, .opt.active { background: var(--surface2); }
.opt-ic {
  width: 48px; height: 48px; border-radius: 12px; background: var(--surface2); display: inline-flex; align-items: center;
  justify-content: center; font-size: 22px; flex: none;
}
.opt:hover .opt-ic { background: #fff; }
.opt-t { font-weight: 500; font-size: 15px; }
.opt-s { font-size: 13px; color: var(--on2); }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice {
  border: 1px solid var(--border); border-radius: 16px; padding: 16px; text-align: left; display: grid; gap: 4px;
}
.choice:hover { border-color: var(--on); }
.choice.active { border: 2px solid var(--on); padding: 15px; background: var(--brand-soft); }
.choice .em { font-size: 24px; }

/* compact pill in header */
.mini {
  display: inline-flex; align-items: center; height: 50px; border: 1px solid var(--border); border-radius: 999px; background: #fff;
  box-shadow: var(--shadow-sm); padding-left: 8px; transition: box-shadow .15s;
}
.mini:hover { box-shadow: var(--shadow); }
.mini b { font-weight: 500; font-size: 15px; padding: 0 16px; white-space: nowrap; max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
.mini b + b { border-left: 1px solid var(--divider); }
.mini .em { font-size: 22px; margin-left: 6px; }
.mini-go {
  width: 36px; height: 36px; margin: 0 7px 0 4px; border-radius: 50%; background: var(--brand); display: inline-flex;
  align-items: center; justify-content: center; font-size: 15px;
}

/* account menu */
.acct-menu {
  position: absolute; right: 0; top: calc(100% + 8px); width: 260px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 8px 0; z-index: 70;
}
.acct-menu a, .acct-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 20px; font-size: 14px; text-align: left; }
.acct-menu a:hover, .acct-menu button:hover { background: var(--surface2); }
.acct-menu .strong { font-weight: 500; }
.acct-menu hr { border: 0; border-top: 1px solid var(--divider); margin: 8px 0; }
.acct-menu .owner { display: grid; gap: 2px; }
.acct-menu .owner small { color: var(--on2); font-size: 12px; }

/* ───────────── mobile header (app) ───────────── */
.mh { position: sticky; top: 0; z-index: 40; background: #fff; padding-top: 10px; }
.mh.scrolled { box-shadow: 0 1px 0 var(--divider); }
.mh-row { display: flex; align-items: center; gap: 10px; padding-inline: 20px; }
.pill {
  flex: 1; height: 58px; border-radius: 999px; border: 0.5px solid var(--border); background: #fff; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; min-width: 0;
}
.pill .ico { font-size: 20px; }
.pill-t { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill.filled { justify-content: flex-start; }
.pill.filled .pill-txt { flex: 1; min-width: 0; text-align: left; }
.pill-s { font-weight: 300; font-size: 12px; color: var(--on2); margin-top: -2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-x { color: var(--on2); font-size: 20px; display: inline-flex; }
.filter-btn {
  position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex: none;
}
.filter-btn.on { border-color: var(--on); }
.filter-btn .count {
  position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--on); color: #fff;
  font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
}
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 16px 20px 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
  border: 0.5px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); font-weight: 500; font-size: 14px; flex: none;
}
.chip .em { font-size: 18px; }
.chip[aria-pressed='true'] { background: var(--brand); border-color: var(--brand); font-weight: 700; box-shadow: none; }

/* bottom tab bar */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--divider);
  display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 500; color: var(--on2); padding: 4px 0; }
.tab-ic { width: 52px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.tab[aria-current='true'] { color: var(--on); font-weight: 700; }
.tab[aria-current='true'] .tab-ic { background: var(--brand); }
body.has-tabbar main { padding-bottom: 96px; }
@media (min-width: 960px) { body.has-tabbar main { padding-bottom: 0; } .tabbar, .mh { display: none; } }

/* ───────────── sections, rails, cards ───────────── */
.sec { margin-top: 26px; }
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sec-head .t { flex: 1; min-width: 0; }
.sec-title { font-weight: 500; font-size: 21px; line-height: 1.3; display: inline-flex; align-items: center; gap: 10px; }
.sec-sub { font-weight: 300; font-size: 13px; color: var(--on2); margin-top: 1px; }
.rail-nav { display: none; gap: 8px; }
@media (min-width: 960px) {
  .sec { margin-top: 44px; }
  .sec-title { font-size: 25px; letter-spacing: -0.01em; }
  .sec-sub { font-size: 16px; margin-top: 2px; }
  .rail-nav { display: flex; }
  .rail-nav .round { width: 34px; height: 34px; background: #fff; border: 1px solid var(--border); font-size: 14px; }
  .rail-nav .round:hover { box-shadow: var(--shadow-sm); }
  .rail-nav .round[disabled] { opacity: .35; pointer-events: none; }
}
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(42vw, 240px); gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
  scroll-padding-inline: var(--pad); overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail.cities { grid-auto-columns: min(36vw, 180px); gap: 12px; }
@media (min-width: 960px) {
  .rail { --n: 4; --g: 20px; gap: var(--g); margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0;
    grid-auto-columns: calc((100% - var(--g) * (var(--n) - 1)) / var(--n)); scroll-behavior: smooth; }
  .rail.cities { --n: 5; --g: 18px; gap: var(--g); grid-auto-columns: calc((100% - var(--g) * (var(--n) - 1)) / var(--n)); }
}
@media (min-width: 1100px) { .rail { --n: 5; } .rail.cities { --n: 6; } }
@media (min-width: 1280px) { .rail { --n: 6; } .rail.cities { --n: 7; } }
@media (min-width: 1640px) { .rail { --n: 7; } .rail.cities { --n: 9; } }

.card { display: block; position: relative; min-width: 0; }
.ph {
  position: relative; aspect-ratio: 1 / 0.95; border-radius: 18px; overflow: hidden; background: var(--surface3);
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph .ph-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 42px;
  background: radial-gradient(circle at 30% 25%, #fff6cc 0, #f1ead2 45%, #e6e1d4 100%);
}
.ph .ph-fallback.k-shortstay { background: radial-gradient(circle at 30% 25%, #e9ecfb 0, #d9dcf0 50%, #cfd3e8 100%); }
.ph .ph-fallback.k-tiffin { background: radial-gradient(circle at 30% 25%, #fdf1df 0, #f3e2c7 50%, #ead6b8 100%); }
.badge {
  position: absolute; top: 12px; left: 12px; background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px;
  font-weight: 500; box-shadow: var(--shadow-sm); z-index: 2;
}
.heart {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: inline-flex; align-items: center;
  justify-content: center; z-index: 3; font-size: 26px; transition: transform .1s;
}
.heart:active { transform: scale(.88); }
.heart svg path { fill: rgba(0, 0, 0, 0.45); stroke: #fff; stroke-width: 1.8; transition: fill .15s; }
.heart.on svg path { fill: var(--brand); stroke: var(--on); }
.card-b { padding-top: 10px; display: grid; gap: 1px; }
.card-t { font-weight: 500; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-l { font-weight: 300; font-size: 13px; color: var(--on2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-p { font-size: 13px; color: var(--on2); font-weight: 400; }
.card-p b { color: var(--on); font-weight: 700; }
.card-p .star { color: var(--on); }
@media (min-width: 960px) {
  .card-t { font-size: 15px; -webkit-line-clamp: 1; }
  .card-l, .card-p { font-size: 14px; }
  .ph { border-radius: 16px; }
}

/* city tiles */
.city-ph { aspect-ratio: 1 / 0.82; border-radius: 18px; overflow: hidden; background: var(--surface3); position: relative; }
.city-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.city:hover .city-ph img { transform: scale(1.04); }
.city-ph .ph-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 44px; background: radial-gradient(circle at 30% 25%, #fff6cc 0, #f1ead2 45%, #e6e1d4 100%); }
.city-n { font-weight: 500; font-size: 15px; margin-top: 8px; }
.city-c { font-weight: 300; font-size: 12px; color: var(--on2); }
@media (min-width: 960px) { .city-ph { aspect-ratio: 1 / 0.95; } .city-n { font-size: 16px; margin-top: 12px; } .city-c { font-size: 14px; } }

/* coming soon tiles */
.soon-row { display: flex; gap: 12px; flex-wrap: wrap; }
.soon {
  width: min(36vw, 180px); height: 120px; border: 1px dashed var(--border); border-radius: 18px; padding: 14px;
  display: flex; flex-direction: column; justify-content: flex-end; text-align: left;
}
.soon .em { font-size: 26px; }
.soon b { font-size: 15px; margin-top: 6px; }
.soon small { font-weight: 300; font-size: 12px; color: var(--on2); }
@media (min-width: 960px) { .soon { width: 240px; height: 140px; } .soon:hover { border-color: var(--on); } }

/* results */
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0 18px; }
.results-head h1 { font-size: 14px; font-weight: 500; }
@media (min-width: 960px) { .results-head { padding: 28px 0 24px; } .results-head h1 { font-size: 22px; } }
.grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 40px 24px; } }
.grid .ph { aspect-ratio: 1 / 0.95; }
@media (max-width: 599px) {
  .grid .ph { aspect-ratio: 1 / 0.86; border-radius: 22px; }
  .grid .card-t { font-weight: 700; font-size: 15px; -webkit-line-clamp: 1; }
  .grid .card-l, .grid .card-p { font-size: 14px; }
}
.filterbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fbtn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--border);
  font-size: 14px; font-weight: 500; background: #fff;
}
.fbtn:hover { border-color: var(--on); }
.fbtn.on { border: 2px solid var(--on); padding: 0 15px; }
.fbtn .count { background: var(--on); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 1px 7px; }

/* carousel */
.car { position: relative; }
.car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 100%; }
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { flex: 0 0 100%; scroll-snap-align: start; }
.car-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; z-index: 2; pointer-events: none; }
.car-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.car-dots i.on { background: #fff; }
.car-btn {
  position: absolute; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: none; align-items: center; justify-content: center; font-size: 14px; z-index: 3; box-shadow: var(--shadow-sm);
}
.car-btn.prev { left: 10px; } .car-btn.next { right: 10px; }
@media (hover: hover) and (min-width: 960px) { .card:hover .car-btn { display: inline-flex; } }

/* ───────────── detail page ───────────── */
.dt-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 24px 0 20px; }
.dt-top h1 { font-size: 26px; font-weight: 500; letter-spacing: -0.01em; }
.dt-acts { display: flex; gap: 4px; }
.dt-acts button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: underline; }
.dt-acts button:hover { background: var(--surface2); }
.dt-acts button.on .ico path { fill: var(--brand); stroke: var(--on); }
.gal { display: grid; gap: 8px; height: min(52vh, 460px); border-radius: 16px; overflow: hidden; position: relative; }
.gal.n1 { grid-template-columns: 1fr; }
.gal.n2 { grid-template-columns: 1fr 1fr; }
.gal.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gal.n3 > :first-child { grid-row: span 2; }
.gal.n5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gal.n5 > :first-child { grid-row: span 2; }
.gal > button { position: relative; background: var(--surface3); overflow: hidden; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: filter .2s; }
.gal > button:hover img { filter: brightness(.88); }
.gal .ph-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 64px;
  background: radial-gradient(circle at 30% 25%, #fff6cc 0, #f1ead2 45%, #e6e1d4 100%); }
.gal-all {
  position: absolute; right: 22px; bottom: 22px; background: #fff; border: 1px solid var(--on); border-radius: 8px; padding: 7px 14px;
  font-size: 14px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; z-index: 2;
}
.dt-cols { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 80px; padding: 32px 0 64px; align-items: start; }
.dt-main > section { padding: 28px 0; border-bottom: 1px solid var(--divider); }
.dt-main > section:first-child { padding-top: 0; }
.dt-main > section:last-child { border-bottom: 0; }
.dt-kicker { font-size: 21px; font-weight: 500; }
.dt-meta { color: var(--on2); font-size: 15px; margin-top: 2px; }
.dt-h { font-size: 21px; font-weight: 500; margin-bottom: 18px; }
.dt-p { font-size: 15px; font-weight: 300; line-height: 1.65; white-space: pre-line; max-width: 68ch; }
.feat { display: flex; gap: 20px; align-items: flex-start; }
.feat + .feat { margin-top: 20px; }
.feat .ico { font-size: 26px; margin-top: 2px; }
.feat b { font-weight: 500; display: block; font-size: 15px; }
.feat span { color: var(--on2); font-size: 14px; }
.amen { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.amen div { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 300; }
.amen .ico { font-size: 22px; }
.rooms { display: grid; gap: 12px; }
.room { display: flex; justify-content: space-between; gap: 16px; align-items: center; border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.room b { font-weight: 500; font-size: 15px; }
.room small { display: block; font-size: 13px; color: var(--on2); font-weight: 300; }
.room .full { color: var(--err); font-weight: 500; }
.room .r { font-weight: 700; white-space: nowrap; }
.room .r span { font-weight: 400; color: var(--on2); font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface2); }
.tag.dark { background: var(--on); color: #fff; }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.tag.brand { background: var(--brand); }
.owner-row { display: flex; align-items: center; gap: 16px; }
.owner-av { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; flex: none; }

.book {
  position: sticky; top: 112px; border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); background: #fff;
}
.book-price { font-size: 22px; font-weight: 700; }
.book-price span { font-size: 15px; font-weight: 400; color: var(--on2); }
.book-sub { font-size: 14px; color: var(--on2); margin-top: 2px; }
.book .btn { margin-top: 12px; }
.book-note { text-align: center; font-size: 13px; color: var(--on2); margin-top: 14px; }
.fields { border: 1px solid var(--border); border-radius: 12px; margin-top: 18px; overflow: hidden; }
.fields .frow { display: grid; grid-template-columns: 1fr 1fr; }
.fields .frow + .frow, .fields .f + .f { border-top: 1px solid var(--border); }
.fields .frow .f + .f { border-top: 0; border-left: 1px solid var(--border); }
.f { padding: 10px 14px; display: grid; gap: 2px; position: relative; }
.f label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.f input, .f select { border: 0; outline: 0; padding: 0; font-size: 14px; background: transparent; width: 100%; }
.stepper { display: flex; align-items: center; justify-content: space-between; }
.stepper button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.stepper button:hover { border-color: var(--on); }
.stepper button[disabled] { opacity: .3; pointer-events: none; }
.stepper output { font-size: 15px; font-weight: 500; }
.lines { margin-top: 18px; display: grid; gap: 10px; font-size: 15px; font-weight: 300; }
.lines div { display: flex; justify-content: space-between; gap: 10px; }
.lines small { display: block; color: var(--on2); font-size: 12px; margin-top: -8px; }
.lines .tot { border-top: 1px solid var(--divider); padding-top: 14px; font-weight: 700; }

@media (max-width: 959px) {
  .dt-top { display: none; }
  .dt-cols { display: flex; flex-direction: column; padding: 20px 0 120px; }
  .dt-main { display: contents; }
  .dt-main > section:nth-child(n+3) { order: 2; }
  .dt-cols > aside { order: 1; }
  .book.ss { border-bottom: 1px solid var(--divider); padding-bottom: 22px; }
  .dt-main > section { padding: 22px 0; }
  .dt-kicker { font-size: 24px; font-weight: 700; }
  .dt-h { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
  .amen { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .amen div { font-size: 14px; }
  .book { position: static; box-shadow: none; border: 0; padding: 0; margin-top: 0; }
  .book.ss { border-top: 1px solid var(--divider); padding-top: 22px; }
  .book .book-head, .book .book-ctas { display: none; }
}
.mcar { position: relative; height: 300px; margin-inline: calc(var(--pad) * -1); background: var(--surface3); }
.mcar .car-track > * { height: 300px; }
.mcar img { width: 100%; height: 100%; object-fit: cover; }
.mcar .ph-fallback { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 64px;
  background: radial-gradient(circle at 30% 25%, #fff6cc 0, #f1ead2 45%, #e6e1d4 100%); }
.float-btn {
  position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); width: 40px; height: 40px; border-radius: 50%; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: var(--shadow-sm); z-index: 4;
}
.float-btn.l { left: 16px; } .float-btn.r { right: 16px; } .float-btn.r2 { right: 64px; }
.float-btn.on svg path { fill: var(--brand); stroke: var(--on); }
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--divider);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px;
}
.actionbar .ab-price { flex: 1; min-width: 0; }
.actionbar .ab-price b { font-size: 16px; }
.actionbar .ab-price small { display: block; color: var(--on2); font-size: 12px; text-decoration: underline; }
.actionbar .btn { height: 48px; padding: 0 18px; }
@media (min-width: 960px) { .actionbar { display: none; } }

/* ───────────── generic page bits ───────────── */
.page-title { font-size: 32px; font-weight: 700; letter-spacing: -0.01em; padding: 24px 0 8px; }
.page-sub { color: var(--on2); font-weight: 300; font-size: 15px; max-width: 60ch; }
@media (min-width: 960px) { .page-title { padding-top: 40px; } }
.empty { text-align: center; padding: 48px 24px; display: grid; justify-items: center; gap: 10px; }
.empty .em { font-size: 40px; }
.empty h2 { font-size: 17px; font-weight: 700; }
.empty p { font-weight: 300; font-size: 14px; color: var(--on2); max-width: 340px; }
.empty .btn { margin-top: 8px; }
.empty .art { width: 260px; }
.spin { display: flex; justify-content: center; padding: 80px 0; }
.spin i { width: 28px; height: 28px; border: 3px solid var(--surface3); border-top-color: var(--on); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skel { background: linear-gradient(90deg, var(--surface3), #f4f4f4, var(--surface3)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 16px; }
@keyframes sk { to { background-position: -200% 0; } }

.demo-bar { background: var(--brand-soft); font-size: 13px; text-align: center; padding: 8px 16px; }
.demo-bar b { font-weight: 700; }

/* prose pages */
.prose { max-width: 720px; padding-bottom: 64px; }
.prose h1 { font-size: 32px; font-weight: 700; padding: 28px 0 6px; }
.prose .upd { color: var(--on2); font-size: 14px; margin-bottom: 24px; }
.prose h2 { font-size: 20px; font-weight: 500; margin: 32px 0 10px; }
.prose p, .prose li { font-size: 15px; font-weight: 300; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; margin: 10px 0; }
.prose a { text-decoration: underline; font-weight: 500; }
.prose .callout { background: var(--surface2); border-radius: 16px; padding: 18px 20px; margin: 20px 0; }

/* forms */
.auth { max-width: 568px; margin: 0 auto; padding: 24px 24px 64px; }
@media (min-width: 960px) { .auth { margin-top: 40px; border: 1px solid var(--border); border-radius: 24px; padding: 32px 32px 36px; box-shadow: var(--shadow); margin-bottom: 64px; } }
.auth .art { width: 220px; margin: 0 auto 6px; }
.auth h1 { font-size: 28px; font-weight: 700; }
.auth .sub { font-weight: 300; color: var(--on2); margin: 6px 0 22px; }
.group { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.group .gf { position: relative; display: flex; align-items: center; }
.group .gf + .gf { border-top: 1px solid var(--border); }
.group input, .group select { width: 100%; border: 0; outline: 0; padding: 18px 16px; font-size: 16px; background: transparent; }
.group .gf:focus-within { box-shadow: inset 0 0 0 2px var(--on); border-radius: 14px; }
.group .eye { position: absolute; right: 12px; font-size: 20px; color: var(--on2); padding: 6px; }
.form-err { background: var(--err-bg); color: var(--err); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-top: 14px; }
.form-ok { background: var(--ok-bg); color: var(--ok); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-top: 14px; }
.or { display: flex; align-items: center; gap: 14px; color: var(--on2); font-size: 13px; margin: 20px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--divider); }
.lbl { font-size: 14px; font-weight: 500; margin: 18px 0 8px; display: block; }
.inp { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 15px; outline: 0; background: #fff; }
.inp:focus { border-color: var(--on); box-shadow: 0 0 0 1px var(--on); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; }
.seg button:hover { border-color: var(--on); }
.seg button[aria-pressed='true'] { background: var(--brand); border-color: var(--brand); font-weight: 700; }
.check { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 15px; }
.check input { width: 22px; height: 22px; accent-color: var(--on); }

/* modal / sheet */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .45); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
.sheet { background: #fff; width: 100%; max-height: 92vh; border-radius: 24px 24px 0 0; display: flex; flex-direction: column; animation: up .25s cubic-bezier(.2,.8,.2,1); }
.sheet.full { height: 100%; max-height: none; border-radius: 0; background: var(--surface2); }
.sheet-h { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--divider); }
.sheet-h h2 { text-align: center; font-size: 16px; font-weight: 700; }
.sheet-b { overflow: auto; padding: 8px 24px 24px; flex: 1; }
.sheet-f { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--divider); }
.sheet-sec { padding: 20px 0; border-bottom: 1px solid var(--divider); }
.sheet-sec:last-child { border-bottom: 0; }
.sheet-sec h3 { font-size: 18px; font-weight: 500; margin-bottom: 12px; }
@media (min-width: 960px) {
  .modal { align-items: center; }
  .sheet { width: min(680px, 92vw); border-radius: 16px; max-height: 86vh; }
  .sheet.full { height: auto; max-height: 86vh; border-radius: 16px; background: #fff; }
  .sheet.sm { width: min(520px, 92vw); }
}
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(24px); opacity: .6; } }
.photos-grid { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.photos-grid img { width: 100%; border-radius: 8px; }
.photos-grid img:nth-child(3n+1) { grid-column: span 2; }

/* mobile search sheet */
.msearch-tabs { display: flex; gap: 20px; justify-content: center; padding: 6px 0 14px; overflow-x: auto; }
.msearch-tabs button { font-size: 15px; font-weight: 500; color: var(--on2); padding: 6px 2px; white-space: nowrap; border-bottom: 2px solid transparent; }
.msearch-tabs button[aria-pressed='true'] { color: var(--on); border-bottom-color: var(--on); }
.mcard { background: #fff; border-radius: 28px; padding: 22px 20px; box-shadow: var(--shadow); margin: 0 4px; }
.mcard h2 { font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.where { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 14px; padding: 0 14px; }
.where input { border: 0; outline: 0; height: 56px; font-size: 16px; flex: 1; min-width: 0; background: transparent; }
.mcard h4 { font-size: 13px; font-weight: 500; color: var(--on2); margin: 20px 0 6px; }
.mcard .opt { padding: 8px 0; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 96px; translate: -50% 0; z-index: 120; display: flex; align-items: center; gap: 10px; max-width: min(88vw, 420px);
  background: #fff; border: 0.5px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 18px 12px 12px;
  font-size: 13px; font-weight: 500; width: max-content; animation: toastIn .26s ease-out; transition: opacity .26s;
}
.toast .tile { width: 28px; height: 28px; border-radius: 8px; background: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
.toast.out { opacity: 0; }
@keyframes toastIn { from { opacity: 0; translate: -50% 10px; } }
@media (min-width: 960px) { .toast { bottom: 32px; left: 32px; translate: 0 0; } @keyframes toastIn { from { opacity: 0; translate: 0 10px; } } }

/* ───────────── wishlists, trips, profile ───────────── */
.coll-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-top: 16px; }
@media (min-width: 960px) { .coll-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 24px; } }
.collage { aspect-ratio: 1; border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: var(--surface2); box-shadow: var(--shadow-sm); }
.collage > * { background: var(--surface3); overflow: hidden; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .ph-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.collage.one { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.coll b { display: block; margin-top: 10px; font-weight: 500; }
.coll small { color: var(--on2); font-weight: 300; }
.tabs-line { display: flex; gap: 24px; border-bottom: 1px solid var(--divider); margin: 16px 0 20px; overflow-x: auto; }
.tabs-line button { padding: 10px 0; font-size: 15px; font-weight: 500; color: var(--on2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs-line button[aria-pressed='true'] { color: var(--on); border-bottom-color: var(--on); }
.trip { display: flex; gap: 16px; align-items: center; border: 1px solid var(--border); border-radius: 18px; padding: 14px; }
.trip + .trip { margin-top: 14px; }
.trip .ti { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; flex: none; background: var(--surface3); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.trip .ti img { width: 100%; height: 100%; object-fit: cover; }
.trip .tb { flex: 1; min-width: 0; display: grid; gap: 2px; }
.trip .tb b { font-weight: 700; font-size: 15px; }
.trip .tb small { color: var(--on2); font-size: 13px; }
.status { justify-self: start; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; margin-top: 4px; }
.status.confirmed, .status.completed { background: var(--ok-bg); color: var(--ok); }
.status.pending_payment, .status.pending { background: var(--warn-bg); color: var(--warn); }
.status.cancelled { background: var(--err-bg); color: var(--err); }
.prof-grid { display: grid; gap: 24px; padding: 8px 0 40px; }
@media (min-width: 960px) { .prof-grid { grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; } }
.idcard { border-radius: 28px; box-shadow: var(--shadow); padding: 28px; display: grid; justify-items: center; text-align: center; gap: 6px; border: 0.5px solid var(--border); }
.idcard .av { width: 96px; height: 96px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 38px; font-weight: 700; overflow: hidden; }
.idcard .av img { width: 100%; height: 100%; object-fit: cover; }
.idcard h2 { font-size: 24px; font-weight: 700; margin-top: 6px; }
.idcard p { color: var(--on2); font-size: 14px; }
.tiles2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile2 { border: 0.5px solid var(--border); border-radius: 24px; padding: 18px; box-shadow: var(--shadow-sm); display: grid; gap: 4px; text-align: left; }
.tile2 .em { font-size: 26px; }
.tile2 b { font-weight: 700; }
.tile2 small { color: var(--on2); font-weight: 300; }
.owner-card { display: flex; align-items: center; gap: 16px; border-radius: 24px; padding: 18px 20px; background: var(--brand-soft); text-align: left; width: 100%; }
.owner-card .em { font-size: 32px; }
.owner-card b { display: block; font-weight: 700; }
.owner-card small { color: var(--on2); font-size: 13px; }
.menu-list a, .menu-list button { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 0; border-bottom: 1px solid var(--divider); font-size: 15px; text-align: left; }
.menu-list .ico { font-size: 22px; }
.menu-list .chev { margin-left: auto; color: var(--on2); font-size: 16px; }
.menu-list .danger { color: var(--err); }

/* courses */
.courses { display: grid; gap: 28px; padding: 8px 0 48px; align-items: center; }
@media (min-width: 960px) { .courses { grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 24px; } }
.courses .art { max-width: 380px; width: 100%; margin: 0 auto; }
.soon-pill { display: inline-block; background: var(--brand); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; }
.plan-list { display: grid; gap: 12px; margin: 22px 0; }
.plan { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--border); border-radius: 18px; padding: 16px; }
.plan .em { font-size: 26px; }
.plan b { font-weight: 500; display: block; }
.plan small { color: var(--on2); font-size: 14px; font-weight: 300; }

/* home: app promo + owner band */
.promo { display: grid; gap: 24px; align-items: center; background: var(--brand-soft); border-radius: 28px; padding: 28px 24px; margin-top: 48px; }
.promo h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.promo p { font-weight: 300; color: #4a4a4a; margin-top: 6px; max-width: 46ch; }
.promo .art { width: 240px; justify-self: center; }
.promo .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
@media (min-width: 960px) { .promo { grid-template-columns: 1fr auto; padding: 40px 56px; } .promo h2 { font-size: 30px; } .promo .art { width: 300px; } }

/* ───────────── footer ───────────── */
.foot { background: var(--surface2); border-top: 1px solid var(--divider); margin-top: 56px; }
.inspo { padding: 44px 0 8px; }
.inspo h2 { font-size: 25px; font-weight: 500; letter-spacing: -0.01em; }
.inspo .tabs-line { margin: 18px 0 28px; }
.inspo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 24px; }
@media (min-width: 960px) { .inspo-grid { grid-template-columns: repeat(6, 1fr); } }
.inspo-grid a b { display: block; font-weight: 500; font-size: 14px; }
.inspo-grid a span { color: var(--on2); font-weight: 300; font-size: 14px; }
.inspo-grid a:hover b { text-decoration: underline; }
.foot-cols { display: grid; gap: 28px; padding: 40px 0; border-top: 1px solid var(--divider); margin-top: 40px; }
@media (min-width: 700px) { .foot-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .foot-cols { grid-template-columns: repeat(4, 1fr); padding: 48px 0; } }
.foot-cols h3 { font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.foot-cols a, .foot-cols button { display: block; font-size: 14px; font-weight: 300; padding: 6px 0; text-align: left; }
.foot-cols a:hover, .foot-cols button:hover { text-decoration: underline; }
.foot-bot { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; padding: 24px 0 28px; border-top: 1px solid var(--divider); font-size: 14px; font-weight: 300; }
.foot-bot .l { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.foot-bot .l a:hover { text-decoration: underline; }
.foot-bot .r { display: flex; gap: 18px; align-items: center; font-weight: 500; }
.foot-bot .r a { font-size: 18px; display: inline-flex; }
.made { text-align: center; color: var(--on2); font-weight: 500; font-size: 13px; padding: 0 0 24px; }
@media (max-width: 959px) { .foot { margin-bottom: 0; } .foot-bot { flex-direction: column-reverse; align-items: flex-start; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ───────────── team: founders + interns ───────────── */
.founders { display: grid; gap: 20px; margin-top: 18px; }
@media (min-width: 700px) { .founders { grid-template-columns: 1fr 1fr; } }
.founder { border: 1px solid var(--border); border-radius: 24px; overflow: hidden; background: #fff; }
.founder img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.founder div { padding: 18px 20px 22px; }
.founder h3 { font-size: 18px; font-weight: 700; }
.founder .role { color: var(--on2); font-size: 14px; font-weight: 500; margin-top: 2px; }
.founder p { font-size: 14px; font-weight: 300; margin-top: 10px; line-height: 1.6; }
.founder a.li { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 500; text-decoration: none; }

.fip-hero { text-align: center; padding: 56px 0 40px; max-width: 760px; margin: 0 auto; }
.fip-hero .mark { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.fip-hero .mark img { width: 44px; height: 44px; }
.fip-hero h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin-top: 18px; }
.fip-hero p { font-size: 17px; font-weight: 300; line-height: 1.7; color: #3d3d3d; margin: 20px auto 0; max-width: 62ch; }
.fip-hero .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.fip-pillars { display: grid; gap: 14px; max-width: 1040px; margin: 8px auto 56px; }
@media (min-width: 760px) { .fip-pillars { grid-template-columns: repeat(3, 1fr); } }
.fip-pillar { border: 1px solid var(--border); border-radius: 20px; padding: 22px; }
.fip-pillar .em { font-size: 28px; }
.fip-pillar b { display: block; font-weight: 700; margin-top: 8px; font-size: 16px; }
.fip-pillar span { color: var(--on2); font-size: 14px; font-weight: 300; }
.batch { background: var(--brand); padding: 56px 0 64px; }
.batch-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.batch-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.02em; }
.batch-head small { font-size: 14px; font-weight: 500; }
.interns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
@media (min-width: 760px) { .interns { grid-template-columns: repeat(3, 1fr); gap: 44px 24px; } }
@media (min-width: 1100px) { .interns { grid-template-columns: repeat(4, 1fr); } }
.intern { position: relative; }
.intern .frame { position: relative; background: #fff; border-radius: 20px; padding: 14px 14px 18px; box-shadow: 0 10px 24px rgba(0,0,0,.10); }
.intern .shot { position: relative; aspect-ratio: 1 / 1.05; background: var(--surface2); border-radius: 12px; overflow: visible; }
.intern .shot img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; max-height: 128%; object-fit: contain; object-position: bottom; filter: grayscale(1) contrast(1.05); }
.intern .shot::after { content: ''; position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); pointer-events: none; }
.intern h3 { font-size: 17px; font-weight: 700; margin-top: 14px; line-height: 1.25; }
.intern .li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; margin-top: 6px; color: var(--on2); }
.intern .li:hover { color: var(--on); }
.intern .li .ico { font-size: 16px; color: #0a66c2; }
@media (max-width: 599px) { .intern h3 { font-size: 15px; } .intern .frame { padding: 10px 10px 14px; border-radius: 16px; } }
.fip-apply { text-align: center; padding: 56px 0 8px; }
.fip-apply h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }
.fip-apply p { color: var(--on2); font-weight: 300; margin: 8px auto 20px; max-width: 52ch; }
.mailbox { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; font-weight: 500; font-size: 16px; }

/* ───────────── SEO bits ───────────── */
.gal > .gal-all { position: absolute; right: 22px; bottom: 22px; background: #fff; overflow: visible; }
.gal > .gal-all:hover { background: var(--surface2); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--on2); }
.crumbs a:hover { color: var(--on); text-decoration: underline; }
.crumbs [aria-current] { color: var(--on); }
.dt-top { padding-top: 12px; }
.seo-sum { margin: -6px 0 24px; max-width: 72ch; }
.faq { max-width: 820px; }
.faq .sec-title { margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--divider); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 500; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 22px; font-weight: 300; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 18px; font-weight: 300; font-size: 15px; line-height: 1.65; color: #3d3d3d; max-width: 70ch; }
