/* ── Header ── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.header.is-scrolled {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.logo:hover {
  color: var(--color-text);
}

.logo__icon {
  flex-shrink: 0;
}

.logo__mark {
  font-weight: 400;
}

.logo__suffix {
  font-weight: 400;
  color: var(--color-sage);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-text);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-xl);
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__link {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-base);
  }

  .nav .btn {
    margin-top: var(--space-lg);
    width: 100%;
    justify-content: center;
  }
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

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

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

.btn--primary:hover {
  background: var(--color-sage-dark);
  border-color: var(--color-sage-dark);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-sage);
  color: var(--color-sage-dark);
}

.btn--outline-light {
  background: transparent;
  color: var(--color-text-on-dark);
  border-color: var(--color-border-dark);
}

.btn--outline-light:hover {
  border-color: var(--color-sage-light);
  color: var(--color-white);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

.section--dark .btn--ghost {
  color: var(--color-text-muted-on-dark);
  border-color: var(--color-border-dark);
}

.section--dark .btn--ghost:hover {
  color: var(--color-text-on-dark);
  border-color: var(--color-text-muted-on-dark);
}

/* ── Forms ── */

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
  color: inherit;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.section--dark .form-input,
.section--dark .form-select,
.section--dark .form-textarea {
  background: var(--color-charcoal-soft);
  border-color: var(--color-border-dark);
  color: var(--color-text-on-dark);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(91, 138, 122, 0.15);
}

.form-input--error,
.form-select--error {
  border-color: var(--color-error);
}

.form-error {
  display: block;
  margin-top: var(--space-xs);
  font-size: 0.8125rem;
  color: var(--color-error);
  min-height: 1.25em;
}

.form-row {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-hint {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.section--dark .form-hint {
  color: var(--color-text-muted-on-dark);
}

/* ── Treatment cards ── */

.treat-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.treat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.treat-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.treat-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.treat-card:hover .treat-card__image img {
  transform: scale(1.04);
}

.treat-card__body {
  padding: var(--space-lg);
}

.treat-card__category {
  display: inline-block;
  margin-bottom: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage);
}

.treat-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.treat-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.55;
}

.treat-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.treat-card__price {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

.treat-card__price span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

.treat-card__link {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-sage-dark);
  white-space: nowrap;
}

.treat-card__link:hover {
  color: var(--color-sage);
}

/* ── FAQ ── */

.faq {
  max-width: 760px;
  margin-inline: auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.section--dark .faq__item {
  border-color: var(--color-border-dark);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-lg) 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: left;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 1.125rem;
  line-height: 1;
  transition: transform var(--transition-base), background var(--transition-base);
}

.section--dark .faq__icon {
  border-color: var(--color-border-dark);
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
  background: var(--color-sage);
  border-color: var(--color-sage);
  color: var(--color-white);
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition-base);
}

.faq__answer-inner {
  padding-bottom: var(--space-lg);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.section--dark .faq__answer-inner {
  color: var(--color-text-muted-on-dark);
}

/* ── Wizard ── */

.wizard {
  max-width: 680px;
  margin-inline: auto;
}

.wizard__progress-wrap {
  margin-bottom: var(--space-2xl);
}

.wizard__progress-bar {
  height: 4px;
  background: var(--color-border-dark);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.wizard__progress-fill {
  height: 100%;
  width: 33.33%;
  background: var(--color-sage-light);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.wizard__steps {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
}

.wizard__step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

.wizard__step-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: var(--space-xs);
  border-radius: var(--radius-full);
  background: var(--color-charcoal-soft);
  color: var(--color-text-muted-on-dark);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: background var(--transition-base), color var(--transition-base);
}

.wizard__step-indicator.is-active .wizard__step-dot,
.wizard__step-indicator.is-complete .wizard__step-dot {
  background: var(--color-sage);
  color: var(--color-white);
}

.wizard__step-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted-on-dark);
}

.wizard__step-indicator.is-active .wizard__step-label {
  color: var(--color-text-on-dark);
}

.wizard__panel {
  display: none;
}

.wizard__panel.is-active {
  display: block;
  animation: wizardFadeIn var(--transition-base) ease;
}

@keyframes wizardFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard__actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.wizard__actions .btn {
  flex: 1;
}

.wizard__treatment-grid {
  display: grid;
  gap: var(--space-sm);
}

.wizard__treatment-option {
  position: relative;
}

.wizard__treatment-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.wizard__treatment-option label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-charcoal-soft);
  border: 2px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.wizard__treatment-option label:hover {
  border-color: var(--color-sage);
}

.wizard__treatment-option input:checked + label {
  border-color: var(--color-sage);
  background: rgba(91, 138, 122, 0.12);
}

.wizard__treatment-name {
  font-weight: 600;
  color: var(--color-text-on-dark);
}

.wizard__treatment-meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted-on-dark);
  text-align: right;
}

.wizard__time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: var(--space-sm);
}

.wizard__time-slot {
  position: relative;
}

.wizard__time-slot input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.wizard__time-slot label {
  display: block;
  padding: var(--space-sm) var(--space-md);
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-on-dark);
  background: var(--color-charcoal-soft);
  border: 2px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.wizard__time-slot input:checked + label {
  border-color: var(--color-sage);
  background: rgba(91, 138, 122, 0.15);
  color: var(--color-white);
}

.wizard__summary {
  padding: var(--space-lg);
  background: var(--color-charcoal-soft);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.wizard__summary dl {
  display: grid;
  gap: var(--space-sm);
}

.wizard__summary-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-sm);
  font-size: var(--text-sm);
}

.wizard__summary-row dt {
  font-weight: 600;
  color: var(--color-text-muted-on-dark);
}

.wizard__summary-row dd {
  color: var(--color-text-on-dark);
}

.wizard__success {
  text-align: center;
  padding: var(--space-2xl);
}

.wizard__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-lg);
  background: var(--color-sage);
  color: var(--color-white);
  font-size: 1.5rem;
  border-radius: var(--radius-full);
}

.wizard__success h3 {
  margin-bottom: var(--space-sm);
}

.wizard__success p {
  color: var(--color-text-muted-on-dark);
}

/* ── Footer ── */

.footer {
  background: var(--color-charcoal);
  color: var(--color-text-on-dark);
  padding-block: var(--space-3xl) var(--space-xl);
}

.footer__grid {
  display: grid;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer__brand {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

.footer__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted-on-dark);
  line-height: 1.7;
  max-width: 36ch;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sage-light);
  margin-bottom: var(--space-md);
}

.footer__list li {
  margin-bottom: var(--space-sm);
}

.footer__list a {
  font-size: var(--text-sm);
  color: var(--color-text-muted-on-dark);
}

.footer__list a:hover {
  color: var(--color-text-on-dark);
}

.footer__contact-item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted-on-dark);
}

.footer__contact-item a {
  color: var(--color-text-on-dark);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border-dark);
  font-size: var(--text-sm);
  color: var(--color-text-muted-on-dark);
}

.footer__bottom a {
  color: var(--color-text-muted-on-dark);
}

.footer__bottom a:hover {
  color: var(--color-text-on-dark);
}
