/* Loader — Webflow-compatible (shown via .is-loading, hidden via .is-hidden) */
.home_loader {
  display: none;
  opacity: 1;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.home_loader.is-loading {
  display: flex !important;
}

.home_loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Lang dropdown — Webflow .nav { overflow:hidden } clips the menu */
.nav_component,
.nav_padding,
.nav_wrapper,
.nav,
.jh-nav-actions {
  overflow: visible !important;
}

.nav_component {
  z-index: 120;
}

/* Nav overlay */
.nav-menu_component.is-open {
  display: block !important;
}

body.menu-open {
  overflow: hidden;
}

/* FAQ accordion */
.faq-item_component .faq-item_answer {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item_component.is-open .faq-item_answer {
  max-height: 20rem;
  padding-bottom: 1vw;
}

.faq-item_component.is-open .faq-item-icon img {
  transform: rotate(180deg);
}

.faq-item-icon img {
  transition: transform 0.3s ease;
}

/* Form messages */
.form_message-success,
.form_message-error {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75vw;
  text-align: center;
}

.form_message-success.is-visible {
  display: block;
  background: #cef5ca;
  color: #114e0b;
}

.form_message-error.is-visible {
  display: block;
  background: #f8e4e4;
  color: #3b0b0b;
}

/* Lightbox */
.jh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(12, 12, 12, 0.92);
}

.jh-lightbox.is-open {
  display: flex;
}

.jh-lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  border-radius: 10px;
  object-fit: contain;
}

.jh-lightbox-close,
.jh-lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
}

.jh-lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
}

