/* Bioterapija demo — calm clinical spa */
:root {
  --stone: #f4f7f6;
  --stone-deep: #e4ebe8;
  --ink: #1a2b28;
  --ink-soft: #3d524e;
  --sage: #5f7f72;
  --sage-deep: #3e5c52;
  --mist: #c9d6d0;
  --linen: #fafcfb;
  --white: #ffffff;
  --focus: #2f6f5e;
  --danger: #8b3a3a;
  --shadow: 0 18px 40px rgba(26, 43, 40, 0.08);
  --radius: 2px;
  --font-display: "Spectral", "Iowan Old Style", Georgia, serif;
  --font-ui: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --measure: 68ch;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(95, 127, 114, 0.08), transparent 60%),
    linear-gradient(180deg, var(--linen) 0%, var(--stone) 40%, var(--linen) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--sage-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

::selection {
  background: rgba(95, 127, 114, 0.28);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.demo-banner {
  background: var(--ink);
  color: var(--stone);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.55rem 1rem;
}

.demo-banner a {
  color: #d7ebe3;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(250, 252, 251, 0.86);
  border-bottom: 1px solid rgba(26, 43, 40, 0.06);
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
}

.brand span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--ink);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  background: var(--sage-deep);
  color: var(--white) !important;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav__cta:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.55rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--mist);
  background: var(--white);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.85rem;
}

.nav__cta--compact {
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
}

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-settle 1.6s var(--ease) both;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 32, 30, 0.72) 0%, rgba(18, 32, 30, 0.35) 48%, rgba(18, 32, 30, 0.18) 100%),
    linear-gradient(0deg, rgba(18, 32, 30, 0.55) 0%, transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 5.5rem 1.25rem 4rem;
  animation: rise 0.9s var(--ease) both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 12ch;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.hero__lead {
  max-width: 34ch;
  font-size: 1.08rem;
  color: rgba(244, 247, 246, 0.9);
  margin: 0 0 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--white);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--stone);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn--solid {
  background: var(--sage-deep);
  color: var(--white);
}

.btn--solid:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--mist);
}

.btn--line:hover {
  border-color: var(--sage);
  color: var(--sage-deep);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.section--tight {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.section__head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  text-wrap: balance;
}

.section__head p,
.prose {
  margin: 0;
  color: var(--ink-soft);
  max-width: var(--measure);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.75rem;
}

.service {
  padding-top: 1.25rem;
  border-top: 1px solid var(--mist);
}

.service h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}

.service p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: min(520px, 70vw);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.4rem 0 0;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--sage);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.proof__item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--mist);
}

.proof__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.45rem;
  font-variant-numeric: tabular-nums;
}

.proof__item span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.quotes {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

.quote {
  background: var(--white);
  border: 1px solid var(--stone-deep);
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: var(--radius);
}

.quote p {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.quote cite {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.band {
  background: var(--ink);
  color: var(--stone);
}

.band .section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.band h2 {
  color: var(--stone);
  margin: 0;
  max-width: 16ch;
}

.band p {
  color: rgba(244, 247, 246, 0.78);
  margin: 0.65rem 0 0;
  max-width: 36ch;
}

.faq details {
  border-top: 1px solid var(--mist);
  padding: 1.1rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--mist);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 550;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--sage);
  font-size: 1.25rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  max-width: var(--measure);
}

.site-footer {
  border-top: 1px solid var(--mist);
  padding: 2.5rem 1.25rem 3rem;
}

.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h3 {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.site-footer p,
.site-footer a {
  margin: 0.2rem 0;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--ink);
}

.disclaimer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

/* Booking */
.booking-page {
  padding-top: 2rem;
}

.booking-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.booking-shell h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
}

.booking-shell > .lead {
  color: var(--ink-soft);
  margin: 0 0 2rem;
  max-width: 46ch;
}

.progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.progress__step {
  height: 3px;
  background: var(--stone-deep);
  border-radius: 99px;
  overflow: hidden;
}

.progress__step span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--sage-deep);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}

.progress__step.is-done span {
  transform: scaleX(1);
}

.progress__step.is-current span {
  transform: scaleX(0.55);
}

.panel {
  display: none;
  animation: rise 0.45s var(--ease) both;
}

.panel.is-active {
  display: block;
}

.panel h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0 0 1.1rem;
}

.choice-grid {
  display: grid;
  gap: 0.75rem;
}

.choice {
  text-align: left;
  width: 100%;
  border: 1px solid var(--mist);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.choice:hover {
  border-color: var(--sage);
}

.choice.is-selected {
  border-color: var(--sage-deep);
  background: rgba(95, 127, 114, 0.08);
  box-shadow: inset 0 0 0 1px var(--sage-deep);
}

.choice strong {
  display: block;
  margin-bottom: 0.2rem;
}

.choice span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-grid--2 {
  grid-template-columns: 1fr 1fr;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

input,
select,
textarea {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  caret-color: var(--sage-deep);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: transparent;
}

.panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.summary {
  background: var(--white);
  border: 1px solid var(--stone-deep);
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.summary dl {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.summary dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.summary dd {
  margin: 0.15rem 0 0;
  font-weight: 500;
}

.confirm {
  text-align: center;
  padding: 2rem 0;
}

.confirm h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 0 0 0.75rem;
}

.confirm p {
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 0 auto 1.5rem;
}

.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  min-height: 1.1em;
}

@keyframes hero-settle {
  from {
    transform: scale(1.08);
    filter: saturate(0.85);
  }
  to {
    transform: scale(1.04);
    filter: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .services,
  .steps,
  .proof {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .quotes,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-actions {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav__cta--desktop {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: var(--linen);
    border-bottom: 1px solid var(--mist);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.is-open {
    display: flex;
  }

  .services,
  .steps,
  .proof,
  .progress,
  .form-grid--2 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 86vh;
  }

  .hero__content {
    padding-top: 4rem;
  }
}
