/* =========================================================
   Małgorzata Kudzia — psycholożka
   ========================================================= */

:root {
  --cream: #f6f0e9;
  --cream-2: #efe7dd;
  --beige: #e8ded2;
  --card: #ede4d9;
  --sage: #7f8a6a;
  --sage-dark: #687356;
  --sage-soft: #a3ad8b;
  --text: #3b2f28;
  --text-soft: #6a5c52;
  --gold: #c9ab84;
  --line: #d8cbbb;
  --white: #fffcf8;

  --leaf-fill: rgba(196, 202, 170, .35);
  --leaf-stroke: #c9b48f;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
em { font-style: italic; }

:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--sage-dark); color: #fff; padding: 8px 14px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

[data-i18n], [data-i18n-alt] { transition: opacity .22s var(--ease); }
html.is-switching [data-i18n] { opacity: 0; }

/* ---------- eyebrow ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 18px;
  margin-bottom: 1.2rem;
}
.eyebrow--line::after,
.eyebrow--center::before,
.eyebrow--center::after {
  content: ""; width: 44px; height: 0; border-top: 1px solid currentColor; opacity: .55;
}

.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-bottom: .3em; }
.section-head__lead { max-width: 560px; margin: 0 auto; color: var(--text-soft); }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: .98rem; font-weight: 400; letter-spacing: .01em;
  border: 1px solid transparent;
  background: var(--bg);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn__arrow { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn__icon { width: 18px; height: 18px; }

.btn--solid { --bg: var(--sage); color: #fff; }
.btn--solid:hover { --bg: var(--sage-dark); box-shadow: 0 10px 24px -12px rgba(80, 90, 60, .7); }
.btn--outline { border-color: var(--text); color: var(--text); }
.btn--outline:hover { --bg: var(--text); color: var(--cream); }
.btn--light { --bg: var(--white); color: var(--text); }
.btn--light:hover { --bg: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35); }
.btn--lg { padding: 15px 32px; font-size: 1.04rem; }

/* ---------- announcement ---------- */
.announce {
  background: var(--sage);
  color: #f4f1ea;
  font-size: .9rem;
  text-align: center;
  position: relative;
  padding: 8px 48px;
  overflow: hidden;
  max-height: 80px;
  transition: max-height .5s var(--ease), padding .5s var(--ease), opacity .4s;
}
.announce p { margin: 0; }
.announce a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.announce a:hover { border-color: currentColor; }
.announce__close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  transition: background-color .3s;
}
.announce__close:hover { background: rgba(255, 255, 255, .15); }
.announce__close svg { width: 16px; height: 16px; }
.announce.is-hidden { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 240, 233, .97);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s, background-color .4s;
}
.header.is-scrolled { box-shadow: 0 8px 30px -20px rgba(59, 47, 40, .35); border-color: rgba(216, 203, 187, .6); background: var(--cream); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; letter-spacing: -.01em; }
.brand__role { font-family: var(--serif); font-size: 1rem; color: var(--text-soft); margin-top: 3px; letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); font-size: .93rem; }
.nav a:not(.btn) { position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; border-top: 1px solid currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 18px; }

.lang { display: flex; align-items: center; gap: 2px; font-size: .82rem; letter-spacing: .1em; }
.lang__btn { padding: 6px 7px; border-radius: 6px; color: var(--text-soft); transition: color .3s, background-color .3s; }
.lang__btn:hover { color: var(--text); }
.lang__btn[aria-pressed="true"] { color: var(--text); font-weight: 500; }
.lang__btn[aria-pressed="true"]::after { content: ""; display: block; height: 1px; background: var(--sage); margin-top: 2px; }
.lang__sep { width: 1px; height: 14px; background: var(--line); }

