/* ==========================================================================
   DESIGN TOKENS - sub-brand "Head Spa Trichology" (córka: Trycholog A. Kozioł)
   ========================================================================== */
:root {
  --paper: #f5f0e7; /* tło - ciepły papier */
  --card: #fdfbf6; /* karty */
  --ink: #42403b; /* grafit ciepły - tekst */
  --muted: #6e685c; /* tekst drugorzędny */
  --teal: #08aeae; /* kolor marki-matki (logo) */
  --teal-deep: #078b8b;
  --teal-soft: #dcf2f1;
  --amber: #c9974f; /* tertiary - miód/bursztyn (światło zdjęć) */
  --amber-soft: #f2e3c8;
  --line: #e5dccb;
  --footer: #3b3833; /* stopka - ciepły grafit */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
/* sticky nav (66px) nie może zasłaniać sekcji klikanych z menu */
section[id] {
  scroll-margin-top: 82px;
}
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
}
h1,
h2,
h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--amber);
}
::selection {
  background: var(--amber-soft);
}
img {
  display: block;
  max-width: 100%;
  height: auto; /* atrybuty width/height (CLS) nie nadpisują CSS aspect-ratio */
}

.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.2s;
}

a.btn {
  line-height: 1;
}
.btn-teal {
  background: var(--teal);
  color: #fff;
}
.btn-teal:hover {
  background: var(--teal-deep);
}
.btn-ghost {
  color: var(--ink);
  border: 1.5px solid var(--line);
  background: var(--card);
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* nav */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 231, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand {
  display: flex;
  align-items: end;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand .mark {
  width: 26px;
  height: 32px;
  color: var(--teal);
}
.brand b {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.15;
}
.brand b small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
}
nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
}
nav ul a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
nav ul a:hover {
  color: var(--ink);
}
.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  padding: 6px;
}
@media (max-width: 860px) {
  nav ul {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px 24px;
    gap: 14px;
  }
  nav ul.open {
    display: flex;
  }
  .burger {
    display: block;
  }
  .nav-cta {
    display: none;
  }
}

