/* HybridStay home page. Colours follow the app (brand blue #1E6FD9). */
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/PlusJakartaSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/PlusJakartaSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --blue: #1E6FD9;
  --blue-dark: #1557B0;
  --navy: #0B1B3A;
  --ink: #10213F;
  --muted: #55657E;
  --bg: #F3F6FC;
  --line: #D8E0EC;
  --white: #fff;
  --radius: 18px;
  --topbar: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 96px); }
body { margin: 0; font: 400 16px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--navy); color: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #8DB8F2; outline-offset: 2px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 30; height: var(--topbar); background: var(--white); border-bottom: 1px solid #EEF1F6; }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand img { border-radius: 10px; box-shadow: 0 1px 4px rgb(16 33 63 / .15); }
.topnav { display: flex; align-items: center; gap: 12px; }
.iconlink { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); text-decoration: none; font-weight: 600; padding: 8px; border-radius: 999px; }
.iconlink svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.iconlink--user { background: #E6EFFC; padding: 8px 14px 8px 10px; }
.iconlink:hover { background: #E6EFFC; }

/* Buttons */
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 11px 22px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; }
.pill--outline { border-color: var(--blue); color: var(--blue); padding: 8px 18px; }
.pill--outline:hover { background: #E6EFFC; }
.pill--solid { background: var(--blue); color: var(--white); }
.pill--solid:hover { background: var(--blue-dark); }
.pill--light { background: var(--white); color: var(--blue); }
.pill--light:hover { background: #E6EFFC; }
.pill--outline-light { border-color: rgb(255 255 255 / .8); color: var(--white); }
.pill--outline-light:hover { background: rgb(255 255 255 / .12); }
.pill--outline-light svg { width: 18px; height: 18px; }

/* Hero */
.hero { background: var(--bg); padding: 28px 0 40px; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); color: var(--navy); }
.lead { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 30em; }
.hero__art { border-radius: 28px; width: 100%; }

/* Search bar: sticks under the top bar on big screens */
.searchbar { position: sticky; top: var(--topbar); z-index: 20; background: var(--bg); padding: 0 0 22px; }
.searchbar.is-stuck { background: var(--white); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 6px 16px rgb(16 33 63 / .08); }
.search { display: grid; grid-template-columns: 2.2fr 1fr 1fr auto; background: var(--white); border: 2px solid var(--blue); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 24px rgb(30 111 217 / .12); }
.search__field { display: flex; flex-direction: column; justify-content: center; padding: 10px 18px; border-right: 1px solid var(--line); min-width: 0; }
.search__field span { font-size: 13px; font-weight: 600; color: var(--muted); }
.search__field input { border: 0; padding: 2px 0 0; font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink); background: transparent; width: 100%; min-width: 0; }
.search__field input::placeholder { color: #8A97AB; font-weight: 400; }
.search__field input:focus { outline: none; }
.search__field:focus-within { background: #F3F7FE; }
.search__go { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: var(--blue); color: var(--white); font-family: inherit; font-size: 18px; font-weight: 800; line-height: 1; padding: 0 34px; cursor: pointer; }
.search__go svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.search__go:hover { background: var(--blue-dark); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 44px 0 56px; }
.feature__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #E6EFFC; color: var(--blue); }
.feature__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h2 { font-size: 21px; margin: 16px 0 6px; color: var(--navy); letter-spacing: -0.01em; }
.feature p { color: var(--muted); }

/* Dark band of cities */
.band { background: var(--navy); color: var(--white); padding: 52px 0; }
.band h2 { font-size: 30px; margin-bottom: 22px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.citycard { display: flex; justify-content: space-between; align-items: center; background: var(--white); color: var(--navy); text-decoration: none; font-weight: 800; font-size: 18px; padding: 22px 22px; border-radius: 16px; transition: transform .15s; }
.citycard span { font-size: 26px; color: var(--blue); line-height: 1; }
.citycard:hover { transform: translateY(-2px); }
.band__more { display: flex; justify-content: flex-end; margin-top: 20px; }

/* Picture + text sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 72px 0; }
.split--reverse .split__art { order: 2; }
.split__art { border-radius: 28px; width: 100%; }
.split h2 { font-size: clamp(30px, 3.6vw, 42px); color: var(--navy); margin-bottom: 20px; }
.split__text .pill { margin-top: 24px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; color: var(--muted); }
.steps li b { color: var(--ink); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font-weight: 800; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; color: var(--muted); }
.ticks li b { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #E6EFFC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3 3 7-7' fill='none' stroke='%231E6FD9' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* Phone mock-up showing a trip card */
.phone { justify-self: center; width: min(330px, 100%); padding: 14px; border-radius: 44px; background: var(--navy); box-shadow: 0 24px 48px rgb(11 27 58 / .25); }
.phone__screen { background: #F7F9FF; border-radius: 32px; padding: 18px 14px 22px; min-height: 520px; font-size: 13px; }
.phone__bar { font-weight: 800; font-size: 20px; padding: 6px 6px 12px; color: var(--navy); }
.phone__search { background: #E8EDF6; border-radius: 999px; padding: 11px 16px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.tripcard { background: var(--white); border-radius: 18px; padding: 14px; box-shadow: 0 2px 8px rgb(16 33 63 / .07); margin-bottom: 12px; }
.tripcard p { margin-top: 6px; }
.tripcard--faded { opacity: .6; }
.tripcard__head { display: flex; gap: 10px; align-items: center; }
.tripcard__head small { display: block; color: var(--muted); }
.tripcard__head b { font-size: 15px; }
.tick { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 10px; }
.price { margin-left: auto; font-weight: 800; font-size: 16px; color: var(--navy); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--white); flex: none; }
.avatar--teal { background: #26A69A; }
.avatar--coral { background: #FF8A65; }
.muted { color: var(--muted); }
.chips { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.chips span { border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; font-size: 12px; }
.tripcard__actions { display: flex; gap: 8px; margin-top: 12px; }
.btn-mini { flex: 1; text-align: center; border-radius: 999px; padding: 8px 0; font-weight: 800; background: var(--blue); color: var(--white); }
.btn-mini--outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }

/* Call to action */
.cta { background: var(--navy); color: var(--white); border-radius: 28px; padding: 52px 24px; text-align: center; }
.cta h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cta p { max-width: 38em; margin: 14px auto 26px; color: #C9D5EA; }

/* Questions */
.help { padding: 24px 0 72px; }
.help h2 { text-align: center; font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); margin-bottom: 30px; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: 10px; }
.help__more { text-align: center; margin-top: 28px; color: var(--muted); }

/* App band */
.getapp { background: var(--blue); color: var(--white); padding: 56px 0; }
.getapp h2 { font-size: clamp(28px, 3.2vw, 38px); }
.getapp p { margin: 12px 0 24px; color: #DCE9FC; max-width: 34em; }
.getapp__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.getapp__buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.getapp__badge img { border-radius: 30px; box-shadow: 0 16px 40px rgb(11 27 58 / .3); }

/* Footer */
.footer { background: #EDF1F7; padding: 48px 0 28px; color: var(--ink); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer h2 { font-size: 18px; margin-bottom: 14px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--blue); text-decoration: underline; }
.footer__note { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; color: var(--muted); font-size: 14px; }
.footer__brand { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.footer__brand img { border-radius: 6px; }

/* Tablets and phones */
@media (max-width: 900px) {
  .hero__inner, .split { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse .split__art { order: 0; }
  .split { padding: 52px 0; }
  .features { grid-template-columns: 1fr; gap: 26px; padding: 36px 0 44px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; }
  .getapp__badge { display: none; }
}
@media (max-width: 720px) {
  :root { --topbar: 60px; }
  .wrap { width: min(1180px, 100% - 28px); }
  .brand { font-size: 19px; }
  .pill--outline { display: none; }
  .iconlink__label { display: none; }
  .iconlink--user { padding: 8px; }
  .hero { padding-top: 20px; }
  .lead { font-size: 17px; }
  .searchbar { position: static; }
  .search { grid-template-columns: 1fr 1fr; }
  .search__field { border-right: 0; border-bottom: 1px solid var(--line); }
  .search__field--where { grid-column: 1 / -1; }
  .search__field:nth-child(2) { border-right: 1px solid var(--line); }
  .search__go { grid-column: 1 / -1; padding: 16px; }
  .cards { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* Page not found */
.notfound { padding: 96px 0; text-align: center; }
.notfound h1 { font-size: clamp(34px, 5vw, 52px); color: var(--navy); }
.notfound .lead { margin: 16px auto 28px; }
.notfound .pill { margin: 6px; }
