/* StayFlow Signature — boutique editorial hospitality */
:root {
  --brand-primary: #1a3d4d;
  --brand-accent: #c4a574;
  --brand-cream: #f7f4ee;
  --brand-ink: #121212;
  --brand-dark: #0a161c;
  --brand-muted: #5c6670;
  --brand-bg: var(--brand-cream);
  --brand-surface: #ffffff;
  --brand-text: var(--brand-ink);
  --brand-onPrimary: #ffffff;
  --brand-border: rgba(10, 22, 28, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(10, 22, 28, 0.12);
  --shadow-soft: 0 8px 28px rgba(10, 22, 28, 0.06);
  --shadow-cta: 0 6px 20px color-mix(in srgb, var(--brand-accent) 28%, transparent);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --header-h: 72px;
  --preview-banner-h: 0px;
  --page-gutter: clamp(1rem, 3vw, 1.5rem);
  --section-pad-y: clamp(4rem, 8vw, 6.5rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: calc(var(--header-h) + var(--preview-banner-h, 0px) + 0.75rem);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--brand-text);
  background: var(--brand-bg);
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body.is-loading { overflow: hidden; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--brand-accent), color-mix(in srgb, var(--brand-accent) 55%, #fff));
  box-shadow: 0 0 12px color-mix(in srgb, var(--brand-accent) 45%, transparent);
  pointer-events: none;
  transition: width 0.08s linear;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, calc(100% - 2 * var(--page-gutter)));
  margin: 0 auto;
  padding-inline: 0;
}

/* Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--brand-dark);
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader.is-done .page-loader-inner {
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.55s var(--ease-out), opacity 0.55s var(--ease-out);
}

.page-loader-inner {
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  transition: transform 0.55s var(--ease-out), opacity 0.55s var(--ease-out);
}

.page-loader-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.35rem;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--brand-accent), color-mix(in srgb, var(--brand-accent) 70%, #fff));
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.page-loader-mark[hidden],
.page-loader-logo[hidden] {
  display: none !important;
}

.page-loader-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  margin: 0 auto 1.35rem;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.page-loader-name {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.page-loader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 2px;
}

.page-loader.is-active .page-loader-mark {
  animation: loader-pop 0.75s var(--ease-out) both;
}

.page-loader.is-active .page-loader-logo {
  animation: loader-pop 0.75s var(--ease-out) both;
}

.page-loader.is-active .page-loader-name {
  animation: hero-rise 0.85s 0.22s var(--ease-out) both;
}

.page-loader.is-active .page-loader-bar {
  animation: hero-rise 0.7s 0.38s var(--ease-out) both;
}

@keyframes loader-pop {
  from { opacity: 0; transform: scale(0.72); }
  to { opacity: 1; transform: none; }
}

.page-loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--brand-accent), transparent);
  animation: loader-slide 1.1s ease-in-out infinite;
}

@keyframes loader-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 238, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(10, 22, 28, 0.06);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .site-nav a,
.site-header.is-scrolled .nav-toggle {
  color: var(--brand-ink);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
  width: min(1180px, calc(100% - 2 * var(--page-gutter)));
  margin: 0 auto;
  padding-inline: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 2;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.brand-logo[hidden],
.brand-mark[hidden] {
  display: none !important;
}

.brand:has(.brand-logo:not([hidden])) .brand-mark {
  display: none !important;
}

.brand-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.site-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  transition: color 0.2s, opacity 0.2s;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: var(--brand-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease-out);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--brand-accent);
}

.site-header.is-scrolled .site-nav a.is-active {
  color: var(--brand-accent);
}

.btn-header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s, opacity 0.25s;
}

.site-header.is-scrolled .nav-toggle span { background: var(--brand-ink); }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  gap: 0.45rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn:active { transform: translateY(0); }

.btn-arrow {
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-lg { padding: 1rem 1.85rem; font-size: 0.95rem; }

.btn-primary {
  background: var(--brand-accent);
  color: var(--brand-onPrimary, #fff);
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-cta);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.2) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.65s var(--ease-out);
  pointer-events: none;
}

.btn-primary:hover::before {
  transform: translateX(130%);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--brand-accent) 90%, #fff);
  border-color: color-mix(in srgb, var(--brand-accent) 90%, #fff);
  color: var(--brand-onPrimary, #fff);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--brand-accent) 38%, transparent);
}

.btn-outline {
  background: transparent;
  color: var(--brand-text, var(--brand-primary));
  border-color: color-mix(in srgb, var(--brand-border, var(--brand-primary)) 60%, transparent);
}

.btn-outline:hover {
  border-color: var(--brand-accent);
  background: color-mix(in srgb, var(--brand-accent) 6%, transparent);
  color: var(--brand-text, var(--brand-primary));
}

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}

.btn-block { width: 100%; }

/* Hero CTA — matched pair (equal height, consistent pill, both themes) */
.hero-actions .btn,
.hero-actions .btn.btn-lg {
  border-radius: 999px;
  align-self: stretch;
}

.hero-actions .btn-primary {
  box-shadow: 0 8px 22px color-mix(in srgb, var(--brand-accent) 30%, transparent);
}

.hero-actions .btn-ghost,
.hero-cta-secondary.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(8, 14, 18, 0.22);
}

.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + var(--preview-banner-h, 0px) + 3rem) 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s var(--ease-out);
}

.hero.is-ready .hero-bg {
  transform: scale(1.03) translateY(var(--parallax-y, 0));
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 14, 18, 0.85) 0%, rgba(8, 14, 18, 0.38) 45%, rgba(8, 14, 18, 0.52) 100%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(196, 165, 116, 0.14), transparent 60%);
  animation: scrim-breathe 12s ease-in-out infinite;
}

@keyframes scrim-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.92; }
}
.hero.is-ready .hero-eyebrow,
.hero.is-ready .hero-title,
.hero.is-ready .hero-subtitle,
.hero.is-ready .hero-actions {
  animation: hero-rise 0.95s var(--ease-out) both;
}