.jh-lightbox-nav.prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.jh-lightbox-nav.next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Button hover — Webflow slide label (desktop) */
@media (min-width: 992px) {
  .button_text {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .button:hover .button_text:not(.is-absolute) {
    transform: translateY(-110%);
  }

  .button:hover .button_text.is-absolute {
    transform: translateY(-110%);
  }
}

/* Desktop — hero i layout jak Webflow, zdjęcie na pełną szerokość */
@media (min-width: 992px) {
  .section_home_hero .home_hero-heading {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .home_hero-headline-tagline img {
    width: min(52vw, 743px);
    height: auto;
  }

  .home_hero-image-subheadline-cta-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .home_hero-image-subheadline-cta {
    height: 115vh !important;
    min-height: 115vh !important;
    width: 100%;
  }

  .home_hero-image-wrapper {
    width: 100vw !important;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .home_subheadline-cta {
    position: absolute !important;
    top: 45%;
    left: 50%;
    transform: translate(-50%) !important;
    z-index: 2;
    width: auto;
    max-width: 36rem;
  }

  .home_subheadline {
    width: 36rem;
    max-width: 90vw;
  }
}

/* Webflow IX — elementy widoczne po załadowaniu */
html.w-mod-js.w-mod-ix3 :is(
  .home_subheadline,
  .home_cta,
  .home_residences-item,
  .home_residences-name-price,
  .nav-menu_component,
  .nav-menu,
  .nav_menu-list-item,
  .nav-menu_contact-item,
  .testmonials-card_component,
  .home_amenities-icon-wrapper,
  .home_amenities-decription,
  .home_amenities-button,
  .home_hero-image-wrapper,
  .home_hero-headline-tagline
) {
  visibility: visible !important;
}

/* Scroll reveal initial state */
[data-reveal] {
  opacity: 0;
  transform: translateY(10%);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Marquee animation */
@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.home_testimonials-marquee-1,
.home_testimonials-marquee-2 {
  display: flex;
  gap: 2vw;
  width: max-content;
}

.home_testimonials-marquee-1 {
  animation: marquee-left 50s linear infinite;
}

.home_testimonials-marquee-2 {
  animation: marquee-right 55s linear infinite;
}

.home_testimonials-marquee-wrapper {
  overflow: hidden;
}

.home_testimonials-marquee {
  overflow: hidden;
}

/* Button hover — duplicate label visible for slide effect */
.button_text.is-absolute {
  display: block;
}

/* Select — single caret only */
.form_input.is-select-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* FAQ — single caret icon */
.faq-item_question-wrapper {
  position: relative;
}

.faq-item-icon img {
  display: block;
  width: 1.25vw;
  height: 1.25vw;
  max-width: 20px;
  max-height: 20px;
}

/* Loader logo sizing */
.home_loader-brand-logo img {
  width: auto;
  height: 3vw;
  max-height: 48px;
}
/* Date inputs — native picker only, no duplicate calendar icon */
.form_input.is-date[type="date"] {
  color-scheme: light;
  background-image: none;
}

/* Booking layout — only #book, not #guest (fullscreen guest needs its own scroll) */
#book.section_home_book,
#book .home_book-form,
#book .booking-layout,
.booking-calendar-wrap,
.jh-cal {
  overflow: visible !important;
}

#book .home_book-form {
  width: 100% !important;
  display: block !important;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  align-items: start;
}

.booking-layout > .booking-calendar-wrap,
.booking-layout > .form_component {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.booking-layout > #booking-price-summary {
  grid-column: 1 / -1;
}

.booking-calendar-wrap {
  width: 100%;
  min-width: 0;
}

/* Public calendar widget */
.jh-cal {
  background: #fbf8f1;
  border-radius: 12px;
  padding: 1.25rem 1rem 1.5rem;
  border: 1px solid rgba(12, 12, 12, 0.1);
  width: 100%;
  box-sizing: border-box;
  overflow: visible !important;
}

#book .form_component {
  width: 100% !important;
  max-width: none;
}

#book .home_book-subheadline {
  width: 100%;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.booking-locked-apartment {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(12, 12, 12, 0.1);
  border-radius: 0.75rem;
  background: #fbf8f1;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
}

.booking-locked-apartment__label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}

.booking-locked-apartment__name {
  font-size: 1.15rem;
  font-weight: 500;
  font-family: var(--_typography---cormorant-garamond), Georgia, serif;
}

.villa-book-airbnb-cta {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.villa-book-section .home_book-heading,
.villa-book-section .home_book_heading {
  text-align: center;
}

.booking-price-summary {
  width: 100%;
  margin: 0;
  padding: 0.85rem 1.1rem;
  border-radius: 0.75rem;
  text-align: left;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.booking-price-summary.is-available {
  background: rgba(12, 12, 12, 0.08);
  color: #0c0c0c;
}

.booking-price-summary.is-unavailable {
  background: #f8e4e4;
  color: #3b0b0b;
}

.jh-cal-price {
  margin: 0.65rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jh-cal-price.is-info,
.jh-cal-price.is-pending {
  background: rgba(12, 12, 12, 0.06);
  color: #0c0c0c;
}

.jh-cal-price.is-available {
  background: #0c0c0c;
  color: #fbf8f1;
}

.jh-cal-price.is-unavailable {
  background: #f8e4e4;
  color: #3b0b0b;
}

.jh-cal-price.is-loading {
  background: rgba(12, 12, 12, 0.05);
  color: rgba(12, 12, 12, 0.65);
}

.jh-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.jh-cal-label {
  font-weight: 600;
  font-size: 1rem;
}

.jh-cal-nav {
  width: 2rem;
  height: 2rem;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(12, 12, 12, 0.15);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.jh-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  min-width: 0;
}

.jh-cal-head {
  text-align: center;
  font-size: 0.72rem;
  opacity: 0.65;
  padding: 0.25rem 0;
}

.jh-cal-day {
  min-height: 2.5rem;
  aspect-ratio: 1;
  border: 1px solid rgba(12, 12, 12, 0.08);
  border-radius: 8px;
  background: #fff;
  font-size: clamp(0.72rem, 2vw, 0.88rem);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(12, 12, 12, 0.08);
  user-select: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.jh-cal-day.is-empty {
  border: 0;
  background: transparent;
  cursor: default;
}

.jh-cal-day.is-blocked,
.jh-cal-day.is-past,
.jh-cal-day:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
  background: #efe9dd;
}

.jh-cal-day.in-range {
  background: rgba(12, 12, 12, 0.08);
}

.jh-cal-day.is-arrival,
.jh-cal-day.is-departure {
  background: #0c0c0c;
  color: #fff;
  border-color: #0c0c0c;
}

.jh-cal-hint,
.jh-cal-offline,
.jh-cal-empty {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  opacity: 0.7;
  text-align: center;
}

.jh-cal-offline {
  color: #b45309;
  opacity: 1;
}

@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* Booking — mobile / iPhone */
@media (max-width: 767px) {
  #book .booking-layout,
  .page-villa .booking-layout {
    max-width: 100% !important;
    width: 100% !important;
    gap: 1.5rem;
  }

  #book .home_book-subheadline {
    padding: 0 0.5rem;
  }

  .jh-cal {
    padding: 1rem 0.75rem 1.35rem;
  }

  .jh-cal-nav {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.1rem;
  }

  .jh-cal-day {
    min-height: 40px;
    font-size: 0.8rem;
  }

  .jh-cal-grid {
    gap: 3px;
  }

  .jh-cal-hint,
  .jh-cal-offline {
    font-size: 0.8rem;
    line-height: 1.5;
    padding: 0 0.25rem;
  }

  #book .jh-book-input,
  #book .jh-book-input.form_input,
  #book select.form_input {
    font-size: 16px !important;
    min-height: 48px;
  }

  #book .button.is-form-submit,
  #book .jh-book-submit {
    min-height: 48px;
    font-size: 0.78rem;
  }

  #book form.form_form-wrapper,
  #book .form_form-wrapper {
    padding: 1rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  #book .form_component {
    width: 100% !important;
    max-width: 100% !important;
  }

  #book .jh-book-field,
  #book .form_field-wrapper.is-locked-apartment,
  #book .booking-locked-apartment {
    width: 100% !important;
    max-width: 100% !important;
  }

  .booking-locked-apartment {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 479px) {
  .jh-cal-day {
    min-height: 36px;
    font-size: 0.72rem;
    border-radius: 6px;
  }

  .jh-cal-head {
    font-size: 0.68rem;
  }

  #book .home_book-headline h2,
  #book .home_book_heading h2 {
    font-size: clamp(2rem, 11vw, 2.75rem);
  }
}

