:root {
  --cream: #fbfaf6;
  --warm: #f3eee6;
  --paper: #fffdf9;
  --ink: #151515;
  --soft-ink: #34302b;
  --muted: #6f6a62;
  --gold: #b48842;
  --olive: #817f42;
  --olive-dark: #66672f;
  --line: rgba(38, 34, 28, .14);
  --dark: #1d1d1b;
  --dark-2: #11110f;
  --shadow: 0 18px 45px rgba(45, 37, 26, .11);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Inter, system-ui, sans-serif;
  --header: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: calc(var(--header) + 18px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.45;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

a {
  color: inherit;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  min-height: var(--header);
  display: grid;
  grid-template-columns: 290px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 26px clamp(28px, 4vw, 70px);
}

.brand-mark,
.footer-brand {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(40px, 3.2vw, 58px);
  font-weight: 500;
  letter-spacing: .11em;
  line-height: .8;
  text-decoration: none;
}

.brand-mark span,
.footer-brand span {
  color: var(--gold);
  margin-left: .02em;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(22px, 2.5vw, 44px);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.main-nav a,
.header-actions a,
.bottom-contact a,
.blog-strip a {
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  font-weight: 700;
}

.handle {
  margin-right: 10px;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.reserve-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-left: 16px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  box-shadow: 0 8px 24px rgba(82, 79, 37, .22);
}

.reserve-pill svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 255, 255, .45);
  color: var(--ink);
  font-size: 0;
  padding: 0;
}

.menu-toggle::before {
  content: none;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--warm);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(.92) sepia(.08) brightness(1.03) contrast(.98);
}

.hero-veils {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .92) 27%, rgba(255, 255, 255, .57) 48%, rgba(255, 255, 255, .06) 76%),
    linear-gradient(180deg, rgba(255, 255, 255, .82) 0%, transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 138px 0 48px clamp(34px, 5vw, 86px);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(68px, 7.1vw, 126px);
  font-weight: 600;
  line-height: .86;
  letter-spacing: -.025em;
}

.hero-subtitle {
  margin: 22px 0 0;
  color: var(--gold);
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 500;
}

.hero-tagline {
  margin: 10px 0 26px;
  color: var(--soft-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.gold-line {
  width: 82px;
  height: 2px;
  margin: 30px 0 24px;
  background: var(--gold);
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  max-width: 650px;
  margin: 0 0 36px;
}

.hero-benefits article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--soft-ink);
  font-size: 13px;
  line-height: 1.35;
}

.hero-benefits svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.hero-buttons {
  display: flex;
  gap: 26px;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 220px;
  min-height: 56px;
  border-radius: 6px;
  padding: 0 26px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.btn-primary {
  background: var(--olive);
  color: #fff;
}

.btn-outline {
  border: 1px solid rgba(180, 136, 66, .7);
  background: rgba(255, 255, 255, .42);
  color: var(--soft-ink);
}

.btn svg {
  width: 21px;
  height: 21px;
}

.hero-locations {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 500;
}

.hero-locations svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
}

.hero-locations span {
  color: var(--gold);
}

.assurance-bar {
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 1.35fr 2.55fr;
  background: linear-gradient(90deg, #20201e, #171715);
  color: rgba(255, 255, 255, .84);
}

.assurance-bar article {
  min-height: 96px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px clamp(24px, 4vw, 70px);
  border-right: 1px solid rgba(255, 255, 255, .17);
}

.assurance-bar svg {
  width: 36px;
  height: 36px;
  color: #c2a66c;
}

.assurance-bar span {
  font-size: 15px;
  line-height: 1.35;
}

.assurance-cta {
  grid-template-columns: 44px 1fr auto !important;
}

.assurance-cta a {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  min-width: 240px;
  min-height: 56px;
  justify-content: center;
  border-radius: 6px;
  background: var(--olive);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.assurance-cta a span {
  font-size: 25px;
}

.services {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(340px, .95fr);
  gap: 28px;
  padding: 18px clamp(20px, 3.5vw, 62px) 26px;
  background: var(--cream);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 430px;
  padding: 16px 16px 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.43;
  object-fit: cover;
  border-radius: 96px 96px 0 0;
  filter: sepia(.16) saturate(.82) contrast(.96) brightness(1.04);
}

.service-card h2 {
  margin: 16px 8px 6px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
}

.service-card p {
  min-height: 112px;
  margin: 0 8px 18px;
  color: var(--soft-ink);
  font-size: 13px;
  line-height: 1.45;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(180, 136, 66, .42);
  font-size: 14px;
}

.service-meta span {
  color: var(--soft-ink);
}

.service-meta span::before {
  content: "◷ ";
  color: var(--gold);
}

.service-meta strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.comfort-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 54px 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(242, 236, 227, .82));
  box-shadow: var(--shadow);
}