.hero.is-ready .hero-eyebrow { animation-delay: 0.12s; }
.hero.is-ready .hero-title { animation-delay: 0.28s; }
.hero.is-ready .hero-subtitle { animation-delay: 0.42s; }
.hero.is-ready .hero-actions { animation-delay: 0.56s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.hero.is-mesh .hero-bg {
  background-image: none !important;
  background:
    radial-gradient(ellipse 85% 65% at 18% 18%, color-mix(in srgb, var(--brand-accent) 38%, transparent), transparent 55%),
    radial-gradient(ellipse 75% 55% at 82% 78%, color-mix(in srgb, var(--brand-primary) 70%, transparent), transparent 50%),
    linear-gradient(155deg, var(--brand-dark) 0%, var(--brand-primary) 48%, #060e12 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 780px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-accent);
  margin: 0 0 1.25rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  font-weight: 500;
  line-height: 1.04;
  margin: 0 0 1.25rem;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  max-width: 34rem;
  opacity: 0.9;
  margin: 0 0 2.25rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  z-index: 1;
}

.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--brand-accent);
  border-radius: 4px;
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(12px); }
}

/* Trust strip */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid rgba(10, 22, 28, 0.06);
  padding: 1.35rem 0;
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--brand-cream);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-primary);
  letter-spacing: 0.03em;
  border: 1px solid rgba(10, 22, 28, 0.05);
  transition: transform 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}

.trust-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 165, 116, 0.35);
  box-shadow: var(--shadow-soft);
}

.trust-chip svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--brand-accent);
}

.trust-chip.is-entering {
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  animation: trust-enter 0.7s var(--enter-delay, 0s) var(--ease-out) forwards;
}

@keyframes trust-enter {
  to { opacity: 1; transform: none; }
}

/* Sections */
.section {
  padding: var(--section-pad-y) 0;
}

.about-image.is-crop-alt { object-position: 70% 30%; }

.section--dark {
  background: var(--brand-dark);
  color: #fff;
}

.apartments.section--dark {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, color-mix(in srgb, var(--brand-accent) 8%, transparent), transparent 60%),
    var(--brand-dark);
}

/* Dolna połowa strony — rytm kontrastów */
.section--inset-dark {
  background:
    radial-gradient(ellipse 90% 70% at 15% 0%, color-mix(in srgb, var(--brand-accent) 14%, transparent), transparent 55%),
    linear-gradient(165deg, var(--brand-dark) 0%, var(--brand-primary) 48%, #1e4a5c 100%);
  color: #fff;
}

.section--paper {
  background: #fff;
}

.section--warm {
  background:
    linear-gradient(180deg, var(--brand-cream) 0%, color-mix(in srgb, var(--brand-accent) 8%, var(--brand-cream)) 100%);
}

.section--booking {
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, color-mix(in srgb, var(--brand-accent) 12%, transparent), transparent 60%),
    var(--brand-cream);
}

#book.section {
  padding: clamp(3rem, 6vw, 4.75rem) 0;
}

.section--contact {
  background: #fff;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-accent);
  margin: 0 0 0.85rem;
}

.section-eyebrow--light { color: var(--brand-accent); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: var(--brand-text, var(--brand-primary));
  letter-spacing: -0.025em;
}

.section-title--light { color: #fff; }

.section-lead {
  color: var(--brand-muted);
  font-size: 1.05rem;
  max-width: 38rem;
  margin: 0;
  line-height: 1.7;
}

.section-lead--light { color: rgba(255,255,255,0.72); }

.section-head { margin-bottom: 2.75rem; }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }

.section-head--center .section-eyebrow::after,
.faq-head .section-eyebrow::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 0.85rem auto 0;
  background: linear-gradient(90deg, transparent, var(--brand-accent), transparent);
}

.faq-head .section-eyebrow::after { margin-left: 0; margin-right: auto; }

.reveal.is-visible .amenity-card,
.reveal.is-visible .apt-card,
.reveal.is-visible .review-card,
.reveal.is-visible .guest-zone-features li,
.reveal.is-visible .apt-related-card {
  animation: stagger-in 0.7s var(--ease-out) both;
  animation-delay: var(--stagger, 0s);
}

.reveal.is-visible .section-eyebrow,
.reveal.is-visible .section-title,
.reveal.is-visible .section-lead,
.reveal.is-visible .guest-zone-promo-lead {
  animation: hero-rise 0.75s var(--ease-out) both;
}

.reveal.is-visible .section-title { animation-delay: 0.07s; }
.reveal.is-visible .section-lead,
.reveal.is-visible .guest-zone-promo-lead { animation-delay: 0.14s; }

@keyframes stagger-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-text p {
  margin: 0 0 1.15rem;
  color: var(--brand-muted);
  font-size: 1.05rem;
}

.about-cta { margin-top: 1.5rem; }

.about-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.about-image {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  transform: translateY(var(--float-y, 0));
  will-change: transform;
}

.about-frame.is-mesh {
  min-height: 420px;
  background:
    radial-gradient(ellipse 75% 65% at 70% 25%, color-mix(in srgb, var(--brand-accent) 32%, transparent), transparent 55%),
    linear-gradient(155deg, var(--brand-primary), var(--brand-dark));
}

.about-frame.is-mesh .about-image { display: none; }

/* Apartments */
.apartment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.apartment-grid--featured {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin: 0 auto;
}

.apartment-grid--preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  max-width: 920px;
  margin-inline: auto;
}

@media (max-width: 1100px) {
  .apartment-grid--preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .apartment-grid--preview {
    grid-template-columns: 1fr;
  }
}

.apartment-grid--preview .apt-card {
  height: 100%;
}

.apartment-grid--preview .apt-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.apartment-grid--preview .apt-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.35rem 1.35rem;
}

.apartment-grid--preview .apt-card-desc {
  margin-bottom: 0.65rem;
  -webkit-line-clamp: 2;
  min-height: 3.05em;
}