.burger { display: none; width: 40px; height: 40px; position: relative; border-radius: 50%; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* ---------- arch frames ---------- */
.arch {
  margin: 0;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  position: relative;
  background: var(--beige);
}
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.arch:hover img { transform: scale(1.03); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 0%, #efe4d6 0%, transparent 55%),
    linear-gradient(180deg, #f1e8de 0%, var(--cream) 100%);
  padding: clamp(28px, 4vw, 48px) 0 0;
}
.hero__shadow {
  --leaf-fill: #5d4b38; --leaf-stroke: transparent;
  position: absolute; left: -40px; top: -40px; width: min(42vw, 460px); height: 120%;
  opacity: .05;
  overflow: visible;
  pointer-events: none;
  will-change: transform;
  transform-origin: 0 100%;
  animation: shadowSway 14s ease-in-out infinite alternate;
}
@keyframes shadowSway { from { transform: rotate(-1.5deg) translateY(0); } to { transform: rotate(1.5deg) translateY(10px); } }

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  min-height: min(76vh, 640px);
}
.hero__text { align-self: center; padding: clamp(24px, 4vw, 40px) 0 clamp(48px, 6vw, 80px); position: relative; z-index: 2; }
.hero__title { font-size: clamp(2.5rem, 1.3rem + 3.2vw, 4rem); line-height: 1.04; margin-bottom: .55em; }
@media (min-width: 921px) { .hero__title .line { white-space: nowrap; } }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > * { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease-out) forwards; }
.hero__title .line:nth-child(2) > * { animation-delay: .12s; }
.hero__title .line:nth-child(3) > * { animation-delay: .24s; }
.hero__title em { font-weight: 400; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__lead { max-width: 470px; font-size: 1.06rem; color: var(--text-soft); margin-bottom: 2rem; }

.fade-in { opacity: 0; transform: translateY(14px); animation: fadeUp .9s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero__visual { position: relative; align-self: end; display: flex; justify-content: center; }
.arch--hero {
  width: min(100%, 400px);
  aspect-ratio: 4 / 5;
  z-index: 2;
  clip-path: inset(100% 0 0 0 round 999px 999px 0 0);
  animation: archReveal 1.5s var(--ease-out) .2s forwards;
}
.arch--hero img { object-position: 50% 22%; transform: scale(1.08); animation: imgSettle 2.2s var(--ease-out) .2s forwards; }
@keyframes archReveal { to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); } }
@keyframes imgSettle { to { transform: scale(1); } }

