/* =============================================================================
   Demo strony Hotelu Mokotów — przykład osadzenia widget'a LiveChat.
   Inspirowane projektem HTML w handoff bundle.
============================================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: #faf7f2; color: #1a1612;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}

/* ─── Topbar ────────────────────────────────────────────────────────────── */
.topbar {
  height: 64px; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(60,40,20,0.10);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;

  &__brand { display: flex; align-items: center; gap: 10px; }
  &__name  { font-family: "Instrument Serif", serif; font-size: 22px; line-height: 1; letter-spacing: -0.3px; }
  &__loc   { font-size: 10.5px; color: #9c8a78; letter-spacing: 1.4px; text-transform: uppercase; margin-top: 2px; }
  &__nav   { display: flex; gap: 28px; font-size: 13px; color: #3f2d20; a { cursor: pointer; } }
  &__cta   { display: flex; align-items: center; gap: 12px; }
  &__lang  { font-size: 12px; color: #9c8a78; }
}

.btn {
  height: 36px; padding: 0 14px; font-size: 13px; font-weight: 500;
  border-radius: 8px; cursor: pointer; border: 1px solid transparent;
  font-family: inherit; letter-spacing: .1px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn--primary { background: #1a1612; color: #fff; }
.btn--brass   { background: #c9a979; color: #fff; }

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero { flex: 1; display: flex; min-height: 600px; }
.hero__left {
  flex: 1; padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.eyebrow {
  font-size: 11px; letter-spacing: 2.5px; color: #c9a979;
  text-transform: uppercase; margin-bottom: 18px;
}
.hero__title {
  font-family: "Instrument Serif", serif;
  font-size: 76px; line-height: 0.95; letter-spacing: -1.5px;
  color: #3f2d20; margin-bottom: 24px; font-weight: 400;
  em { font-style: italic; color: #c9a979; }
}
.hero__desc {
  font-size: 15px; line-height: 1.6; color: #9c8a78; max-width: 460px; margin-bottom: 40px;
}

.bookbar {
  background: #fff; border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(60,40,20,0.06);
  padding: 6px; display: flex; align-items: center; max-width: 540px;
  &__field {
    flex: 1; padding: 10px 16px;
    border-right: 1px solid rgba(60,40,20,0.10);
    &--last { border-right: none; }
  }
  &__label { font-size: 10px; letter-spacing: 1.4px; color: #9c8a78; text-transform: uppercase; }
  &__value { font-size: 14px; margin-top: 3px; color: #1a1612; font-weight: 500; }
}

.hero__right {
  flex: 1.1; margin: 32px 32px 32px 0; border-radius: 4px; position: relative;
  background: repeating-linear-gradient(45deg, #e8dec9 0 6px, #d9cdb3 6px 12px);
  overflow: hidden;
  &::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(250,247,242,.1) 0%, rgba(63,45,32,.4) 100%);
  }
}
.hero__seal {
  position: absolute; top: 32px; right: 32px;
  width: 96px; height: 96px; border-radius: 50%;
  background: #faf7f2; color: #3f2d20;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(-8deg); border: 1px solid #c9a979;
  font-family: "Instrument Serif", serif; text-align: center; line-height: 1.1;

  &-eyebrow { font-size: 9px; letter-spacing: 1.5px; color: #c9a979; margin-bottom: 4px; }
  &-main    { font-size: 26px; font-style: italic; }
  &-year    { font-size: 11px; margin-top: 2px; letter-spacing: 1px; }
}

/* ─── Install snippet ───────────────────────────────────────────────────── */
.install {
  margin: 48px 64px 80px; max-width: 880px; padding: 32px;
  background: #fff; border: 1px solid rgba(60,40,20,.10); border-radius: 12px;
  h2 {
    font-family: "Instrument Serif", serif; font-size: 28px; font-weight: 400;
    margin-bottom: 18px; color: #3f2d20;
  }
  pre {
    background: #1a1612; color: #f3ede2; padding: 22px;
    border-radius: 8px; overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.6;
  }
  &__hint { margin-top: 16px; font-size: 13px; color: #9c8a78; line-height: 1.55; }
  code { font-family: ui-monospace, monospace; font-size: 12.5px; }
}

/* ─── Footer ───────────────────────────────────────────────────────────── */
.foot {
  padding: 24px 48px; border-top: 1px solid rgba(60,40,20,.10);
  font-size: 12px; color: #9c8a78;
  display: flex; justify-content: space-between; align-items: center;
}

/* ─── Mobile ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .topbar { padding: 0 16px; height: 56px; }
  .topbar__nav { display: none; }
  .hero { flex-direction: column; }
  .hero__left { padding: 40px 24px; }
  .hero__title { font-size: 48px; }
  .hero__right { margin: 0 24px 32px; min-height: 240px; }
  .install { margin: 24px; padding: 20px; }
  .bookbar { flex-direction: column; align-items: stretch; padding: 12px; gap: 8px;
    &__field { border-right: none; border-bottom: 1px solid rgba(60,40,20,.10); padding: 8px; }
  }
}