.apartment-grid--preview .apt-card-highlights {
  min-height: 2.55rem;
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.apartment-grid--preview .apt-card-footer {
  margin-top: auto;
  padding-top: 0.65rem;
}

.apartment-grid--featured .apt-card-image { aspect-ratio: 16/10; }

.apt-card--primary {
  border-color: color-mix(in srgb, var(--brand-accent) 42%, rgba(255, 255, 255, 0.1));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--brand-accent) 28%, transparent),
    0 14px 42px rgba(0, 0, 0, 0.28);
}

.apt-card--primary .apt-card-media {
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--brand-accent) 55%, transparent);
}

.apt-card--showcase {
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.015);
}

.apt-card--showcase .apt-card-image {
  opacity: 0.68;
  filter: saturate(0.55) brightness(0.92);
}

.apt-card--showcase .apt-card-title {
  color: rgba(255, 255, 255, 0.62);
}

.apt-card--showcase .apt-card-desc,
.apt-card--showcase .apt-card-highlights li {
  color: rgba(255, 255, 255, 0.48);
}

.apt-card--showcase .apt-card-highlights li {
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: transparent;
}

.apt-card--showcase .apt-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -35deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.03) 10px,
    rgba(255, 255, 255, 0.03) 11px
  );
  pointer-events: none;
  z-index: 2;
}

.apt-card-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  z-index: 3;
  pointer-events: none;
  background: rgba(6, 14, 20, 0.38);
}

.apt-card-ribbon {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 4;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(12, 22, 30, 0.72);
  border: 1px dashed rgba(255, 255, 255, 0.35);
}

.apt-card-badge--primary {
  background: color-mix(in srgb, var(--brand-accent) 88%, #1a1a1a);
  color: #fff;
}

.apt-card-badge--showcase {
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.82);
}

.apt-card-cta--sample {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
}

.apt-card-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.apt-card-highlights li {
  font-size: 0.72rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.01em;
}

.apartments-preview-note {
  margin: 1.75rem auto 0;
  max-width: 520px;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.48);
}

.apartment-grid--featured .apt-card-body {
  padding: 2rem 2.25rem 2.5rem;
}

.apartment-grid--featured .apt-card-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.apt-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.apt-card:hover {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-6px);
  box-shadow: var(--shadow);
}

.apt-card-link {
  display: block;
  color: inherit;
}

.apt-card-media {
  position: relative;
  overflow: hidden;
}

.apt-card-image {
  aspect-ratio: 5/4;
  object-fit: cover;
  width: 100%;
  transition: transform 0.6s var(--ease-out);
}

.apt-card-image.is-crop-center { object-position: center 35%; }
.apt-card-image.is-crop-left { object-position: 25% center; }
.apt-card-image.is-crop-right { object-position: 75% center; }

.apt-card.is-mesh .apt-card-media {
  background:
    radial-gradient(ellipse 80% 60% at 30% 25%, color-mix(in srgb, var(--brand-accent) 30%, transparent), transparent 55%),
    linear-gradient(160deg, var(--brand-primary), var(--brand-dark));
}

.apt-card.is-mesh .apt-card-image { opacity: 0; }

.apt-card:hover .apt-card-image { transform: scale(1.04); }

.apt-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(10, 22, 28, 0.65);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.apt-card-body {
  padding: 1.5rem 1.6rem 1.75rem;
}

.apt-card-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: #fff;
}

.apt-card-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin: 0 0 1.25rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.apt-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.apt-card-cta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-accent);
  transition: letter-spacing 0.25s;
}

.apt-card:hover .apt-card-cta { letter-spacing: 0.14em; }

/* Amenities */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 58rem;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 900px) {
  .amenities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }
}

.amenity-card {
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid rgba(10, 22, 28, 0.06);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.amenity-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 165, 116, 0.45);
  box-shadow: var(--shadow);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-sm);
  background: var(--brand-surface, #fff);
  border: 1px solid var(--brand-border, rgba(10, 22, 28, 0.06));
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--brand-accent) 28%, var(--brand-border, transparent));
}

.pricing-card-name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--brand-dark);
}

.pricing-card-price {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-accent);
}

.pricing-intro:empty {
  display: none;
}

.amenity-icon-wrap {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand-accent) 16%, var(--brand-cream));
  color: var(--brand-primary);
  transition: transform 0.35s var(--ease-out);
}

.amenity-card:hover .amenity-icon-wrap {
  transform: scale(1.08) rotate(-4deg);
}

.amenity-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.amenity-title {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--brand-primary);
  margin: 0;
  line-height: 1.5;
}

/* Team / staff cards — friendly avatar placeholder instead of a blank tile */
.amenity-card--team {
  align-items: center;
  text-align: center;
}

.amenity-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--brand-primary);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand-accent) 32%, var(--brand-cream, #fff)),
    color-mix(in srgb, var(--brand-accent) 12%, #fff)
  );
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-accent) 38%, transparent);
  transition: transform 0.35s var(--ease-out);
}

.amenity-card--team:hover .amenity-avatar {
  transform: scale(1.06);
}

.amenity-avatar--photo {
  background: none;
  box-shadow: inset 0 0 0 1px rgba(10, 22, 28, 0.08);
}

.amenity-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amenity-avatar--icon svg {
  width: 30px;
  height: 30px;
}

.amenity-role {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--brand-muted, rgba(26, 16, 24, 0.62));
}

/* Experiences */
.experiences {
  background: #fff;
}

.experiences-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.experiences-text {
  color: var(--brand-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.75rem;
}

.experiences-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.experiences-gallery img {
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  transition: transform 0.55s var(--ease-out), filter 0.55s;
}

.experiences-gallery img:hover {
  transform: scale(1.03);
  filter: saturate(1.05);
}

.experiences-gallery img:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 100%;
}

/* Guest zone — promo na stronie głównej */
.guest-zone-promo.section--inset-dark {
  padding-top: clamp(5rem, 10vw, 7.5rem);
  padding-bottom: clamp(5rem, 10vw, 7.5rem);
}

.guest-zone-shell {
  display: grid;
  gap: 1.75rem;
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28);
}

.guest-zone-promo-head {
  max-width: 40rem;
}