.mini-label {
  display: block;
  margin-bottom: 16px;
  color: var(--soft-ink);
  font-size: 15px;
}

.comfort-card h2,
.section-grid h2,
.owner-section h2,
.pricing-panel h2,
.blog-strip h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 3.2vw, 48px);
  font-weight: 600;
  line-height: 1.02;
}

.comfort-card .gold-line {
  margin: 24px 0 26px;
}

.comfort-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--soft-ink);
  font-size: 14px;
}

.comfort-card li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--olive);
  font-size: 11px;
}

.leaf-line {
  position: absolute;
  right: 18px;
  bottom: -2px;
  width: 210px;
  height: 250px;
  color: rgba(180, 136, 66, .36);
  stroke-width: 1.5;
}

.section-grid,
.pricing-panel,
.blog-strip {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 70px clamp(28px, 5vw, 78px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.section-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-grid p,
.rich-copy p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.rich-copy {
  display: grid;
  gap: 18px;
}

.mini-grid,
.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.mini-grid article,
.blog-cards article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
}

.mini-grid strong,
.blog-cards strong,
.blog-cards h3 {
  display: block;
  margin: 0 0 8px;
  color: var(--soft-ink);
  font-size: 15px;
}

.mini-grid span,
.blog-cards span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.owner-section {
  display: grid;
  grid-template-columns: minmax(260px, .62fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 78px clamp(28px, 5vw, 78px);
  background:
    linear-gradient(90deg, rgba(246, 240, 231, .92), rgba(255, 255, 255, .76)),
    var(--warm);
  border-top: 1px solid var(--line);
}

.owner-photo {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 10px 10px 110px 110px;
  background: #eee3d4;
  box-shadow: var(--shadow);
}

.owner-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
  filter: sepia(.12) saturate(.88) brightness(1.03) contrast(.96);
}

.owner-copy {
  display: grid;
  gap: 18px;
}

.owner-copy p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.owner-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.owner-points article {
  padding: 20px;
  border: 1px solid rgba(180, 136, 66, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.owner-points strong {
  display: block;
  margin-bottom: 8px;
  color: var(--soft-ink);
  font-size: 15px;
}

.owner-points span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.pricing-panel {
  background: #f6f0e7;
}

.price-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.price-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-list span {
  font-weight: 700;
}

.price-list strong {
  white-space: nowrap;
  color: var(--olive-dark);
}

.blog-strip {
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.1fr) auto;
  align-items: center;
  background: var(--cream);
}

.blog-strip .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.blog-cards {
  margin-top: 0;
}

.blog-strip a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--olive);
  color: #fff;
  font-weight: 700;
}

.bottom-contact {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto auto auto auto;
  gap: 0;
  align-items: center;
  margin: 0 18px 18px;
  min-height: 82px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(250, 246, 238, .96);
  box-shadow: 0 18px 50px rgba(45, 37, 26, .1);
}

.bottom-contact > * {
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  border-right: 1px solid rgba(180, 136, 66, .2);
}

.bottom-contact > *:last-child {
  border-right: 0;
}

.footer-brand {
  font-size: 20px;
  letter-spacing: .08em;
}

.bottom-contact p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 14px;
  white-space: nowrap;
}

