/* =========================================================
   SKIN CARE by Karolina Ungert
   Klinik luxe: warm ivory + plum + dusty rose + brushed gold
   Display: Italiana  /  Body: Mulish
   ========================================================= */

:root {
  --canvas: #f7f1ec;
  --canvas-2: #f1e7e1;
  --ink: #34202c;
  --primary: #b97b86;
  --soft: #e7d8d4;
  --muted: #7a6670;
  --gold: #c39a5a;
  --white: #fffaf6;

  --shadow-soft: 0 30px 70px -40px rgba(52, 32, 44, 0.45);
  --shadow-card: 0 18px 50px -30px rgba(52, 32, 44, 0.40);

  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4rem);

  --r-lg: 22px;
  --r-md: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Mulish", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1, h2, h3 {
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.01em;
  margin: 0;
}

/* ---------- shared atoms ---------- */

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 1.2rem;
}

/* quieter section kicker (lowercase serif italic, not a tiny-caps label) */
.kicker {
  font-family: "Italiana", serif;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--primary);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.kicker::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.craft .kicker { color: var(--soft); }

.section-title {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.3rem);
  color: var(--ink);
  max-width: 22ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: "Mulish", sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95em 1.7em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn-gold {
  background: var(--ink);
  color: var(--canvas);
  box-shadow: 0 14px 30px -18px rgba(52, 32, 44, 0.7);
}
.btn-gold:hover {
  background: var(--gold);
  color: #2a1d12;
  transform: translateY(-3px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(52, 32, 44, 0.28);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn:disabled:hover { transform: none; }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 236, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(52, 32, 44, 0.08);
}
.head-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-family: "Italiana", serif;
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.brand-sub {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
}
.nav {
  margin-left: auto;
  display: flex;
  gap: 2rem;
}
.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.head-right { display: flex; align-items: center; gap: 1.1rem; }
.lang-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Mulish", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--muted);
  padding: 0.3rem 0;
}
.lang-toggle .lang-sep { margin: 0 0.35em; opacity: 0.5; }
.lang-toggle .lang-pl,
.lang-toggle .lang-en { transition: color 0.25s var(--ease); }
.lang-toggle[data-active="pl"] .lang-pl,
.lang-toggle[data-active="en"] .lang-en { color: var(--ink); }
.head-cta { padding: 0.7em 1.3em; font-size: 0.74rem; }

/* ---------- hero ---------- */

.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 5rem) var(--gutter) clamp(3rem, 6vw, 6rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-portrait {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, var(--soft), var(--canvas-2));
  box-shadow: var(--shadow-soft);
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  border-radius: var(--r-lg);
  pointer-events: none;
}
.hero-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 28%;
}
.hero-copy { max-width: 36rem; }
.hero-title {
  font-size: clamp(2.8rem, 1.6rem + 5.4vw, 5.6rem);
  margin-bottom: 1.6rem;
}
.hero-line { display: block; }
.hero-em {
  font-style: italic;
  color: var(--primary);
}
.hero-lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.18rem);
  max-width: 33rem;
  margin: 0 0 2.2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.4rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(52, 32, 44, 0.12);
}
.rating-stars { color: var(--gold); letter-spacing: 0.15em; font-size: 0.95rem; }
.rating-text { font-size: 0.86rem; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- about ---------- */

.about {
  background: linear-gradient(180deg, var(--canvas), var(--canvas-2));
  padding: clamp(4rem, 8vw, 8rem) 0;
}
.about-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.about-photo {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 25%;
}
.about-text > * + * { margin-top: 1.4rem; }
.about-text .section-title { margin-bottom: 0.4rem; }
.about-text p { color: var(--muted); max-width: 40ch; }
.about-marks {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.8rem;
}
.about-marks li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}
.about-marks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 0.6rem; height: 0.6rem;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- craft band ---------- */

.craft {
  position: relative;
  background: var(--ink);
  color: var(--canvas);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
}
.craft-photo { margin: 0; min-height: 100%; }
.craft-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 50% 35%;
}
.craft-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}
.craft-quote {
  font-family: "Italiana", serif;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.7rem);
  line-height: 1.25;
  color: var(--white);
  margin: 0 0 1.6rem;
  max-width: 24ch;
}
.craft-sign {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ---------- treatments ---------- */

.treatments {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) var(--gutter);
}
.treatments-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 44rem; }
.accordion { border-top: 1px solid rgba(52, 32, 44, 0.14); }
.acc-item { border-bottom: 1px solid rgba(52, 32, 44, 0.14); }
.acc-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.7rem 0.5rem 1.7rem 0;
  text-align: left;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.acc-trigger:hover { color: var(--primary); }