/* hero */
.hero {
  padding: 64px 0;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
}
.hero h1 em {
  font-style: normal;
  color: var(--teal);
}
.hero .lead {
  margin: 18px 0 28px;
  font-size: 17.5px;
  color: var(--muted);
  max-width: 46ch;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-badges {
  display: flex;
  gap: 22px;
  margin-top: 30px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero-badges b {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  color: var(--ink);
}
.hero-photo {
  position: relative;
}
.hero-photo img {
  border-radius: 24px;
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}
.hero-photo .tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(253, 251, 246, 0.92);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}
.hero-photo .tag span {
  color: var(--amber);
}
@media (max-width: 860px) {
  .hero {
    padding: 36px 0;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero-photo img {
    aspect-ratio: 16/11;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    text-align: center;
  }
}

section {
  padding: 68px 0;
}
.sec-head {
  max-width: 62ch;
  margin-bottom: 40px;
}
.sec-head h2 {
  font-size: clamp(25px, 3.3vw, 34px);
  margin-top: 10px;
}
.sec-head p {
  margin-top: 12px;
  color: var(--muted);
}
@media (max-width: 860px) {
  section {
    padding: 44px 0;
  }
}

/* USP - dlaczego head spa u trychologa */
.usp {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.usp div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 16px;
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
}
.usp div::before {
  content: '✦';
  display: block;
  color: var(--amber);
  font-size: 18px;
  margin-bottom: 8px;
}
@media (max-width: 860px) {
  .usp {
    grid-template-columns: repeat(2, 1fr);
  }
  .usp div:last-child {
    grid-column: 1/-1;
  }
}

/* dla kogo - tagi */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
}
.tag b {
  color: var(--teal-deep);
  font-weight: 600;
}

/* przebieg - oś kroków */
.steps {
  counter-reset: s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
}
.step {
  counter-increment: s;
  position: relative;
  padding: 14px 0 14px 56px;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.step::before {
  content: counter(s, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--amber);
  border: 1.5px solid var(--amber);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps-note {
  margin-top: 22px;
  background: var(--teal-soft);
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--teal-deep);
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* galeria pasek */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.strip img {
  border-radius: 16px;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
@media (max-width: 640px) {
  .strip {
    grid-template-columns: 1fr 1fr;
  }
  .strip img:last-child {
    display: none;
  }
}

/* efekty */
.fx {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 32px;
  max-width: 760px;
}
.fx li {
  list-style: none;
  padding: 9px 0 9px 32px;
  position: relative;
  font-size: 15.5px;
  border-bottom: 1px dashed var(--line);
}
.fx li::before {
  content: '✓';
  position: absolute;
  left: 2px;
  color: var(--teal);
  font-weight: 700;
}
@media (max-width: 640px) {
  .fx {
    grid-template-columns: 1fr;
  }
}

/* o gabinecie - prose + foto */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.about img {
  border-radius: 20px;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.about p {
  color: var(--muted);
  font-size: 15.5px;
}
@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
  }
}

/* opinie */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  font-size: 14.5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review .stars {
  color: var(--amber);
  letter-spacing: 2px;
  font-size: 13px;
}
.review p {
  flex: 1;
  color: var(--ink);
}
.review .who {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
}
.review.wide {
  grid-column: span 1;
}
@media (max-width: 860px) {
  .reviews {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 17px 48px 17px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  position: relative;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--amber);
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  padding: 0 22px 17px;
  font-size: 14.5px;
  color: var(--muted);
}

/* cena / CTA band */
.pricing {
  background: var(--footer);
  border-radius: 26px;
  color: #efebe2;
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.pricing h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: #fff;
}
.pricing h2 em {
  font-style: normal;
  color: #5ed4d2;
}
.pricing .sub {
  color: #c7c0b2;
  margin-top: 8px;
  font-size: 15px;
}
.price-pill {
  background: var(--card);
  color: var(--ink);
  border-radius: 20px;
  padding: 22px 38px;
  text-align: center;
  border: 2px solid var(--amber);
}
.price-pill b {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
}
.price-pill span {
  font-size: 13px;
  color: var(--muted);
}
.pricing .btn-teal {
  font-size: 16px;
  padding: 16px 32px;
}
@media (max-width: 860px) {
  .pricing {
    padding: 34px 26px;
    flex-direction: column;
    text-align: center;
  }
}

/* stopka */
footer {
  background: var(--footer);
  color: #d8d2c6;
  margin-top: 68px;
  padding: 52px 0 32px;
  font-size: 14px;
}
footer .cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
}
footer h4 {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 14px;
}
footer a {
  color: #d8d2c6;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
}
footer li {
  list-style: none;
  padding: 4px 0;
}
.map-embed {
  border: 0;
  border-radius: 14px;
  width: 100%;
  height: 170px;
  filter: grayscale(0.2);
}
.legal {
  border-top: 1px solid #524e47;
  margin-top: 38px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #a39c8d;
}
@media (max-width: 860px) {
  footer .cols {
    grid-template-columns: 1fr;
  }
}

/* sticky mobile bar */
.mobile-bar {
  display: none;
}
@media (max-width: 860px) {
  .mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--footer);
    padding: 10px 16px;
    gap: 10px;
  }
  .mobile-bar a {
    flex: 1;
    text-align: center;
    padding: 13px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
  }
  .mobile-bar .call {
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
  }
  .mobile-bar .book {
    background: var(--teal);
    color: #fff;
  }
  body {
    padding-bottom: 70px;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* rezerwacja online - osadzony kalendarz Google */
.booking-embed {
  display: block;
  width: 100%;
  height: min(900px, 85vh);
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(66, 64, 59, 0.08);
}
.booking-note {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.booking-note a {
  color: var(--teal-deep);
  font-weight: 500;
}