.guest-zone-promo-lead {
  margin: 0.65rem 0 0;
  color: var(--brand-muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.guest-zone-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.guest-zone-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--brand-cream);
  border: 1px solid rgba(10, 22, 28, 0.05);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.guest-zone-features li:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 165, 116, 0.4);
  box-shadow: var(--shadow-soft);
}

.guest-zone-feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand-accent) 18%, #fff);
  color: var(--brand-primary);
}

.guest-zone-feature-icon svg {
  width: 20px;
  height: 20px;
}

.guest-zone-feature-copy strong {
  display: block;
  font-size: 0.92rem;
  color: var(--brand-primary);
  margin-bottom: 0.2rem;
}

.guest-zone-feature-copy span {
  display: block;
  font-size: 0.86rem;
  color: var(--brand-muted);
  line-height: 1.5;
}

.guest-zone-promo-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(10, 22, 28, 0.06);
}

.guest-zone-promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.guest-zone-demo-note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--brand-muted);
  line-height: 1.5;
  max-width: 28rem;
}

/* Reviews marquee */
.reviews.section--paper {
  overflow: hidden;
  padding-bottom: 5rem;
  border-top: 1px solid rgba(10, 22, 28, 0.05);
}

.reviews-marquee {
  margin-top: 2rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.reviews-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.reviews-track:hover { animation-play-state: paused; }

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

.review-card {
  flex: 0 0 min(380px, 85vw);
  padding: 1.85rem 1.65rem 1.65rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(10, 22, 28, 0.18);
  position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 72px rgba(10, 22, 28, 0.28);
}

.review-mark {
  position: absolute;
  top: 0.65rem;
  right: 1.1rem;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: color-mix(in srgb, var(--brand-accent) 45%, transparent);
  pointer-events: none;
}

.review-stars {
  display: inline-flex;
  gap: 0.15rem;
  margin-bottom: 0.85rem;
  color: var(--brand-accent);
}

.review-stars svg {
  width: 14px;
  height: 14px;
}

.review-quote {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  line-height: 1.55;
  color: #fff;
  margin: 0 0 1.15rem;
  font-style: italic;
}

.review-author {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--brand-accent) 85%, #fff);
}

/* FAQ */
.faq.section--warm {
  border-top: 1px solid rgba(10, 22, 28, 0.04);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
  padding: 0 1.1rem;
  border: 1px solid rgba(10, 22, 28, 0.06);
  box-shadow: 0 8px 24px rgba(10, 22, 28, 0.04);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item.is-open {
  border-color: rgba(196, 165, 116, 0.42);
  box-shadow: var(--shadow-soft);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  color: var(--brand-primary);
  cursor: pointer;
}

.faq-question span {
  flex: 1;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out), opacity 0.35s;
  opacity: 0.65;
}

.faq-item.is-open .faq-answer {
  opacity: 1;
}

.faq-answer p {
  margin: 0 0 1.25rem;
  color: var(--brand-muted);
  line-height: 1.7;
}

/* Booking */
.booking-shell {
  background: linear-gradient(145deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.8vw, 2rem);
  max-width: 52rem;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(10, 22, 28, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.booking-shell::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 50%;
  height: 120%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-accent) 22%, transparent), transparent 68%);
  pointer-events: none;
  animation: booking-glow 8s ease-in-out infinite;
}

@keyframes booking-glow {
  0%, 100% { opacity: 0.85; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(-3%); }
}

.reveal.is-visible .booking-shell {
  animation: booking-rise 0.9s var(--ease-out) both;
}

@keyframes booking-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(1.15rem, 2.2vw, 1.65rem);
  align-items: start;
  position: relative;
  z-index: 1;
}

.booking-copy {
  padding-right: 0.25rem;
}

.booking-shell .section-eyebrow {
  color: var(--brand-accent);
  margin-bottom: 0.5rem;
}

.booking-shell .section-title {
  color: #fff;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  margin-bottom: 0.55rem;
  line-height: 1.12;
}

.booking-lead {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 1rem;
  line-height: 1.55;
  font-size: 0.9rem;
}

.booking-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.booking-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.booking-perks li svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: var(--brand-accent);
}

.booking-perks li::before { display: none; }

.book-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem 0.8rem;
  background: #fff;
  padding: clamp(1.1rem, 1.8vw, 1.35rem);
  border-radius: 14px;
  border: 1px solid rgba(10, 22, 28, 0.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.book-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.book-field--full,
.book-field--full.book-submit,
.book-form .book-field--full {
  grid-column: 1 / -1;
}

.book-field:not(.book-field--full):not(.book-field--guests) {
  grid-column: span 3;
}

.book-field--guests {
  grid-column: span 2;
}

.book-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.book-form .book-label {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
}

.book-form label:has([name="Full-Name"]),
.book-form label:has([name="Email"]),
.book-form label:has([name="Phone"]),
.book-form label:has([name="Villas"]),
.book-form label:has(.book-submit) {
  grid-column: 1 / -1;
}

.book-form input,
.book-form select {
  padding: 0.58rem 0.75rem;
  min-height: 40px;
  border: 1px solid rgba(10, 22, 28, 0.1);
  border-radius: 10px;
  font: inherit;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  color: var(--brand-ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.book-form input[type="number"] {
  max-width: 6.5rem;
}

.book-form .book-submit {
  margin-top: 0.1rem;
  min-height: 42px;
  padding: 0.62rem 1.15rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.2);
}

.book-form textarea {
  width: 100%;
  min-height: 5.5rem;
  resize: vertical;
  padding: 0.72rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-border);
  background: #fff;
  font: inherit;
  color: inherit;
}

.book-form-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.45;
}

