/* ============================================================
   Relax for Body & Soul — massage studio (Szczecin)
   Palette: warm sand, sage, soft cream
   ============================================================ */
:root {
  --sand: #8a7a63;
  --sand-dark: #6f6151;
  --sage: #9caf97;
  --sage-dark: #7c9078;
  --cream: #f7f3ec;
  --cream-2: #efe8dc;
  --ink: #2f2a24;
  --muted: #7a7267;
  --white: #fffdfa;
  --shadow: 0 18px 50px -20px rgba(60, 50, 35, .35);
  --radius: 18px;
  --maxw: 1160px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; letter-spacing: .2px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--sand-dark); }
h3 { font-size: 1.45rem; }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  color: var(--sage-dark);
  margin-bottom: 10px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 30px; border-radius: 999px;
  font-family: var(--font-sans); font-size: .82rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent; transition: .25s ease;
}
.btn-primary { background: var(--sand); color: #fff; }
.btn-primary:hover { background: var(--sand-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 243, 236, .9);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(60,50,35,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { font-size: 1.7rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-size: 1.32rem; color: var(--sand-dark); font-weight: 600; }
.brand-sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; gap: 28px; }
.nav a { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--sand); transition: width .25s; }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; border: 1px solid var(--cream-2); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  border: none; background: transparent; padding: 7px 12px; cursor: pointer;
  font-family: var(--font-sans); font-size: .74rem; letter-spacing: .1em; color: var(--muted);
}
.lang-switch button.active { background: var(--sand); color: #fff; }
.icon-link { color: var(--sand-dark); display: inline-flex; transition: color .2s, transform .2s; }
.icon-link:hover { color: var(--sand); transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: center;
  background: linear-gradient(120deg, #efe7d9 0%, #e4ddcf 40%, #cdd6c6 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 82% 22%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(50% 60% at 12% 90%, rgba(156,175,151,.45), transparent 60%);
}
.hero::after {
  content: "🌿"; position: absolute; right: 6%; bottom: 8%; z-index: 1;
  font-size: 15rem; opacity: .07; transform: rotate(-12deg); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; padding: 90px 24px; color: #4a4033; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .35em; font-size: .8rem; margin-bottom: 20px; color: var(--sage-dark); }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 22px; color: #443c30; }
.hero-lead { font-size: 1.2rem; max-width: 560px; margin-bottom: 34px; color: #5a5343; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-buttons .btn-ghost { border-color: var(--sand-dark); color: var(--sand-dark); }
.hero-buttons .btn-ghost:hover { background: rgba(138,122,99,.12); }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 46px; font-size: .95rem; color: #524c3d; }
.hero-badges em { font-style: normal; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .eyebrow { display: block; }
.section-intro { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.center { text-align: center; margin-top: 40px; }

/* ---------- about ---------- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-media {
  min-height: 520px; border-radius: var(--radius); box-shadow: var(--shadow);
  background: #cdbfa9 url("../img/about-portrait.jpg") center 28%/cover no-repeat;
}
.about-body p { color: var(--muted); margin-bottom: 16px; font-size: 1.05rem; }
.about-body h2 { margin-bottom: 18px; }
.about-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.about-list li { position: relative; padding-left: 30px; color: var(--ink); }
.about-list li::before { content: "✓"; position: absolute; left: 0; color: var(--sage-dark); font-weight: 600; }

/* ---------- cards / services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative;
  background: var(--white); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: 0 12px 40px -26px rgba(60,50,35,.5);
  border: 1px solid rgba(138,122,99,.08);
  transition: transform .25s, box-shadow .25s;
}
.svc-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--sage); color: #fff; font-size: .64rem; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-icon { font-size: 2.2rem; margin-bottom: 14px; }
.svc-card h3 { color: var(--sand-dark); margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: .98rem; margin-bottom: 22px; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--cream-2); }
.svc-price { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); }
.svc-link { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-dark); }
.svc-link:hover { color: var(--sand); }

/* ---------- pricing ---------- */
.pricing { background: var(--cream-2); }
.price-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 50px; max-width: 940px; margin: 0 auto; }
.price-item { padding: 18px 0; border-bottom: 1px dashed rgba(138,122,99,.3); }
.price-name { font-family: var(--font-serif); font-size: 1.35rem; color: var(--sand-dark); display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.pi-icon { font-size: 1.1rem; }
.price-rows { display: grid; gap: 4px; }
.price-row { display: flex; align-items: baseline; gap: 8px; color: var(--muted); }
.pr-dur { font-size: .95rem; }
.pr-dots { flex: 1; border-bottom: 1px dotted rgba(122,114,103,.5); transform: translateY(-3px); }
.pr-amt { font-weight: 400; color: var(--ink); }
.price-note { text-align: center; color: var(--muted); font-size: .86rem; margin-top: 34px; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; gap: 16px; }
.gallery-item { border-radius: 14px; background-size: cover; background-position: center; box-shadow: 0 12px 36px -24px rgba(60,50,35,.6); transition: transform .3s; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-grid:not(.has-photos) .gallery-item { position: relative; overflow: hidden; }
.g1 { background: linear-gradient(135deg, #d7c9b3, #b0a086); }
.g2 { background: linear-gradient(135deg, #b7c4b0, #8fa389); }
.g3 { background: linear-gradient(135deg, #e3d8c6, #c7b79d); }
.g4 { background: linear-gradient(135deg, #c2b39a, #9caf97); }
.g5 { background: linear-gradient(135deg, #cdd5c5, #a9b8a2); }
.g6 { background: linear-gradient(135deg, #ddd0bd, #c0ac90); }
.gallery-grid:not(.has-photos) .gallery-item::after {
  content: "🌿"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 2.4rem; opacity: .3;
}

/* ---------- blog ---------- */
.blog { background: var(--cream); }
.blog-grid { align-items: stretch; }
.blog-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.blog-thumb { height: 180px; background-size: cover; background-position: center; position: relative; }
.blog-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.28)); }
.blog-ic { position: absolute; left: 16px; bottom: 12px; z-index: 2; font-size: 1.6rem; }
.blog-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-date { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 8px; }
.blog-card h3 { color: var(--sand-dark); margin-bottom: 10px; line-height: 1.2; }
.blog-card p { color: var(--muted); font-size: .96rem; margin-bottom: 16px; flex: 1; }
.blog-more { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); }
.blog-card:hover .blog-more { color: var(--sand-dark); }

/* ---------- reviews ---------- */
.reviews { background: var(--white); }
.review-card { text-align: center; }
.stars { color: #d8a94b; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-family: var(--font-serif); font-size: 1.2rem; color: var(--ink); font-style: italic; margin-bottom: 18px; line-height: 1.5; }
.review-meta { display: flex; flex-direction: column; gap: 3px; }
.review-author { color: var(--ink); font-size: .95rem; letter-spacing: .06em; font-weight: 400; }
.review-svc { color: var(--sage-dark); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- contact ---------- */
.contact { background: linear-gradient(160deg, #efe8dc, #e2ddd0); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; margin: 22px 0 30px; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { font-size: 1.3rem; line-height: 1.3; }
.contact-list a { color: var(--sand-dark); border-bottom: 1px solid transparent; }
.contact-list a:hover { border-color: var(--sand-dark); }
.map-link { font-size: .85rem; }
.contact-side { display: grid; gap: 24px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 280px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow); text-align: center; }
.contact-card h3 { color: var(--sand-dark); margin-bottom: 14px; }
.contact-card p { color: var(--muted); margin-bottom: 24px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #e8e1d5; padding: 46px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.site-footer .brand-name { color: #f1e9db; }
.footer-social { display: flex; gap: 18px; }
.site-footer .icon-link { color: #cbbfa9; }
.site-footer .icon-link:hover { color: #fff; }
.footer-copy { font-size: .85rem; color: #b7ac99; }
.footer-credit { font-size: .8rem; color: #8f8672; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- floating book button (mobile) ---------- */
.float-book {
  position: fixed; bottom: 18px; right: 18px; z-index: 90; display: none;
  background: var(--sand); color: #fff; padding: 14px 24px; border-radius: 999px;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; box-shadow: var(--shadow);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 68px; }
  .header-inner { height: 64px; }
  .nav {
    position: fixed; inset: 64px 0 auto 0; background: var(--cream);
    flex-direction: column; gap: 0; padding: 10px 24px 24px;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.3);
    transform: translateY(-160%); transition: transform .35s; pointer-events: none;
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); pointer-events: auto; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--cream-2); font-size: .9rem; }
  .nav-toggle { display: flex; }
  .btn-book { display: none; }
  body.nav-open { overflow: hidden; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-media { min-height: 280px; order: -1; }
  .cards, .blog-grid { grid-template-columns: 1fr; }
  .price-list { grid-template-columns: 1fr; gap: 4px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .float-book { display: inline-flex; }
  .section { padding: 66px 0; }
  .hero { min-height: 78vh; background-position: center 30%; }
  .hero-inner { padding: 72px 4px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.15rem; }
  .header-actions { gap: 10px; }
  h2 { font-size: 1.9rem; }
  .hero-title { font-size: 2.3rem; }
  .hero-lead { font-size: 1.05rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .hero-badges { gap: 8px 18px; font-size: .82rem; margin-top: 34px; }
  .section-head { margin-bottom: 40px; }
  .card { padding: 28px 24px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 12px; }
  .map-wrap { height: 240px; }
  .float-book { bottom: 14px; right: 14px; padding: 12px 20px; font-size: .75rem; }
  .price-name { font-size: 1.2rem; }
}
@media (max-width: 360px) {
  .lang-switch button { padding: 6px 9px; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- blog article page ---------- */
.article-wrap { padding: 48px 0 40px; background: var(--white); }
.article { max-width: 760px; }
.article-back { display: inline-block; color: var(--sage-dark); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px; }
.article-back:hover { color: var(--sand); }
.article-back.bottom { margin: 40px 0 0; }
.article-hero { height: 340px; border-radius: var(--radius); background-size: cover; background-position: center; box-shadow: var(--shadow); margin-bottom: 28px; }
.article-date { color: var(--sage-dark); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.article h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--sand-dark); margin-bottom: 24px; line-height: 1.12; }
.article-body { font-size: 1.1rem; color: #4a4438; line-height: 1.8; }
.article-body h2 { font-size: 1.6rem; color: var(--sand-dark); margin: 32px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body strong { color: var(--ink); font-weight: 500; }
.article-cta { background: linear-gradient(160deg, #efe8dc, #e2ddd0); padding: 64px 0; }
.article-cta-text { font-family: var(--font-serif); font-size: 1.6rem; color: var(--sand-dark); margin-bottom: 24px; }
@media (max-width: 560px) {
  .article-hero { height: 220px; }
  .article-body { font-size: 1.04rem; }
}

/* ---------- Google review CTA ---------- */
.reviews-cta { margin-top: 44px; }
.btn-google {
  background: #fff; border: 1px solid #e2ddd0; color: var(--ink);
  gap: 10px; box-shadow: 0 8px 24px -16px rgba(60,50,35,.5);
}
.btn-google:hover { background: #fff; border-color: var(--sand); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-google svg { flex: none; }