.hero__blob {
  position: absolute; z-index: 1;
  right: max(-40px, calc(50% - 300px)); bottom: 12%;
  width: 190px; height: 260px;
  background: linear-gradient(160deg, #a7b08f, #8a9473);
  border-radius: 46% 54% 48% 52% / 40% 42% 58% 60%;
  opacity: 0;
  will-change: transform;
  /* compositor-only: opacity/translate/transform (no border-radius morphing = no repaints) */
  animation: blobIn 1.4s var(--ease-out) .8s forwards, blobDrift 14s ease-in-out 2.2s infinite alternate;
}
@keyframes blobIn { from { opacity: 0; translate: -30px 0; scale: .9; } to { opacity: .9; translate: 0 0; scale: 1; } }
@keyframes blobDrift {
  0% { transform: rotate(0deg) scale(1, 1); }
  50% { transform: rotate(4deg) scale(1.03, .98); }
  100% { transform: rotate(-3deg) scale(.98, 1.03); }
}

.hero__arcs {
  position: absolute; z-index: 3; pointer-events: none;
  left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(125%, 520px); height: auto;
  fill: none; stroke: var(--gold); stroke-width: 1.2;
}
.hero__sprig {
  --leaf-stroke: #6b7558;
  position: absolute; z-index: 3; width: 120px; right: max(0px, calc(50% - 250px)); bottom: -6px;
  opacity: 0;
}

/* draw-in strokes */
.draw path { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.hero__arcs.draw path { animation: draw 2.6s var(--ease) .9s forwards; }
.draw.is-visible path { animation: draw 2.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* sway */
.sway { transform-origin: 15% 100%; will-change: transform; animation: fadeOnly 1s var(--ease-out) 1.3s forwards, sway 7s ease-in-out 1.3s infinite alternate; }
.sway-slow { transform-origin: 10% 100%; will-change: transform; animation: sway 9s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
@keyframes fadeOnly { to { opacity: 1; } }

/* decorative loops pause while their section is off-screen (set by main.js) */
.is-offscreen .sway, .is-offscreen .sway-slow,
.is-offscreen .hero__blob, .is-offscreen .hero__shadow { animation-play-state: paused; }

/* ---------- about ---------- */
.about { overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.arch--about { aspect-ratio: 9 / 11; width: 100%; }
.arch--about img { object-position: 50% 18%; }
.about__text { max-width: 560px; position: relative; z-index: 2; }
.about__name { font-size: clamp(2.4rem, 1.6rem + 2.8vw, 3.6rem); margin-bottom: 0; }
.about__role { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .06em; color: var(--text-soft); margin-bottom: 1.4rem; }
.about__text p:not(.eyebrow):not(.about__role) { color: var(--text-soft); }
.about__body p { margin-bottom: .9em; }
.about__body p:last-child { margin-bottom: 0; }

.branch { position: absolute; pointer-events: none; fill: none; }
.branch .stem { stroke: var(--leaf-stroke); stroke-width: 1.2; }
.branch--about { width: clamp(140px, 16vw, 220px); right: clamp(-30px, 1vw, 30px); top: 6%; opacity: .95; }

/* ---------- offer ---------- */
.offer { padding-top: 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px 22px 34px;
  text-align: center;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -28px rgba(59, 47, 40, .45); background: #f0e8de; }
.card__icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: #e2d6c6; color: var(--text);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.card__icon svg { width: 36px; height: 36px; }
.card:hover .card__icon { background: var(--sage); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card h3 { font-size: 1.55rem; margin-bottom: .6em; }
.card p { font-size: .92rem; color: var(--text-soft); margin: 0; }

/* ---------- process ---------- */
.process { background: var(--beige); padding: clamp(48px, 6vw, 72px) 0; }
.process__grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.process__title { font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3rem); padding-right: 32px; border-right: 1px solid var(--line); margin: 0; align-self: center; line-height: 1.05; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; }
.step__num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--white);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.3rem; margin-bottom: 14px;
  box-shadow: 0 4px 14px -8px rgba(59, 47, 40, .4);
  position: relative; z-index: 1;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 19px; left: 50px; right: 4px; height: 0; border-top: 1px solid var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) calc(var(--d, 0s) + .4s);
}
.step.is-visible::after { transform: scaleX(1); }
.step h3 { font-size: 1.35rem; margin-bottom: .4em; }
.step p { font-size: .86rem; color: var(--text-soft); margin: 0; line-height: 1.55; }

/* ---------- quote ---------- */
.quote {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #f3ebe2 0%, #efe3d6 100%);
  padding: clamp(44px, 6vw, 64px) 0;
}
.quote__inner { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); position: relative; z-index: 2; }
.quote__mark { font-family: var(--serif); font-size: clamp(6rem, 10vw, 8.5rem); line-height: .6; color: #c9a184; height: .5em; margin-top: .1em; }
.quote blockquote { margin: 0; max-width: 640px; text-align: center; }
.quote blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 1rem + 1.3vw, 1.9rem); line-height: 1.3; margin-bottom: .5em; }
.quote footer { font-size: .98rem; }
.blossom { position: absolute; right: -20px; top: 50%; translate: 0 -50%; width: clamp(240px, 32vw, 400px); z-index: 1; transform-origin: 100% 30%; }

/* ---------- strip ---------- */
.strip { background: var(--sage); color: #f6f2ea; position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0; }
.arch--strip { flex: 0 0 auto; width: clamp(150px, 16vw, 210px); aspect-ratio: 4 / 5; background: rgba(255,255,255,.12); }
.arch--strip img { object-position: 50% 22%; }
.strip__inner { display: flex; align-items: center; gap: clamp(24px, 5vw, 56px); position: relative; z-index: 2; }
.strip__title { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 1.8vw, 2.8rem); line-height: 1.1; margin: 0; font-weight: 400; padding-right: clamp(24px, 5vw, 56px); border-right: 1px solid rgba(255, 255, 255, .4); }
.strip__body p { margin-bottom: 18px; max-width: 440px; font-size: 1rem; }
.strip__leaves { position: absolute; right: 0; bottom: 0; width: clamp(200px, 26vw, 320px); opacity: .8; transform-origin: 100% 100%; }

/* ---------- calendar ---------- */
.slots { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.cal {
  display: grid; grid-template-columns: 1.25fr 1fr;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 30px 70px -50px rgba(59, 47, 40, .55);
  overflow: hidden;
  max-width: 980px; margin: 0 auto;
}
.cal__month { padding: clamp(20px, 3.4vw, 36px); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal__label { margin: 0; font-size: 1.75rem; text-transform: capitalize; min-width: 10ch; text-align: center; }
.cal__nav {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); transition: background-color .3s, border-color .3s, opacity .3s, transform .3s var(--ease);
}
.cal__nav svg { width: 18px; height: 18px; }
.cal__nav--next svg { transform: scaleX(-1); }
.cal__nav:hover:not(:disabled) { background: var(--cream-2); border-color: var(--gold); }
.cal__nav:disabled { opacity: .3; cursor: default; }

.cal__weekdays, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__weekdays { margin-bottom: 8px; }
.cal__weekdays span { text-align: center; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); padding: 4px 0; }

.cal__grid { transition: opacity .3s var(--ease), transform .4s var(--ease); }
.cal__grid.is-leaving-next { opacity: 0; transform: translateX(-16px); }
.cal__grid.is-leaving-prev { opacity: 0; transform: translateX(16px); }

.cal__cell {
  height: clamp(40px, 4.4vw, 52px); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: .98rem; position: relative;
  color: #b5a99d;
}
.cal__cell--empty { visibility: hidden; }
.cal__cell--today { box-shadow: inset 0 0 0 1px var(--line); }
.cal__cell--free { color: var(--text); background: #eef0e6; font-weight: 400; transition: background-color .3s, color .3s, transform .3s var(--ease); }
.cal__cell--free::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); transition: background-color .3s; }
.cal__cell--free:hover { background: #e1e6d4; transform: translateY(-2px); }
.cal__cell--selected, .cal__cell--selected:hover { background: var(--sage); color: #fff; }
.cal__cell--selected::after { background: #fff; }
.cal__cell--loading { background: linear-gradient(90deg, #f1ebe3 0%, #f8f3ed 50%, #f1ebe3 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; color: transparent; }
@keyframes shimmer { to { background-position: -200% 0; } }

.cal__legend { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--text-soft); margin: 18px 0 0; }
.cal__legend .dot { width: 14px; height: 14px; border-radius: 4px; background: #eef0e6; position: relative; }
.cal__legend .dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: var(--sage); }

.cal__side { background: #f4eee6; padding: clamp(20px, 3.4vw, 36px); display: flex; flex-direction: column; gap: 22px; min-height: 100%; }
.cal__day-label { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 14px; line-height: 1.2; }
.cal__day-label::first-letter { text-transform: uppercase; }
.cal__times { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cal__times li { opacity: 0; transform: translateY(8px); animation: fadeUp .5s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 45ms); }
.cal__time {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--white);
  font-size: .95rem; transition: border-color .3s, background-color .3s, color .3s, transform .3s var(--ease);
}
.cal__time svg { width: 15px; height: 15px; opacity: .55; }
.cal__time:hover { border-color: var(--sage); transform: translateY(-1px); }
.cal__time[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); color: #fff; }
.cal__time[aria-pressed="true"] svg { opacity: 1; }
.cal__empty { color: var(--text-soft); font-size: .92rem; grid-column: 1 / -1; }

.cal__day { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.cal__month .cal__times { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.cal__confirm-when.is-empty { font-family: var(--sans); font-size: .9rem; line-height: 1.5; color: var(--text-soft); font-style: italic; }
.cal__confirm-when.is-empty::first-letter { text-transform: none; }
.cal__confirm[hidden] { display: none; }
.cal__confirm-label { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 4px; }
.cal__confirm-when { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 16px; line-height: 1.25; }
.cal__confirm-when::first-letter { text-transform: uppercase; }
.cal__form { display: grid; gap: 12px; }
.field { display: grid; gap: 5px; }
.field label { font-size: .8rem; letter-spacing: .04em; color: var(--text-soft); }
.field small { font-size: .74rem; opacity: .8; }
.field input, .field textarea {
  font: inherit; font-size: .95rem; color: var(--text);
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; width: 100%; resize: vertical;
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(127, 138, 106, .18); }
.field [aria-invalid="true"] { border-color: #b4664f; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; line-height: 1.45; color: var(--text-soft); cursor: pointer; }
.check input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--sage); flex: 0 0 auto; }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.footer__copy a { text-decoration: underline; text-underline-offset: 2px; }
.check.is-invalid { color: #b4664f; }
.cal__submit { width: 100%; margin-top: 4px; }
.cal__submit[disabled] { opacity: .6; cursor: progress; transform: none; }
.cal__status { margin: 0; font-size: .86rem; min-height: 0; }
.cal__status:empty { display: none; }
.cal__status.is-ok { color: var(--sage-dark); background: #eef0e6; padding: 10px 12px; border-radius: 10px; animation: fadeUp .5s var(--ease-out); }
.cal__status.is-error { color: #9b4f3a; }
.cal__alt { margin: 0; font-size: .82rem; color: var(--text-soft); text-align: center; }
.cal__alt a { color: var(--text); border-bottom: 1px solid var(--line); transition: border-color .3s; }
.cal__alt a:hover { border-color: var(--sage); }

.cal__note { text-align: center; font-size: .82rem; color: var(--text-soft); margin: 18px auto 0; max-width: 560px; }

/* ---------- contact ---------- */
.contact { padding-top: clamp(48px, 6vw, 80px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact__intro p:not(.eyebrow) { color: var(--text-soft); max-width: 420px; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card {
  background: var(--card); border-radius: var(--radius); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .5s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -28px rgba(59, 47, 40, .45); background: #f0e8de; }
.contact-card__icon { width: 48px; height: 48px; border-radius: 50%; background: #e2d6c6; display: grid; place-items: center; margin-bottom: 12px; transition: background-color .4s, color .4s; }
.contact-card:hover .contact-card__icon { background: var(--sage); color: #fff; }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__label { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-soft); }
.contact-card__value { font-family: var(--serif); font-size: 1.45rem; word-break: break-word; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0 20px; background: var(--cream); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__nav { display: flex; gap: clamp(16px, 3vw, 40px); font-size: .88rem; flex-wrap: wrap; }
.footer__nav a, .footer__contact a { transition: color .3s; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--sage-dark); }
.footer__contact { display: flex; flex-direction: column; align-items: flex-end; font-size: .9rem; gap: 2px; }
.footer__copy { font-size: .78rem; color: var(--text-soft); margin: 22px auto 0; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.arch.reveal { transform: translateY(26px) scale(.98); }
.arch.reveal.is-visible { transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 920px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--cream); padding: 16px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(59, 47, 40, .35);
    font-size: 1.15rem;
    clip-path: inset(0 0 100% 0);
    opacity: 0; visibility: hidden;
    transition: clip-path .55s var(--ease-out), opacity .4s, visibility 0s .55s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); opacity: 1; visibility: visible; transition: clip-path .55s var(--ease-out), opacity .4s, visibility 0s; }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 1.6rem; padding: 6px 0; }
  .nav__cta-mobile { display: inline-flex; margin-top: 14px; }

  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding-bottom: 8px; text-align: left; }
  .hero__visual { margin-top: 12px; }
  .arch--hero { width: min(78%, 380px); }

  .about__grid { grid-template-columns: 1fr; }
  .arch--about { max-width: 340px; margin: 0 auto; }
  .branch--about { opacity: .45; top: auto; bottom: 10px; }

  .process__grid { grid-template-columns: 1fr; }
  .process__title { border-right: 0; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
  .process__title br { display: none; }


  .strip__inner { flex-direction: column; align-items: flex-start; }
  .strip__title { border-right: 0; padding-right: 0; }
  .arch--strip { width: 150px; }

  .cal { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__contact { align-items: flex-start; }
}

@media (max-width: 600px) {
  :root { --header-h: 66px; }
  .brand__name { font-size: 1.35rem; }
  .brand__role { font-size: .9rem; }
  .header__actions { gap: 8px; }
  .announce { font-size: .82rem; padding: 8px 40px 8px 16px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .quote__inner { flex-direction: column; gap: 4px; }
  .quote__mark { height: .45em; }
  .blossom { opacity: .35; width: 220px; top: auto; bottom: -30px; translate: 0 0; }
  .contact__cards { grid-template-columns: 1fr; }
  .cal__cell { border-radius: 9px; font-size: .9rem; }
  .cal__weekdays, .cal__grid { gap: 4px; }
  .cal__label { font-size: 1.45rem; }
  .strip__leaves { opacity: .35; }
  .hero__visual { display: none; }
  .hero__text { padding-bottom: 56px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal, .fade-in { opacity: 1; transform: none; }
  .draw path { stroke-dashoffset: 0; }
}

/* ---------- pricing ---------- */
.pricing { background: var(--cream); }
.pricing__inner { max-width: 860px; }
.prices { list-style: none; margin: 0; padding: 0; }
.price {
  display: flex; align-items: baseline; gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(216, 203, 187, .6);
  transition: background-color .4s var(--ease), padding .4s var(--ease);
  border-radius: 10px;
}
.price:hover { background: rgba(237, 228, 217, .55); padding-left: 16px; padding-right: 16px; }
.price__name h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); margin: 0 0 2px; }
.price__time { font-size: .85rem; color: var(--text-soft); letter-spacing: .04em; display: inline-flex; align-items: center; gap: 6px; }
.price__time::before { content: ""; width: 14px; height: 0; border-top: 1px solid var(--gold); }
.price__dots { flex: 1; min-width: 24px; border-bottom: 1px dotted var(--gold); transform: translateY(-6px); }
.price__value { font-family: var(--serif); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); font-weight: 500; white-space: nowrap; color: var(--text); }
.price__value small { font-size: .55em; font-weight: 400; color: var(--text-soft); letter-spacing: .04em; }

.payments {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px;
}
.payments__label { font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; color: var(--text-soft); margin-right: 6px; }
.pay-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 12px; border-radius: 999px;
  background: var(--card); color: var(--text); font-size: .95rem;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.pay-chip svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: #e2d6c6; transition: background-color .4s var(--ease); }
.pay-chip:hover { transform: translateY(-2px); }
.pay-chip:hover svg { background: var(--sage); color: #fff; }

@media (max-width: 600px) {
  .price { flex-wrap: wrap; gap: 4px 12px; }
  .price__name { flex: 1 1 60%; }
  .price__dots { display: none; }
  .price__value { margin-left: auto; }
  .payments__label { width: 100%; text-align: center; margin: 0 0 4px; }
}

/* keep the 6-link menu on one line on small laptops/tablets */
.nav a { white-space: nowrap; }
@media (min-width: 921px) and (max-width: 1180px) {
  .header__cta { display: none; }
  .nav { gap: 22px; }
}

/* tighter spacing between Cennik and the calendar */
.pricing { padding-bottom: clamp(24px, 3vw, 40px); }
.pricing + .slots { padding-top: clamp(32px, 4vw, 56px); }

/* one calm background: quote + steps sit on the page cream, only the green CTA is a coloured band */
.quote { background: transparent; padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 7vw, 88px); }
.process { background: transparent; padding: clamp(56px, 7vw, 96px) 0; }
.process .container { border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px); }
.step__num { background: var(--card); box-shadow: none; }
