:root {
  --bg: #f7f4ef;
  --bg-soft: #efe9df;
  --text: #1d1a17;
  --muted: #6f665d;
  --line: rgba(29, 26, 23, 0.12);
  --white: #ffffff;
  --dark: #1e1a16;
  --accent: #b08a5b;
  --accent-dark: #8d6d47;
  --shadow: 0 20px 60px rgba(20, 18, 15, 0.08);
  --shadow-soft: 0 15px 40px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.12);
  --radius: 24px;
  --radius-md: 14px;
  --radius-sm: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 239, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.6rem;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background-image: url("assets/salon.jpg");
  background-size: cover;
  background-position: center;
}

.hero-home {
  background-image:
    linear-gradient(180deg, rgba(15, 15, 15, 0.16), rgba(15, 15, 15, 0.62)),
    radial-gradient(circle at top left, rgba(176, 138, 91, 0.35), transparent 32%),
    url("assets/salon.jpg");
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 18, 18, 0.45), transparent 40%);
  z-index: 1;
}

.hero * {
  position: relative;
  z-index: 2;
}

.hero-content {
  color: var(--white);
  padding: 130px 0 84px;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.02;
  font-weight: 700;
}

h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 6rem);
}

h2 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.8rem;
}

.lead {
  max-width: 780px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.9);
}

.page-hero {
  padding: 90px 0 20px;
}

.page-hero.compact {
  padding-bottom: 0;
}

.page-hero .lead {
  color: var(--muted);
}

.narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.center {
  text-align: center;
}

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

.section {
  padding: 84px 0;
}

.soft-bg {
  background: var(--bg-soft);
}
.stats-gridhome {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 38px 0 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 38px 0 0;
}

.large-stats {
  margin-bottom: 24px;
}

.stat-card {
  padding: 22px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(5px);
}