.book-form-message--success {
  background: color-mix(in srgb, #1f7a4f 12%, #fff);
  border: 1px solid color-mix(in srgb, #1f7a4f 28%, transparent);
  color: #145c3a;
}

.book-form-message--error {
  background: color-mix(in srgb, #b23b3b 10%, #fff);
  border: 1px solid color-mix(in srgb, #b23b3b 24%, transparent);
  color: #8f2f2f;
}

/* Contact */
.contact-shell {
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand-cream) 88%, #fff) 0%, #fff 55%, color-mix(in srgb, var(--brand-accent) 6%, #fff) 100%);
  border: 1px solid rgba(10, 22, 28, 0.07);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.reveal.is-visible .contact-shell {
  animation: booking-rise 0.85s var(--ease-out) both;
}

.contact-shell:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: end;
  max-width: none;
}

.contact-location {
  font-size: 1.12rem;
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.65;
  max-width: 28rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
  text-align: right;
}

.contact-phone,
.contact-email {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--brand-primary);
  padding: 0.65rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.contact-phone:hover,
.contact-email:hover {
  color: var(--brand-accent);
  border-bottom-color: color-mix(in srgb, var(--brand-accent) 40%, transparent);
}

/* Footer */
.site-footer {
  padding: 0;
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  border-top: 1px solid color-mix(in srgb, var(--brand-accent) 32%, transparent);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem 3rem;
  padding: 2.5rem 0 1.85rem;
}

.footer-brand {
  max-width: 22rem;
}

.footer-name {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 500;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}

.footer-tagline {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.46);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.85rem;
  align-items: center;
  padding-top: 0.15rem;
}

.footer-nav a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  transition: color 0.2s var(--ease-out);
}

.footer-nav a:hover { color: var(--brand-accent); }

.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.09) 18%,
    rgba(255, 255, 255, 0.09) 82%,
    transparent
  );
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.05rem 0 1.55rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.36);
  letter-spacing: 0.02em;
}

.footer-stayflow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.42rem 0.9rem 0.42rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  transition:
    border-color 0.25s var(--ease-out),
    background 0.25s var(--ease-out),
    transform 0.25s var(--ease-out);
}

.footer-stayflow:hover {
  border-color: color-mix(in srgb, var(--brand-accent) 42%, transparent);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-1px);
}

.footer-stayflow-kicker {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
  white-space: nowrap;
}

.footer-stayflow-logo {
  display: block;
  height: 22px;
  width: auto;
  opacity: 0.96;
}

/* Apartment detail page */
.page-apartment .header-inner {
  gap: 0.75rem;
}

.page-apartment .apt-back {
  margin-left: auto;
  font-size: 0.82rem;
  padding: 0.65rem 1.1rem;
}

.page-apartment .apt-header-book {
  display: none;
}

.apt-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 3.5rem;
  overflow: hidden;
}

.apt-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05) translateY(var(--parallax-y, 0));
  transition: transform 8s var(--ease-out);
}

.apt-hero.is-ready .apt-hero-bg { transform: scale(1.02) translateY(var(--parallax-y, 0)); }

.apt-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 14, 18, 0.9) 0%, rgba(8, 14, 18, 0.35) 55%, rgba(8, 14, 18, 0.5) 100%),
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(196, 165, 116, 0.12), transparent 60%);
}

.apt-hero-inner {
  position: relative;
  z-index: 1;
  color: #fff;
}

.apt-hero .apt-eyebrow { margin-bottom: 0.85rem; }

.apt-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.apt-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.apt-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 88px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.apt-stat-value {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.apt-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
}

.apt-main { padding: 0 0 5rem; }

.apt-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
  padding-top: 3rem;
}

.apt-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--brand-primary);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.apt-story,
.apt-highlights,
.apt-gallery-section,
.apt-amenities-section {
  margin-bottom: 3rem;
}

.apt-description {
  max-width: 44rem;
}

.apt-description p {
  margin: 0 0 1.15rem;
  color: var(--brand-muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.apt-description p:first-child {
  font-size: 1.12rem;
  color: var(--brand-ink);
}

.apt-highlights-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.apt-highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid rgba(10, 22, 28, 0.06);
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
  color: var(--brand-primary);
  font-weight: 500;
}

.apt-highlights-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--brand-accent);
}

.apt-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.apt-gallery-item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.apt-gallery-item.is-featured {
  grid-column: 1 / -1;
}

.apt-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.apt-gallery-item.is-featured img {
  aspect-ratio: 21/9;
  max-height: 440px;
}

.apt-gallery-item:hover img { transform: scale(1.03); }

.apt-amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.apt-amenity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid rgba(10, 22, 28, 0.06);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.apt-amenity .amenity-icon-wrap {
  margin: 0;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.apt-amenity .amenity-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.apt-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
}

.apt-booking-card {
  padding: 1.75rem 1.6rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(10, 22, 28, 0.06);
  box-shadow: var(--shadow);
}

.apt-booking-card .section-eyebrow {
  margin-bottom: 0.65rem;
}

.apt-booking-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--brand-primary);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.apt-booking-lead {
  margin: 0 0 1.25rem;
  color: var(--brand-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.apt-booking-perks {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.apt-booking-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--brand-muted);
  line-height: 1.45;
}

.apt-booking-perks li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: var(--brand-accent);
}

.apt-booking-card .btn { margin-bottom: 0.65rem; }
.apt-booking-card .btn:last-child { margin-bottom: 0; }

.apt-related {
  padding-top: 2rem;
  border-top: 1px solid rgba(10, 22, 28, 0.08);
  margin-top: 1rem;
}

.apt-related-title {
  margin-bottom: 1.75rem;
}

.apt-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.apt-related-card {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(10, 22, 28, 0.06);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.apt-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.apt-related-card img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  display: block;
}

.apt-related-name {
  display: block;
  padding: 1rem 1.1rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--brand-primary);
}

.page-apartment .site-header,
.page-guest .site-header {
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(10, 22, 28, 0.06);
}

.page-apartment .brand,
.page-apartment .site-nav a,
.page-guest .brand,
.page-guest .site-nav a {
  color: var(--brand-ink);
}

@media (min-width: 900px) {
  .page-apartment .apt-header-book { display: inline-flex; }
}

@media (max-width: 960px) {
  .apt-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .apt-sidebar { position: static; }

  .apt-amenities { grid-template-columns: 1fr; }

  .apt-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .apt-gallery { grid-template-columns: 1fr; }
  .apt-gallery-item.is-featured img { aspect-ratio: 16/10; max-height: none; }
}