/* Guest portal */
.guest-portal-wrap {
  width: min(960px, 100%);
  margin: 0 auto;
}

.guest-login-card {
  background: #fbf8f1;
  border: 1px solid rgba(12, 12, 12, 0.1);
  border-radius: 0.75vw;
  padding: 1.5rem;
}

.guest-login-card h3 {
  margin: 0 0 0.5rem;
  text-align: center;
}

.guest-login-hint {
  margin: 0 0 1.25rem;
  text-align: center;
  color: rgba(12, 12, 12, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

.guest-login-form {
  display: grid;
  gap: 1rem;
  max-width: 420px;
  margin: 0 auto;
}

.guest-portal-dashboard {
  display: grid;
  gap: 1.25rem;
}

.guest-portal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.guest-welcome {
  margin: 0;
  font-weight: 600;
}

.guest-logout-btn {
  border: 1px solid rgba(12, 12, 12, 0.15);
  background: #fff;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}

.guest-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.guest-tab {
  border: 1px solid rgba(12, 12, 12, 0.15);
  background: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
}

.guest-tab.is-active {
  background: #0c0c0c;
  color: #fbf8f1;
  border-color: #0c0c0c;
}

.guest-panel-intro {
  text-align: center;
  color: rgba(12, 12, 12, 0.75);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.guest-tours-panel {
  text-align: center;
  padding: 1rem 0;
}

.guest-tours-panel h3 {
  margin-top: 0;
}

body.jh-tour-detail-open {
  overflow: hidden;
}

#guest.is-fullscreen .jh-tours {
  padding-bottom: 0.5rem;
}


/* Guest area — fullscreen panel (osobna „zakładka”) */
#guest.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  height: 100dvh;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  background-color: var(--background-color--background-primary);
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

#guest.is-fullscreen .home_book-form {
  display: block !important;
  width: 100% !important;
}

#guest.is-fullscreen .jh-tours-intro {
  padding-top: 0;
  margin-bottom: 0.35rem;
}

#guest.is-fullscreen .jh-tours-hero__tagline {
  margin-bottom: 0.35rem;
}

#guest.is-fullscreen .jh-tours-hero__title {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 5.5vw, 1.75rem);
}

body.guest-screen-open {
  overflow: hidden;
}

@media (pointer: coarse) {
  body.guest-screen-open {
    height: 100%;
    touch-action: none;
  }

  body.guest-screen-open #guest.is-fullscreen {
    touch-action: pan-y;
  }
}

body.guest-screen-open .nav_component {
  display: none;
}

.guest-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.25rem 0;
  margin-bottom: 0.25rem;
  min-height: 44px;
  color: inherit;
}

#guest.is-fullscreen .padding-global > .spacer-huge:first-child {
  display: none;
}

.guest-tours-contact {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Breakfast order form */
.breakfast-form-wrap {
  width: min(760px, 100%);
  margin: 0 auto;
}

.breakfast-form {
  display: grid;
  gap: 1.25rem;
}

.breakfast-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.breakfast-field {
  display: grid;
  gap: 0.4rem;
}

.breakfast-field--full {
  grid-column: 1 / -1;
}

.breakfast-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #0c0c0c;
}

.breakfast-hint {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: rgba(12, 12, 12, 0.7);
  line-height: 1.45;
}

.breakfast-fieldset {
  border: 1px solid rgba(12, 12, 12, 0.12);
  border-radius: 0.75vw;
  padding: 1rem;
  margin: 0;
}

