:root {
  --bg: #fffaf7;
  --surface: #ffffff;
  --text: #2d2a28;
  --muted: #6f655f;
  --accent: #b67a5b;
  --accent-dark: #8f5c3e;
  --border: rgba(45, 42, 40, 0.12);
  --shadow: 0 18px 40px rgba(45, 42, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

body:not(.loaded) > * {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

body.loaded > * {
  opacity: 1;
  transform: translateY(0);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(17, 13, 10, 0.86) 0%, rgba(17, 13, 10, 0.4) 100%),
    url('https://cieszsiezyciem.com.pl/wp-content/uploads/2021/08/lotus-spa-template-services-offer-cta-img-bg-1024x320.jpg') center/cover;
  color: white;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  position: relative;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: inherit;
}

/* Ensure nav links are visible on dark hero headers */
.hero .nav-links a {
  color: rgba(255,255,255,0.95);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.3rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
}

.hero-content {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding-bottom: 3rem;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.hero .eyebrow {
  color: #f3d6b9;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.4rem, 4.5vw, 4.3rem);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.8rem;
}

.button {
  display: inline-block;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  background: var(--accent-dark);
}

/* Secondary button for external links like Booksy */
.button.secondary {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid rgba(142, 92, 62, 0.12);
}
.button.secondary:hover {
  background: rgba(142, 92, 62, 0.06);
}

.section {
  padding: 5rem 0;
}

.subpage-hero {
  min-height: 70vh;
  background:
    linear-gradient(90deg, rgba(17, 13, 10, 0.86) 0%, rgba(17, 13, 10, 0.4) 100%),
    url('https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=1400&q=80') center/cover;
}

.grid {
  display: grid;
  gap: 2rem;
}

.two-col {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.info-card,
.card,
.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.info-card {
  padding: 2rem;
}

.info-card ul {
  padding-left: 1rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  padding: 2rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.category-card {
  display: block;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
  color: var(--text);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(45, 42, 40, 0.12);
}

.service-stack {
  display: grid;
  gap: 1rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.4rem;
  font-weight: 600;
}

.service-card summary::-webkit-details-marker {
  display: none;
}

.service-card .service-body {
  padding: 0 1.4rem 1.4rem;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-grid article {
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
}

.service-grid h4 {
  margin: 0 0 0.4rem;
  color: var(--text);
}

.price-badge {
  display: inline-block;
  border-radius: 999px;
  background: rgba(182, 122, 91, 0.12);
  color: var(--accent-dark);
  padding: 0.35rem 0.7rem;
  font-size: 0.9rem;
}

.price-list {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.doc-card ul {
  padding-left: 1rem;
  color: var(--muted);
}

.doc-card img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 0.75rem;
  margin-top: 0.8rem;
  background: #f7f2ec;
}

.doc-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--accent-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-card,
.map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.8rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}

.contact-list strong {
  color: var(--text);
}

.map-card iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 0.85rem;
  margin-top: 0.8rem;
}

.cta {
  padding-top: 0;
}

.cta-box {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer {
  background: #231f1c;
  color: rgba(255,255,255,0.9);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .two-col,
  .card-grid,
  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .doc-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(35, 31, 28, 0.95);
    padding: 1rem 1.2rem;
    border-radius: 0.9rem;
    display: none;
    min-width: 180px;
  }

  .nav-links.open {
    display: flex;
  }
}