/* Guest page — layout w guest-portal.css */

/* Responsive */
@media (max-width: 960px) {
  .about-grid,
  .experiences-grid,
  .booking-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-links {
    align-items: flex-start;
    text-align: left;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer-nav {
    padding-top: 0;
  }
}

@media (max-width: 900px) {
  .guest-zone-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 150;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(10, 22, 28, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    margin: 0;
    padding: calc(2rem + env(safe-area-inset-top, 0px)) 2rem 2rem;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    font-size: 1rem;
    color: #fff;
  }

  .btn-header-cta { display: none; }

  .book-form { grid-template-columns: 1fr; }

  .experiences-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .experiences-gallery img:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    aspect-ratio: 16/10;
  }

  .guest-zone-features {
    grid-template-columns: 1fr;
  }

  .guest-zone-promo-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .guest-zone-promo-actions {
    flex-direction: column;
  }

  .book-form {
    grid-template-columns: 1fr;
  }

  .book-field:not(.book-field--full),
  .book-field--guests {
    grid-column: 1 / -1;
  }

  .book-form input[type="number"] {
    max-width: none;
  }
}

/* Tryb Potencjału — podgląd po skromnym wsadzie */
.preview-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: var(--brand-dark);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: env(safe-area-inset-top, 0px);
}

.preview-banner-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex-shrink: 0;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 165, 116, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: var(--brand-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.preview-banner-toggle[hidden] {
  display: none !important;
}

body.is-preview-mode .site-header {
  top: calc(var(--preview-banner-h, 0px) + env(safe-area-inset-top, 0px));
}

.preview-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 0.85rem 0 1rem;
}

.preview-banner-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.preview-banner-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  max-width: 42rem;
}

.preview-banner-lead {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  max-width: 40rem;
}

.preview-banner-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  max-width: 28rem;
}

.preview-banner-checklist li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px dashed rgba(196, 165, 116, 0.55);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

body.is-preview-mode .hero.is-mood-media .hero-bg::after,
.is-mood-media.apt-card-media::after,
.about-frame.is-mood-media::after {
  content: "Mood";
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(10, 22, 28, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-accent);
  pointer-events: none;
}

body.is-preview-mode .hero.is-mood-media .hero-bg::after {
  top: auto;
  bottom: 1rem;
  right: 1rem;
}

.is-mood-media.apt-card-media,
.about-frame.is-mood-media {
  position: relative;
}

.is-mood-media.apt-card-media::after {
  top: auto;
  bottom: 0.65rem;
  right: 0.65rem;
}

/* Premium palette roles — tasteful accent usage, dark/light themes */
body.theme-dark {
  background: var(--brand-bg);
  color: var(--brand-text);
}

body.theme-dark .trust-strip {
  background: var(--brand-surface);
  border-bottom-color: var(--brand-border);
}

body.theme-dark .trust-chip {
  background: color-mix(in srgb, var(--brand-surface) 88%, var(--brand-accent) 12%);
  color: var(--brand-text);
  border-color: var(--brand-border);
}

body.theme-dark .section--paper,
body.theme-dark .section--warm,
body.theme-dark .section--contact,
body.theme-dark .faq-item {
  background: var(--brand-surface);
  color: var(--brand-text);
}

body.theme-dark .pricing-card {
  background: var(--brand-surface);
  border-color: var(--brand-border);
}

body.theme-dark .pricing-card-name {
  color: var(--brand-text);
}

body.theme-dark .section-title,
body.theme-dark .faq-question {
  color: var(--brand-text);
}

body.theme-dark .section-lead,
body.theme-dark .faq-answer p {
  color: var(--brand-muted);
}

body.theme-dark .hero-scrim {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.55) 100%),
    radial-gradient(ellipse 70% 55% at 75% 18%, color-mix(in srgb, var(--brand-accent) 18%, transparent), transparent 62%);
}

body.theme-light .section-title {
  color: var(--brand-primary);
}

