/* Home Star — home-star.info */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
}

:root {
  --bg: #ffffff;
  --surface: #f9f9f9;
  --text: #1a1c1c;
  --muted: #5d5f5f;
  --meta: #444748;
  --line: #e5e5e5;
  --line-strong: #c4c7c7;
  --primary: #000000;
  --on-primary: #ffffff;
  --ease: cubic-bezier(.22,1,.36,1);
  --header-offset: 80px;
  --cookie-h: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  overflow-x: clip;
  width: 100%; max-width: 100%;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px; line-height: 1.55;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; overflow-wrap: break-word; }
button {
  font-family: inherit; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
  touch-action: manipulation;
}
a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { background: var(--primary); color: var(--on-primary); }

.container { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 520px) { .container { padding-inline: 16px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

/* Type */
.hs-kicker {
  display: block;
  font-size: 12px; font-weight: 600; line-height: 16px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--meta);
}
.hs-h2 { font-size: 32px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.hs-h3 { font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }

/* Buttons */
.hs-btn {
  display: inline-block;
  background: var(--primary); color: var(--on-primary);
  border: 0;
  padding: 20px 32px;
  font-size: 12px; font-weight: 600; line-height: 16px; letter-spacing: .1em; text-transform: uppercase;
  text-align: center;
  transition: opacity .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.hs-btn:hover { opacity: .9; }
.hs-btn--ghost { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.hs-btn--ghost:hover { opacity: 1; background: var(--primary); color: var(--on-primary); }

.icon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon--fill { fill: currentColor; stroke: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--line-strong);
  overflow: visible;
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 79px;
}
.brand { font-weight: 800; font-size: 24px; letter-spacing: -.03em; flex-shrink: 0; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.hs-search-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid transparent;
  color: var(--primary);
  transition: border-color .25s var(--ease);
}
.hs-search-btn:hover { border-color: var(--primary); }
.hs-search-btn svg { width: 22px; height: 22px; }

.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav a {
  font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  position: relative; padding-block: 4px;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  position: relative; z-index: 110; flex-shrink: 0;
  background: transparent;
  border: 1px solid transparent;
}
.burger:hover { border-color: var(--primary); }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: var(--primary);
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1220px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    width: 100%; max-width: 100vw;
    max-height: calc(100dvh - var(--header-offset, 80px));
    z-index: 50;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 32px;
    background: #ffffff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--primary);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear .3s;
  }
  .nav[data-open="true"] {
    transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear 0s;
  }
  .nav a { width: 100%; padding: 18px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  body[data-nav-open="true"] { overflow: hidden; padding-top: var(--header-offset, 80px); }
  body[data-nav-open="true"] .site-header {
    position: fixed; top: 0; left: 0; right: 0;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: #ffffff;
  }
}

/* Search overlay */
.hs-search {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(255,255,255,.98);
  display: flex; justify-content: center;
  padding: 96px 24px 40px;
}
.hs-search__box { width: 100%; max-width: 640px; }
.hs-search__row { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid var(--primary); }
.hs-search__row input {
  flex: 1; border: 0; background: transparent; outline: none;
  font-family: inherit; font-size: 20px; padding: 16px 0;
}
.hs-search__close {
  width: 44px; height: 44px; background: transparent; border: 0; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.hs-search__close svg { width: 24px; height: 24px; }
.hs-search__list { list-style: none; margin-top: 8px; }
.hs-search__list a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-weight: 600; font-size: 17px;
}
.hs-search__list a span {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.hs-search__list a:hover { background: var(--surface); }
.hs-search__empty { padding: 24px 0; color: var(--muted); }

/* Hero */
.hs-hero { padding-block: 56px 96px; }
.hs-hero__grid { display: flex; flex-direction: column; gap: 24px; }
.hs-hero h1 {
  font-size: clamp(40px, 2.6vw + 26px, 64px);
  font-weight: 800; line-height: 1.05; letter-spacing: -.035em;
  max-width: 14ch;
}
.hs-hero__lead { font-size: 18px; color: var(--muted); max-width: 56ch; }
.hs-hero__actions { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.hs-hero__media { margin-top: 32px; aspect-ratio: 3 / 2; overflow: hidden; }
.hs-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }

/* Statistics */
.hs-stats { border-top: 1px solid var(--line-strong); padding-block: 80px; }
.hs-stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.hs-stats__item { display: flex; flex-direction: column; gap: 6px; }
.hs-stats__num { font-size: clamp(40px, 2vw + 28px, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }

/* The Collection */
.hs-collection { background: var(--surface); padding-block: 96px; }
.hs-collection__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 56px; }
.hs-collection__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; }
.hs-card { display: flex; flex-direction: column; gap: 24px; }
.hs-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.hs-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.hs-card__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hs-card__rating { font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.hs-card__place { font-size: 14px; color: var(--muted); margin-top: 6px; }
.hs-card__features { list-style: none; margin-top: 20px; }
.hs-card__features li {
  display: flex; align-items: center; gap: 12px;
  padding-block: 12px; border-bottom: 1px solid var(--line-strong);
  font-size: 16px;
}
.hs-card__features svg { width: 18px; height: 18px; }

/* Why Home Star */
.hs-why { padding-block: 96px; }
.hs-why h2 { margin-bottom: 56px; }
.hs-why__grid { display: flex; flex-direction: column; gap: 56px; }
.hs-why__item { border-left: 2px solid var(--primary); padding-left: 24px; }
.hs-why__item h3 { margin-bottom: 14px; }
.hs-why__item p { color: var(--muted); }

/* The Gold Standard (amenities) */
.hs-amenities { background: var(--primary); color: var(--on-primary); padding-block: 88px; }
.hs-amenities h2 { margin-bottom: 40px; }
.hs-amenities__list { display: flex; flex-direction: column; }
.hs-amenities__row {
  display: flex; align-items: center; gap: 24px;
  padding-block: 20px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.hs-amenities__row:last-child { border-bottom: 0; }
.hs-amenities__badge {
  min-width: 84px; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.hs-amenities__badge svg { width: 32px; height: 32px; }
.hs-amenities__badge span {
  font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
}
.hs-amenities__row p { opacity: .9; }

/* Guest Impressions */
.hs-reviews { padding-block: 96px; }
.hs-reviews__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 56px; }
.hs-reviews__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.hs-review { border: 1px solid var(--line-strong); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.hs-review blockquote { font-size: 18px; font-style: italic; line-height: 1.55; }
.hs-review__stars { display: flex; gap: 4px; color: var(--primary); }
.hs-review__stars svg { width: 18px; height: 18px; }
.hs-review__who { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.hs-review__name { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hs-review__date { font-size: 14px; color: var(--muted); }

/* FAQ */
.hs-faq { background: var(--surface); padding-block: 96px; }
.hs-faq h2 { margin-bottom: 40px; }
.hs-faq details { border-bottom: 1px solid var(--line-strong); }
.hs-faq details:last-child { border-bottom: 0; }
.hs-faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 30px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
}
.hs-faq summary::-webkit-details-marker { display: none; }
.hs-faq summary .hs-h3 { font-weight: 600; }
.hs-faq summary svg { width: 24px; height: 24px; transition: transform .3s var(--ease); }
.hs-faq details.is-open summary svg { transform: rotate(180deg); }
.hs-faq .hs-faq__body { overflow: hidden; }
.hs-faq .hs-faq__body p { color: var(--muted); max-width: 680px; padding-bottom: 30px; }

/* Contact */
.hs-contact { padding-block: 80px; }
.hs-contact h2 { margin-bottom: 48px; }
.hs-contact__grid { display: flex; flex-direction: column; gap: 32px; }
.hs-contact__info { display: flex; flex-direction: column; gap: 32px; }
.hs-contact__block { display: flex; flex-direction: column; gap: 16px; }
.hs-contact__block a[href^="mailto"] { text-decoration: underline; text-underline-offset: 3px; }
.hs-form { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.hs-form label { display: flex; flex-direction: column; }
.hs-form input, .hs-form textarea {
  border: 1px solid var(--primary);
  background: transparent; padding: 16px 12px;
  font-family: inherit; font-size: 12px; font-weight: 600;
  line-height: 16px; letter-spacing: .15em;
  outline: none; resize: none; border-radius: 0;
}
.hs-form input:focus, .hs-form textarea:focus { border-bottom-width: 2px; }
.hs-form ::placeholder { color: #6b7280; opacity: 1; }
.hs-form button { margin-top: 16px; }

/* Footer */
.site-footer { background: var(--primary); color: var(--on-primary); padding-block: 80px; }
.site-footer__brand { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 32px; }
.site-footer__nav a { font-size: 14px; opacity: .7; transition: opacity .25s var(--ease); }
.site-footer__nav a:hover { opacity: 1; }
.site-footer__rg {
  margin-top: 48px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-direction: column; gap: 32px;
}
.site-footer__age { display: flex; align-items: center; gap: 16px; }
.site-footer__badge {
  width: 48px; height: 48px; flex-shrink: 0;
  border: 2px solid var(--on-primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
.site-footer__age p, .site-footer__copy { font-size: 14px; opacity: .7; line-height: 1.5; }
.site-footer__copy { text-transform: uppercase; letter-spacing: .12em; line-height: 1.8; }

/* Inner pages */
.hs-page-head { padding-block: 64px 48px; border-bottom: 1px solid var(--line-strong); }
.hs-page-head h1 {
  font-size: clamp(34px, 2vw + 24px, 52px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  margin-top: 12px;
}
.hs-page-head p { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 64ch; }
.hs-doc { padding-block: 64px 96px; }
.hs-doc .doc-body h2 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; margin: 44px 0 16px; }
.hs-doc .doc-body h2:first-child { margin-top: 0; }
.hs-doc .doc-body p, .hs-doc .doc-body li { color: var(--meta); margin-bottom: 12px; }
.hs-doc .doc-body ul { padding-left: 22px; margin-bottom: 16px; }
.hs-doc .doc-body strong { color: var(--text); }

/* Contact page */
.hs-contact-page__body { padding-block: 64px 96px; display: flex; flex-direction: column; gap: 32px; }
.hs-contact-page__body .hs-form { margin-top: 24px; }
@media (min-width: 821px) {
  .hs-contact-page__body {
    display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 64px; align-items: start;
  }
  .hs-contact-page__body .hs-form { margin-top: 0; }
}

/* Cookie banner */
.hs-cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--primary); color: var(--on-primary);
  border-top: 1px solid rgba(255,255,255,.2);
}
.hs-cookie__row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  padding-block: 20px;
}
.hs-cookie__row p { font-size: 14px; opacity: .85; flex: 1 1 320px; }
.hs-cookie__row p a { text-decoration: underline; text-underline-offset: 3px; }
.hs-cookie__actions { display: flex; gap: 12px; }
.hs-cookie__actions .hs-btn { padding: 12px 20px; }
.hs-cookie__actions .hs-btn--inverse { background: var(--on-primary); color: var(--primary); border-color: var(--on-primary); }
.hs-cookie__actions .hs-btn--inverse:hover { background: transparent; color: var(--on-primary); }
.hs-cookie__actions .hs-btn--outline { background: transparent; color: var(--on-primary); border-color: rgba(255,255,255,.5); }
.hs-cookie__actions .hs-btn--outline:hover { border-color: var(--on-primary); }

/* Support chat */
.hs-chat-toggle {
  position: fixed; right: 20px; bottom: calc(20px + var(--cookie-h)); z-index: 140;
  width: 56px; height: 56px;
  background: var(--primary); color: var(--on-primary);
  border: 1px solid var(--on-primary);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s var(--ease), bottom .25s var(--ease);
}
.hs-chat-toggle:hover { transform: scale(1.06); }
.hs-chat-toggle svg { width: 28px; height: 28px; }
.hs-chat {
  position: fixed; right: 20px; bottom: calc(88px + var(--cookie-h)); z-index: 145;
  width: 360px; max-width: calc(100vw - 32px);
  height: 460px; max-height: calc(100dvh - 120px);
  background: var(--bg); border: 1px solid var(--primary);
  display: flex; flex-direction: column;
  transition: bottom .25s var(--ease);
}
.hs-chat__head {
  background: var(--primary); color: var(--on-primary);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.hs-chat__avatar {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
}
.hs-chat__avatar svg { width: 20px; height: 20px; }
.hs-chat__title { flex: 1; display: flex; flex-direction: column; }
.hs-chat__title strong { font-size: 15px; }
.hs-chat__title span { font-size: 12px; opacity: .7; }
.hs-chat__close { background: transparent; border: 0; color: var(--on-primary); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.hs-chat__close svg { width: 18px; height: 18px; }
.hs-chat__log {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.hs-chat__msg { max-width: 85%; padding: 10px 14px; font-size: 14px; line-height: 1.45; }
.hs-chat__msg--bot { background: var(--surface); border: 1px solid var(--line); align-self: flex-start; }
.hs-chat__msg--user { background: var(--primary); color: var(--on-primary); align-self: flex-end; }
.hs-chat__msg--typing { color: var(--muted); font-style: italic; }
.hs-chat__form { display: flex; border-top: 1px solid var(--primary); }
.hs-chat__form input {
  flex: 1; border: 0; outline: none; background: transparent;
  padding: 14px; font-family: inherit; font-size: 14px;
}
.hs-chat__form button {
  width: 52px; background: var(--primary); color: var(--on-primary); border: 0;
  display: flex; align-items: center; justify-content: center;
}
.hs-chat__form button svg { width: 20px; height: 20px; }

/* Toast */
.hs-toast-backdrop { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.5); }
.hs-toast {
  position: fixed; z-index: 301; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100vw - 48px));
  background: var(--bg); border: 1px solid var(--primary);
  padding: 40px 32px; text-align: center;
}
.hs-toast h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; }
.hs-toast p { color: var(--muted); font-size: 15px; }

/* ≥ 821px */
@media (min-width: 821px) {
  .hs-hero__actions { flex-direction: row; }
  .hs-hero__actions .hs-btn { flex: 0 0 auto; }
  .hs-why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 48px; }
  .hs-contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .hs-form { margin-top: 0; }
  .hs-cookie__row { flex-wrap: nowrap; }
}

/* ≥ 1221px */
@media (min-width: 1221px) {
  .hs-hero { padding-block: 96px 120px; }
  .hs-hero__grid {
    display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 64px; align-items: center;
  }
  .hs-hero__text { display: flex; flex-direction: column; gap: 24px; }
  .hs-hero__media { margin-top: 0; }
  .hs-stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hs-collection__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .hs-collection__head { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .hs-reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hs-amenities__row { gap: 48px; }
  .hs-amenities__row p { font-size: 18px; }
  .hs-h2 { font-size: 40px; }
  .site-footer__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
  .site-footer__nav { margin-top: 8px; }
}

@media (max-width: 430px) {
  .hs-hero { padding-block: 40px 72px; }
  .hs-stats__grid { gap: 36px 24px; }
  .hs-review { padding: 24px 20px; }
  .hs-chat { right: 16px; }
  .hs-chat-toggle { right: 16px; }
}