.acc-no {
  font-family: "Italiana", serif;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.acc-name {
  font-family: "Italiana", serif;
  font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem);
}
.acc-icon {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.acc-icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.acc-icon::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.acc-item.open .acc-icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }

.acc-panel {
  overflow: hidden;
  height: 0;
}
.acc-panel ul {
  list-style: none;
  margin: 0;
  padding: 0 0 1.9rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 2.5rem;
  max-width: 46rem;
}
.acc-panel li {
  color: var(--muted);
  font-size: 1rem;
  padding-left: 1.3rem;
  position: relative;
}
.acc-panel li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 7px; height: 1px;
  background: var(--primary);
}

/* ---------- results gallery ---------- */

.results {
  background: linear-gradient(180deg, var(--canvas-2), var(--canvas));
  padding: clamp(4rem, 8vw, 8rem) 0;
}
.results-head {
  max-width: var(--maxw);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  padding: 0 var(--gutter);
}
.results-head .section-title { max-width: 26ch; }
.gallery {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: clamp(0.9rem, 2vw, 1.4rem);
}
.gallery figure {
  margin: 0;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--soft);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}
.gallery .g-tall { grid-row: span 2; }
.gallery .g-tall img { aspect-ratio: 3 / 5; }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-wide img { aspect-ratio: 16 / 9; }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.1rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--canvas);
  background: linear-gradient(to top, rgba(52, 32, 44, 0.72), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery img { transition: transform 0.8s var(--ease); }

/* ---------- contact ---------- */

.contact {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) var(--gutter);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.contact-info .section-title { margin-bottom: 2.2rem; max-width: 18ch; }
.contact-list {
  margin: 0 0 2rem;
  display: grid;
  gap: 1.4rem;
}
.contact-list div {
  border-top: 1px solid rgba(52, 32, 44, 0.12);
  padding-top: 1.1rem;
}
.contact-list dt {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.contact-list dd { margin: 0; color: var(--ink); font-weight: 500; }
.contact-list dd a { border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.contact-list dd a:hover { border-color: var(--gold); }

.contact-form {
  margin-top: 2.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(52, 32, 44, 0.12);
}
.form-note { font-size: 0.82rem; color: var(--muted); margin: 0 0 1.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; margin-bottom: 1rem; }
.field span {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.field input,
.field textarea {
  width: 100%;
  font-family: "Mulish", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(52, 32, 44, 0.16);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  resize: vertical;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(185, 123, 134, 0.15);
}
.contact-form .btn { margin-top: 0.4rem; }

.contact-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 420px;
  height: 100%;
  background: var(--soft);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  display: block;
}

/* ---------- footer ---------- */

.site-foot {
  background: var(--ink);
  color: var(--soft);
  padding: clamp(3rem, 6vw, 5rem) 0 2.5rem;
}
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.foot-brand { margin-bottom: 2.5rem; }
.foot-brand .brand-mark { color: var(--canvas); display: block; }
.foot-brand .brand-sub { color: var(--primary); margin-top: 0.5rem; display: block; }
.foot-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.foot-col p { margin: 0 0 0.6rem; font-size: 0.92rem; color: var(--soft); }
.foot-col a { border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease), color 0.3s var(--ease); }
.foot-col a:hover { color: var(--canvas); border-color: var(--gold); }
.foot-disclaimer {
  margin: 2rem 0 0;
  font-size: 0.8rem;
  color: rgba(231, 216, 212, 0.6);
  max-width: 60ch;
}

/* ---------- reveal base (visible by default; JS sets start state) ---------- */
.reveal { will-change: transform, opacity; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { order: 2; max-width: 26rem; }
  .hero-portrait img { aspect-ratio: 4 / 5; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 24rem; }
  .craft { grid-template-columns: 1fr; }
  .craft-photo img { min-height: 340px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .g-tall { grid-row: span 1; }
  .gallery .g-tall img { aspect-ratio: 3 / 4; }
  .gallery .g-wide { grid-column: span 2; }
}

@media (max-width: 540px) {
  .head-cta { display: none; }
  .acc-panel ul { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-wide { grid-column: span 1; }
  .gallery .g-wide img { aspect-ratio: 4 / 3; }
  .foot-cols { gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .btn:hover, .gallery figure:hover img { transform: none; }
}