/* Mobile & tablet — unified responsive pass */
@media (max-width: 991px) {
  .book-form {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
    padding: 1.1rem !important;
  }

  .book-field:not(.book-field--full),
  .book-field--guests {
    grid-column: 1 / -1 !important;
  }

  .booking-grid {
    gap: 1.25rem;
  }

  .booking-shell {
    padding: 1.35rem 1.2rem;
    max-width: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 58px;
    --page-gutter: clamp(1.25rem, 5.5vw, 1.75rem);
    --section-pad-y: clamp(3.25rem, 10vw, 4.75rem);
  }

  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
    height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  }

  .header-inner {
    height: var(--header-h);
    gap: 1rem;
  }

  .brand {
    font-size: 1rem;
    flex: 1;
    min-width: 0;
  }

  .brand-logo,
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .btn {
    min-height: 44px;
    padding: 0.625rem 1.15rem;
    font-size: 0.875rem;
    line-height: 1.25;
  }

  .btn-lg {
    padding: 0.65rem 1.2rem;
    font-size: 0.875rem;
  }

  .preview-banner-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.4rem 0.55rem;
    padding: 0.45rem 0 0.5rem;
  }

  .preview-banner-copy {
    flex: 1 1 12rem;
    min-width: 0;
  }

  .preview-banner-kicker {
    margin-bottom: 0.12rem;
    font-size: 0.56rem;
    letter-spacing: 0.14em;
  }

  .preview-banner-title {
    font-size: 0.74rem;
    line-height: 1.28;
    max-width: none;
  }

  .preview-banner.is-collapsed .preview-banner-inner {
    padding: 0.32rem 0 0.34rem;
    align-items: center;
  }

  .preview-banner.is-collapsed .preview-banner-copy {
    align-self: center;
  }

  .preview-banner.is-collapsed .preview-banner-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.72rem;
  }

  .preview-banner.is-collapsed .preview-banner-details {
    display: none;
  }

  .preview-banner-toggle:not([hidden]) {
    display: inline-flex;
  }

  .preview-banner-lead {
    font-size: 0.8rem;
    max-width: none;
    margin-top: 0.35rem;
    line-height: 1.5;
  }

  .preview-banner-checklist {
    flex: 1 1 100%;
    max-width: none;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.45rem;
    padding-bottom: 0.15rem;
    margin-inline: calc(-0.25 * var(--page-gutter));
    padding-inline: calc(0.25 * var(--page-gutter));
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }

  .preview-banner-checklist::-webkit-scrollbar {
    display: none;
  }

  .preview-banner-checklist li {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .hero {
    min-height: clamp(460px, 76svh, 640px);
    padding:
      calc(var(--header-h) + var(--preview-banner-h, 0px) + env(safe-area-inset-top, 0px) + 0.85rem)
      0
      2rem;
    align-items: flex-end;
  }

  .hero-inner {
    padding-top: 0;
    width: min(1180px, calc(100% - 2 * var(--page-gutter)));
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    margin-bottom: 0.85rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8.2vw, 2.55rem);
    margin-bottom: 1rem;
    line-height: 1.06;
  }

  .hero-subtitle {
    font-size: clamp(0.92rem, 3.8vw, 1rem);
    line-height: 1.5;
    margin-bottom: 1.1rem;
    max-width: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.55rem;
    align-items: stretch;
  }

  .hero-actions .btn,
  .hero-actions .btn.btn-lg {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0.7rem 0.75rem;
    font-size: 0.82rem;
    line-height: 1.2;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .hero-actions .btn-arrow {
    width: 0.95em;
    height: 0.95em;
  }

  .hero-scroll {
    display: none;
  }

  .hero-scrim {
    background:
      linear-gradient(to top, rgba(8, 14, 18, 0.92) 0%, rgba(8, 14, 18, 0.5) 42%, rgba(8, 14, 18, 0.32) 70%, rgba(8, 14, 18, 0.5) 100%);
  }

  body.theme-dark .hero-scrim {
    background:
      linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.55) 44%, rgba(0, 0, 0, 0.38) 70%, rgba(0, 0, 0, 0.55) 100%);
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .section-head--center .section-lead {
    padding-inline: 0.15rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 6.8vw, 2.25rem);
    line-height: 1.1;
    margin-bottom: 0.85rem;
  }

  .section-lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .section-eyebrow {
    font-size: 0.66rem;
    margin-bottom: 0.7rem;
  }

  .about-grid {
    gap: 2.25rem;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .about-frame.is-mesh {
    min-height: 300px;
    border-radius: calc(var(--radius) - 4px);
  }

  .apartment-grid,
  .apartment-grid--preview,
  .apartment-grid--featured {
    grid-template-columns: 1fr !important;
    max-width: none;
    gap: 1.35rem;
  }

  .apt-card {
    transform: none !important;
    transform-style: flat;
    border-radius: calc(var(--radius) - 2px);
  }

  .apt-card:hover {
    transform: translateY(-4px) !important;
  }

  .apt-card-body {
    padding: 1.4rem 1.3rem 1.55rem;
  }

  .apartment-grid--featured .apt-card-body {
    padding: 1.5rem 1.35rem 1.65rem;
  }

  .apartment-grid--featured .apt-card-title {
    font-size: clamp(1.55rem, 5.8vw, 2.05rem);
  }

  .apt-card-title {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .apt-card-desc {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .apartment-grid--preview .apt-card-desc,
  .apartment-grid--preview .apt-card-highlights {
    min-height: auto;
  }

  .apt-card-watermark {
    display: none;
  }

  .apt-card-ribbon {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.6rem;
  }

  .apartments-preview-note {
    font-size: 0.84rem;
    line-height: 1.55;
    padding: 0;
    margin-top: 1.5rem;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .amenity-card {
    padding: 1.35rem 1.25rem;
  }

  .trust-strip {
    padding: 1.15rem 0;
  }

  .trust-strip-inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.55rem;
    padding-bottom: 0.2rem;
    margin-inline: calc(-0.35 * var(--page-gutter));
    padding-inline: calc(0.35 * var(--page-gutter));
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }

  .trust-strip-inner::-webkit-scrollbar {
    display: none;
  }

  .trust-chip {
    flex-shrink: 0;
    font-size: 0.76rem;
    padding: 0.5rem 0.95rem;
  }

  .experiences-gallery {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .guest-zone-shell {
    padding: 1.5rem 1.35rem;
    border-radius: calc(var(--radius) - 2px);
  }

  .guest-zone-feature {
    padding: 1rem 0.95rem;
  }

  .reviews-marquee {
    margin-top: 1.75rem;
    margin-inline: calc(-0.5 * var(--page-gutter));
    padding-inline: calc(0.5 * var(--page-gutter));
  }

  .review-card {
    flex: 0 0 min(300px, calc(100vw - 2 * var(--page-gutter) - 1.5rem));
    padding: 1.65rem 1.45rem 1.45rem;
  }

  .review-quote {
    font-size: 1.12rem;
  }

  .faq-item {
    padding: 1.1rem 0;
  }

  #book.section {
    padding: clamp(3rem, 9vw, 4.25rem) 0;
  }

  .booking-shell {
    padding: 1.5rem 1.35rem;
    overflow: visible;
    max-width: 100%;
    border-radius: calc(var(--radius) - 2px);
  }

  .booking-grid {
    gap: 1.35rem;
  }

  .booking-lead {
    font-size: 0.95rem;
  }

  .book-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1.2rem !important;
    gap: 0.75rem !important;
    border-radius: 12px;
  }

  .book-form input,
  .book-form select,
  .book-form textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .contact-shell {
    padding: 1.65rem 1.4rem;
    border-radius: calc(var(--radius) - 2px);
  }

  .footer-top,
  .footer-bottom {
    gap: 1.25rem;
  }

  .footer-stayflow {
    width: 100%;
    justify-content: center;
  }

  .footer-nav {
    gap: 0.75rem 1.35rem;
  }
}

@media (max-width: 480px) {
  :root {
    --page-gutter: 1.25rem;
    --section-pad-y: clamp(2.75rem, 9vw, 4rem);
  }

  .hero {
    min-height: clamp(420px, 74svh, 580px);
    padding-bottom: 1.65rem;
  }

  .hero-title {
    font-size: clamp(1.7rem, 7.8vw, 2.2rem);
  }

  .hero-actions {
    gap: 0.5rem;
  }

  .hero-actions .btn,
  .hero-actions .btn.btn-lg {
    min-height: 46px;
    padding: 0.65rem 0.6rem;
    font-size: 0.8rem;
  }

  .preview-banner-checklist li {
    font-size: 0.68rem;
    padding: 0.32rem 0.6rem;
  }

  .footer-stayflow {
    flex-wrap: wrap;
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    gap: 0.55rem;
  }

  .footer-stayflow-logo {
    height: 18px;
  }
}

@media (max-width: 340px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .apartment-grid:not(.apartment-grid--preview):not(.apartment-grid--featured) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 11rem;
  }

  .preview-banner-inner {
    align-items: center;
  }

  .preview-banner-checklist {
    justify-content: flex-end;
    flex: 1 1 16rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero-bg,
  .apt-hero-bg,
  .about-image,
  .hero-scrim,
  .reviews-track,
  .page-loader-bar span,
  .trust-chip.is-entering,
  .booking-shell,
  .booking-shell::before,
  .scroll-progress,
  .btn-primary::before {
    animation: none !important;
    transition: none !important;
  }
  .reveal,
  .reveal.is-visible .section-eyebrow,
  .reveal.is-visible .section-title,
  .reveal.is-visible .section-lead,
  .reveal.is-visible .guest-zone-promo-lead,
  .reveal.is-visible .amenity-card,
  .reveal.is-visible .apt-card,
  .reveal.is-visible .review-card,
  .reveal.is-visible .guest-zone-features li,
  .reveal.is-visible .booking-shell,
  .reveal.is-visible .contact-shell {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  .apt-card {
    transform: none !important;
  }
  .apt-card:hover {
    transform: translateY(-4px) !important;
  }
}

/* Booking calendar widget */
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  width: 100%;
  align-items: start;
}

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

.jh-cal {
  background: var(--color-cream, #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;
}

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

.jh-cal-nav {
  border: 1px solid rgba(12, 12, 12, 0.12);
  background: #fff;
  border-radius: 8px;
  width: 2.25rem;
  height: 2.25rem;
  cursor: pointer;
}

.jh-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.jh-cal-head {
  font-size: 0.7rem;
  text-align: center;
  color: rgba(12, 12, 12, 0.55);
  font-weight: 600;
}

.jh-cal-day {
  aspect-ratio: 1;
  border: none;
  border-radius: 8px;
  background: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.jh-cal-day.is-blocked,
.jh-cal-day.is-past,
.jh-cal-day[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.jh-cal-day.is-selected,
.jh-cal-day.is-arrival,
.jh-cal-day.is-departure {
  background: var(--color-accent, #c9a962);
  color: #fff;
}

.jh-cal-day.is-range,
.jh-cal-day.in-range {
  background: rgba(201, 169, 98, 0.25);
}

.jh-cal-hint {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: rgba(12, 12, 12, 0.6);
}

.apt-book-section {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.apt-book-section .booking-grid {
  grid-template-columns: 1fr;
}

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

/* --- Promocje (sekcja ofert czasowych, sterowana przez WhatsApp) --- */
.promotions .promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.promotion-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: inherit;
}
.promotion-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--accent, #c4a574);
  color: #12233b;
  margin-bottom: 0.75rem;
}
.promotion-card-title { margin: 0 0 0.4rem; font-size: 1.15rem; }
.promotion-card-body { margin: 0 0 0.5rem; opacity: 0.9; }
.promotion-card-dates { font-size: 0.85rem; opacity: 0.75; margin: 0; }

/* --- Wycieczki jako karty (sekcja #experiences) --- */
.experiences-gallery--list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.experience-card {
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.experience-card-name { margin: 0 0 0.35rem; font-size: 1.05rem; }
.experience-card-price { margin: 0 0 0.4rem; font-weight: 700; color: var(--accent, #c4a574); }
.experience-card-desc { margin: 0; font-size: 0.9rem; opacity: 0.8; }

/* --- Wideo YouTube (#video) --- */
.video-section {
  background: linear-gradient(165deg, var(--ink, #0c0c0c) 0%, color-mix(in srgb, var(--primary, #1a3d4d) 72%, #000) 100%);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.video-stage {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: 960px;
  margin-inline: auto;
}
.video-card {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up 0.7s ease forwards;
  animation-delay: var(--stagger, 0s);
}
.video-card.is-featured .video-frame {
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 8px color-mix(in srgb, var(--accent, #c4a574) 18%, transparent);
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  margin: 0.85rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.hero-video-cta {
  border-color: rgba(255, 255, 255, 0.35);
}

/* --- Galeria sektorowa (#gallery) --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
}
.gallery-item {
  grid-column: span 4;
  border-radius: 16px;
  overflow: hidden;
  margin: 0;
  background: rgba(0, 0, 0, 0.04);
}
.gallery-item.is-featured {
  grid-column: span 8;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.apt-card-badge--price {
  background: var(--accent, #c4a574);
  color: #12233b;
  font-weight: 700;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .gallery-item,
  .gallery-item.is-featured {
    grid-column: span 12;
    grid-row: span 1;
  }
}

/* Hero layout variants (brand.layout.hero_variant via BotFlow) */
body.hero-variant-centered .hero {
  align-items: center;
  justify-content: center;
  text-align: center;
}
body.hero-variant-centered .hero-inner {
  margin-inline: auto;
  max-width: 920px;
}
body.hero-variant-centered .hero-actions {
  justify-content: center;
}

body.hero-variant-minimal .hero {
  min-height: 62svh;
  align-items: center;
  padding-bottom: 3rem;
}
body.hero-variant-minimal .hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
}

body.hero-variant-split .hero {
  align-items: center;
}
body.hero-variant-split .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: end;
  max-width: 1180px;
}
@media (max-width: 900px) {
  body.hero-variant-split .hero-inner {
    grid-template-columns: 1fr;
  }
}