.bottom-contact a,
.bottom-contact span {
  gap: 12px;
  color: var(--soft-ink);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.bottom-contact svg {
  width: 19px;
  height: 19px;
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  padding: 0;
  border-right: 0;
  font-size: 17px;
  font-weight: 900;
}

@media (max-width: 1320px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 20px;
  }

  .main-nav {
    gap: 22px;
  }

  .handle {
    display: none;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .comfort-card {
    min-height: 260px;
  }

  .bottom-contact {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1020px) {
  .site-header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(18px);
    padding: 14px 18px;
  }

  .brand-mark {
    font-size: 38px;
  }

  .menu-toggle {
    position: relative;
    z-index: 40;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    margin-left: auto;
    background: rgba(136, 137, 64, .96);
    border-color: rgba(136, 137, 64, .96);
    color: #fff;
    box-shadow: 0 10px 24px rgba(40, 39, 24, .16);
  }

  .main-nav {
    position: fixed;
    top: var(--header);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    position: relative;
    height: 360px;
    object-position: 84% center;
  }

  .hero-veils {
    background: linear-gradient(180deg, transparent, var(--cream) 76%);
  }

  .hero-content {
    padding: 22px 20px 42px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(44px, 12vw, 62px);
    line-height: .92;
  }

  .hero-benefits,
  .assurance-bar,
  .service-cards,
  .section-grid,
  .owner-section,
  .pricing-panel,
  .blog-strip {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .assurance-bar article,
  .assurance-cta {
    grid-template-columns: 42px 1fr !important;
    min-height: 78px;
  }

  .assurance-cta a {
    grid-column: 1 / -1;
    width: 100%;
  }

  .services {
    padding: 16px 16px 24px;
  }

  .service-card img {
    border-radius: 110px 110px 0 0;
  }

  .price-list {
    grid-template-columns: 1fr;
  }

  .mini-grid,
  .owner-points,
  .blog-cards {
    grid-template-columns: 1fr;
  }

  .owner-section {
    padding: 54px 20px;
  }

  .owner-photo {
    min-height: 420px;
    border-radius: 10px 10px 86px 86px;
  }

  .owner-photo img {
    min-height: 420px;
  }

  .blog-strip a {
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --header: 72px;
  }

  .brand-mark {
    font-size: 32px;
  }

  .menu-toggle {
    position: fixed;
    top: 13px;
    left: calc(min(100vw, 390px) - 64px);
    margin-left: 0;
  }

  .hero-image {
    height: 350px;
    object-position: 92% center;
  }

  .hero-subtitle {
    max-width: 330px;
    font-size: 22px;
    line-height: 1.22;
  }

  .hero-tagline {
    margin-bottom: 22px;
    font-size: 15px;
  }

  .gold-line {
    margin: 22px 0;
  }

  .hero-benefits {
    gap: 16px;
  }

  .hero-benefits article {
    grid-template-columns: 34px 1fr;
  }

  .assurance-bar article {
    padding: 18px 20px;
  }

  .comfort-card {
    padding: 34px 24px;
  }

  .owner-copy p {
    font-size: 17px;
  }

  .owner-photo,
  .owner-photo img {
    min-height: 380px;
  }

  .leaf-line {
    opacity: .55;
  }

  .section-grid,
  .pricing-panel,
  .blog-strip {
    padding: 54px 20px;
  }

  .bottom-contact {
    grid-template-columns: 1fr;
    margin: 0;
    border-radius: 0;
  }

  .bottom-contact > * {
    min-height: 62px;
    justify-content: center;
    border-right: 0;
    border-bottom: 1px solid rgba(180, 136, 66, .2);
    white-space: normal;
    text-align: center;
  }
}

/* Poprawki techniczne: stabilne tło, menu mobilne, nagłówek i dostępność */
.hero {
  background: var(--warm) url("../img/hero-bg.jpg") center right / cover no-repeat;
}

.hero-picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-picture .hero-image {
  width: 100%;
  height: 100%;
}

.site-header.is-scrolled,
.site-header.is-open {
  position: fixed;
  background: rgba(255, 253, 249, .94);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(45, 37, 26, .10);
}

main > section:first-child:not(.hero) {
  padding-top: calc(var(--header) + 70px);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(180, 136, 66, .75);
  outline-offset: 4px;
}

@media (max-width: 1020px) {
  .hero-picture {
    position: relative;
    height: 360px;
  }

  .hero-picture .hero-image {
    position: static;
    height: 100%;
    object-position: 84% center;
  }
}

@media (max-width: 640px) {
  .menu-toggle {
    right: 18px;
    left: auto;
  }

  .hero-picture {
    height: 350px;
  }

  .hero-picture .hero-image {
    object-position: 92% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* SEO content blocks: readable, semantic supporting content */
.seo-copy {
  align-items: start;
}

.seo-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.seo-topic-grid article {
  padding: 22px;
  background: rgba(255, 255, 255, .64);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.seo-topic-grid h3,
.blog-cards h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 23px;
  line-height: 1.15;
  font-weight: 600;
}

.seo-topic-grid p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 14px;
  line-height: 1.65;
}

.seo-links {
  margin-top: 22px;
}

.seo-links a {
  color: var(--olive-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.blog-cards h3 {
  font-size: 21px;
}

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


picture:not(.hero-picture) {
  display: block;
  width: 100%;
}

.error-page {
  min-height: 58vh;
  align-items: center;
}

/* Spójny system typografii nagłówków na wszystkich podstronach */
main h1,
main h2,
main h3 {
  font-family: var(--serif);
}

.section-grid h1,
.pricing-panel h1,
.owner-section h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.015em;
}

@media (max-width: 640px) {
  .section-grid h1,
  .pricing-panel h1,
  .owner-section h1 {
    font-size: clamp(38px, 11vw, 50px);
    line-height: 1.04;
  }
}