.soft-bg .stat-card,
.section .stat-card {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero .stat-card {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.stat-card span {
  display: block;
  margin-bottom: 4px;
  font-size: 1.6rem;
  font-weight: 700;
}

.stat-card small {
  color: inherit;
  opacity: 0.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.light-btn {
  background: var(--white);
  color: var(--dark);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.split-large {
  grid-template-columns: 1fr 1fr;
}

.info-panel,
.feature-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-panel {
  padding: 28px;
}

.info-row {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row strong {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.feature-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  padding: 28px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.clean-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.dark-strip {
  background: var(--dark);
  color: var(--white);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-panel h2 {
  max-width: 780px;
}

.anchored {
  scroll-margin-top: 92px;
}

.map-panel h3 {
  margin-bottom: 8px;
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
}

.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-card {
  margin-top: 40px;
  padding: 40px 50px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-label {
  font-weight: 600;
  color: #444;
}

.contact-value {
  text-align: right;
  color: #222;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-wrap p {
  margin: 4px 0 0;
  color: var(--muted);
}

.footer-wrap nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
}

.details-section {
  padding: 80px 10%;
  text-align: center;
}

.details-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.detail-card {
  overflow: hidden;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-5px);
}

.detail-card img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

.detail-card h3 {
  margin: 20px 0 10px;
  font-size: 22px;
}

.detail-card p {
  padding: 0 20px 25px;
  color: #555;
}

.parter-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.parter-section > * {
  min-width: 0;
}

.parter-text,
.pietro-text,
.poddasze-text,
.podziemie-text,
.standard-text {
  max-width: 700px;
}

.parter-text {
  text-align: center;
  margin-bottom: 50px;
}

.parter-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 420px;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-padding-inline: 2px;
  scroll-snap-type: x proximity;
}

.parter-gallery::-webkit-scrollbar {
  display: none;
}

.parter-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.slider-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.slider-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(29, 26, 23, 0.18);
  appearance: none;
  cursor: pointer;
}

.slider-dots button.active {
  width: 22px;
  background: rgba(29, 26, 23, 0.58);
}

.slider-controls {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.slider-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.slider-arrow:hover {
  transform: translateY(-1px);
  background: var(--bg-soft);
}

.slider-arrow:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.ogrod-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 60px;
  align-items: center;
}

.ogrod-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ogrod-gallery img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.standard-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.standard-intro {
  margin: 20px 0;
  color: #555;
}

.standard-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
}

.standard-image.big img {
  width: 100%;
  max-width: 600px;
  height: 700px;
  margin: 0 auto;
}

.tech-toggle {
  margin-top: 16px;
  padding: 12px 18px;
  border: 1px solid #d7c9ae;
  border-radius: 999px;
  background: var(--white);
  color: #2d251c;
  cursor: pointer;
  transition: background 0.25s ease;
}

.tech-toggle:hover {
  background: #f7f3eb;
}

.tech-specs {
  margin-top: 18px;
  padding: 22px 24px;
  background: #fbfaf7;
  border: 1px solid #ece3d2;
  border-radius: var(--radius-md);
}

.tech-list li {
  margin-bottom: 10px;
}

.podziemie-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.podziemie-images {
  display: grid;
  grid-template-columns: 2fr 2fr;
  grid-auto-rows: 30vh;
  gap: 20px;
}

.podziemie-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.podziemie-img.large {
  grid-row: span 2;
}

@media (max-width: 980px) {
  .stats-grid,
  .feature-grid.three-col,
  .feature-grid.two-col,
  .details-gallery,
  .split,
  .ogrod-layout,
  .podziemie-layout,
  .standard-layout {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .reverse-mobile > :first-child {
    order: 2;
  }

  .reverse-mobile > :last-child {
    order: 1;
  }

  .detail-card img,
  .standard-image.big img,
  .ogrod-gallery img {
    height: auto;
  }

  .parter-gallery {
    grid-auto-columns: min(85vw, 420px);
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-content {
    padding-top: 110px;
  }

  .section {
    padding: 68px 0;
  }

  .info-panel,
  .feature-card,
  .contact-card {
    padding: 24px;
  }

  .contact-row {
    flex-direction: column;
    gap: 8px;
  }

  .contact-value {
    text-align: left;
  }

  .details-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .details-gallery,
  .ogrod-gallery,
  .podziemie-images {
    grid-template-columns: 1fr;
  }

  .podziemie-img.large {
    grid-row: auto;
  }

  .parter-gallery {
    grid-auto-columns: 82vw;
    gap: 14px;
    padding-inline: 2px;
    scroll-snap-type: x mandatory;
    mask-image: linear-gradient(to right, transparent 0, black 10px, black calc(100% - 10px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 10px, black calc(100% - 10px), transparent 100%);
  }

  .parter-gallery img {
    aspect-ratio: 4 / 5;
  }

  .slider-controls {
    display: flex;
  }

  .slider-dots {
    display: flex;
  }
}

@media (min-width: 769px) {
  .parter-gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 22px;
    max-width: 980px;
    margin: 32px auto 0;
  }

  .parter-gallery::-webkit-scrollbar {
    display: none;
  }

  .parter-gallery img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    display: block;
    scroll-snap-align: start;
    border-radius: 22px;
    flex-shrink: 0;
  }

  .parter-section,
  #poddasze .container {
    position: relative;
  }

  .slider-controls.desktop-only {
    display: block;
  }

  .slider-btn {
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.72);
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  }

  .slider-btn:hover {
    background: rgba(20, 20, 20, 0.9);
    transform: translateY(-50%) scale(1.04);
  }

  .slider-btn.prev {
    left: 24px;
  }

  .slider-btn.next {
    right: 24px;
  }

  .slider-btn.is-disabled {
    opacity: 0.35;
    pointer-events: none;
  }
}

@media (max-width: 768px) {
  .slider-controls.desktop-only {
    display: none !important;
  }
}