.breakfast-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
}

.breakfast-alt-options,
.breakfast-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
}

.breakfast-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.breakfast-textarea {
  min-height: 5rem;
  resize: vertical;
}

.breakfast-actions {
  display: flex;
  justify-content: center;
}

.breakfast-message {
  text-align: center;
  font-size: 0.95rem;
  margin: 0;
}

.breakfast-message--success {
  color: #166534;
}

.breakfast-message--error {
  color: #991b1b;
}

@media (max-width: 768px) {
  .breakfast-form-grid,
  .breakfast-check-grid {
    grid-template-columns: 1fr;
  }
}

/* ── iPhone / mobile polish ── */
@media (max-width: 991px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  html,
  body,
  .page-wrapper {
    overflow-x: hidden;
    max-width: 100%;
  }

  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .nav_padding {
    padding-top: max(0.5rem, env(safe-area-inset-top));
  }

  .nav_wrapper {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .nav_menu {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav_brand-image-wrapper {
    width: 2.25rem !important;
    height: 2.25rem !important;
  }

  .nav-menu_component {
    height: 100dvh;
  }

  .nav-menu {
    width: 100% !important;
    max-width: 100%;
    height: 100dvh;
    padding: 1.25rem 1.25rem max(1.25rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu_list .text-size-large {
    font-size: 1.35rem !important;
    line-height: 1.2;
  }

  .home_hero-image-subheadline-cta {
    flex-flow: column;
    justify-content: flex-start;
    align-items: stretch;
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 2rem;
    overflow: visible;
  }

  .home_hero-image-wrapper {
    width: 100% !important;
    height: 52vh !important;
    min-height: 240px;
    max-height: 400px;
    flex-shrink: 0;
    order: 1;
  }

  .home_hero-image-wrapper img:not(.home_hero-image) {
    display: none;
  }

  .home_hero-headline-tagline img {
    width: auto !important;
    max-width: min(78vw, 300px);
    height: auto;
  }

  .home_hero-tagline {
    width: 100% !important;
    max-width: 20rem;
    padding: 0 1rem;
  }

  .home_subheadline,
  .home_residences-subheadline,
  .home_book-subheadline,
  .home_amenities-subheadline,
  .home_testimonials-subheadline,
  .home_about-heading {
    width: 100% !important;
    max-width: 100%;
  }

  .home_subheadline {
    padding: 0 0.75rem;
  }

  .home_subheadline-cta {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 2;
    margin-top: 1.25rem;
    padding: 0 1.25rem;
    gap: 1rem;
  }

  .home_subheadline .text-color-alternate {
    color: var(--text-color--text-primary) !important;
  }

  .home_testimonials-marquee-1,
  .home_testimonials-marquee-2 {
    animation: none !important;
    transform: none !important;
    width: 100% !important;
    flex-flow: column !important;
    gap: 1rem;
  }

  .home_testimonials-marquee {
    height: auto !important;
    overflow: visible !important;
  }

  .home_testimonials-marquee-wrapper {
    overflow: visible !important;
    height: auto !important;
  }

  .home_testimonials-marquee-2 {
    display: flex !important;
    position: static !important;
    inset: auto !important;
  }

  .testmonials-card_component {
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    flex-shrink: 0;
  }

  .testimonials-card-quote {
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }

  .spacer-xxhuge {
    padding-top: 3.5rem !important;
  }

  .spacer-xhuge {
    padding-top: 2.5rem !important;
  }

  .padding-global {
    padding-left: max(1rem, env(safe-area-inset-left)) !important;
    padding-right: max(1rem, env(safe-area-inset-right)) !important;
  }

  .form_input,
  .form_input.is-select-input,
  .form_input.is-date,
  select.form_input,
  textarea.form_input {
    font-size: 16px !important;
    min-height: 48px;
  }

  .button,
  .button.is-form-submit,
  .nav_menu,
  .nav_cta {
    min-height: 44px;
  }

  .jh-cal {
    padding: 1rem;
    border-radius: 12px;
  }

  .jh-cal-day {
    font-size: 0.75rem;
    min-height: 36px;
  }

  .booking-layout {
    gap: 1.25rem;
  }

  .booking-price-summary {
    border-radius: 12px;
    font-size: 0.9rem;
  }

  .gallery_grid.homepage_atrakcje {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .guest-login-card,
  .guest-portal-wrap,
  .breakfast-form-wrap {
    border-radius: 12px;
  }

  .guest-tab,
  .guest-logout-btn {
    min-height: 44px;
  }

  .faq-item_component.is-open .faq-item_answer {
    max-height: 40rem;
  }

  /*
   * Amenities 2-col grid: Webflow draws per-cell border-right/bottom and toggles
   * them by item class. Duplicate classes + uneven content made the center line
   * look crooked. Use gap + shared background so lines are continuous.
   */
  .home_amenities-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-flow: row !important;
    gap: 1px !important;
    background-color: var(--border-color--border-alternate) !important;
  }

  .home_amenities-grid-item,
  .home_amenities-grid-item.amenities-item-1,
  .home_amenities-grid-item.amenities-item-2,
  .home_amenities-grid-item.amenities-item-3,
  .home_amenities-grid-item.amenities-item-4,
  .home_amenities-grid-item.amenities-item-5,
  .home_amenities-grid-item.amenities-item-6,
  .home_amenities-grid-item.amenities-item-7,
  .home_amenities-grid-item.amenities-item-8 {
    box-sizing: border-box !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    border: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: none !important;
    background-color: var(--background-color--background-secondary) !important;
  }
}

@media (max-width: 767px) {
  .form_form {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 479px) {
  .padding-global {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .heading-style-h1 {
    font-size: 2rem !important;
    line-height: 1.05 !important;
  }

  .home_residences-list {
    grid-template-columns: 1fr !important;
  }

  .home_amenities-grid-item {
    padding: 1.5rem 0.75rem !important;
  }

  .home_residences-image-wrapper {
    height: auto !important;
    aspect-ratio: 4 / 5;
  }

  .footer_grid-menu-list {
    grid-template-columns: 1fr !important;
  }

  .opis_homepage,
  .heading-style-h3.opis_homepage {
    font-size: 1rem !important;
    line-height: 1.5;
  }
}

/* Booking.com rating — trust strip after hero */
.jh-booking-rating {
  --jh-rate-ink: #0c0c0c;
  --jh-rate-teal: #1a3d4d;
  --jh-rate-gold: #c4a574;
  --jh-rate-sand: #efe9dd;
  --jh-rate-cream: #fbf8f1;
  width: 100%;
  margin: 0;
}

.jh-booking-rating--top {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(26, 61, 77, 0.05), transparent 70%),
    var(--jh-rate-cream);
  border-bottom: 1px solid rgba(26, 61, 77, 0.1);
}

.jh-booking-rating__inner {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding:
    clamp(0.85rem, 2.2vw, 1.15rem)
    clamp(1rem, 4vw, 1.5rem);
}

.jh-booking-rating__link {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.2rem);
  padding: 0.15rem 0;
  text-decoration: none;
  color: var(--jh-rate-ink);
  transition: opacity 0.25s ease;
}

.jh-booking-rating__link:hover,
.jh-booking-rating__link:focus-visible {
  opacity: 0.88;
  outline: none;
}

.jh-booking-rating__score {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  height: 3.25rem;
  padding: 0 0.35rem;
  border-radius: 0.4rem;
  background: var(--jh-rate-teal);
  color: #fbf8f1;
  font-family: var(--_typography---cormorant-garamond), Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow: inset 0 -2px 0 var(--jh-rate-gold);
}

.jh-booking-rating__copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
  flex: 1 1 auto;
}

.jh-booking-rating__title {
  font-family: var(--_typography---plus-jakarta-sans), system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jh-rate-teal);
}

.jh-booking-rating__trust {
  font-family: var(--_typography---plus-jakarta-sans), system-ui, sans-serif;
  font-size: clamp(0.92rem, 1.7vw, 1.08rem);
  line-height: 1.35;
  color: var(--jh-rate-ink);
  opacity: 0.9;
}

.jh-booking-rating__arrow {
  flex: 0 0 auto;
  font-size: 1rem;
  color: var(--jh-rate-gold);
  transition: transform 0.3s ease;
}

.jh-booking-rating__link:hover .jh-booking-rating__arrow,
.jh-booking-rating__link:focus-visible .jh-booking-rating__arrow {
  transform: translate(2px, -2px);
}

@media (max-width: 767px) {
  .jh-booking-rating__inner {
    padding: 0.85rem 1rem;
  }

  .jh-booking-rating__link {
    gap: 0.75rem;
  }

  .jh-booking-rating__score {
    min-width: 2.9rem;
    height: 2.9rem;
    font-size: 1.3rem;
  }

  .jh-booking-rating__title {
    letter-spacing: 0.08em;
    font-size: 0.64rem;
  }

  .jh-booking-rating__trust {
    font-size: 0.9rem;
  }
}
