/* HUBER 360 — SOLTERA reference */

:root {
  --black: #111111;
  --white: #ffffff;
  --bg: #f7f7f7;
  --ink: #111111;
  --ink-soft: rgba(17, 17, 17, 0.58);
  --ink-muted: rgba(17, 17, 17, 0.38);
  --line: rgba(17, 17, 17, 0.1);
  --container: min(1320px, 100% - 48px);
  --header-h: 72px;
  --radius: 24px;
  --radius-lg: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --section-pad: clamp(80px, 10vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
strong { font-weight: 700; }

/* ——— CTA button (SOLTERA) ——— */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 168px;
  padding: 7px 7px 7px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--black);
  border-radius: 999px;
  transition: background 0.25s, transform 0.25s var(--ease);
}

.btn-cta:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

.btn-cta__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--black);
  background: var(--white);
  border-radius: 50%;
}

.btn-cta--sm {
  min-width: 148px;
  padding: 6px 6px 6px 20px;
  font-size: 13px;
}

.btn-cta--sm .btn-cta__icon {
  width: 34px;
  height: 34px;
}

.btn-cta--hero {
  min-width: clamp(240px, 28vw, 320px);
  padding: 8px 8px 8px 28px;
  font-size: 14px;
}

.btn-cta--hero .btn-cta__icon {
  width: 42px;
  height: 42px;
}

.btn-cta--lg {
  min-width: clamp(260px, 32vw, 360px);
  padding: 10px 10px 10px 32px;
  font-size: 15px;
}

.btn-cta--lg .btn-cta__icon {
  width: 44px;
  height: 44px;
}

/* ——— Header ——— */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px clamp(20px, 4vw, 48px) 0;
  background: transparent;
  border: none;
  transition: color 0.35s;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1440px;
  margin-inline: auto;
}

.header__logo {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 32px);
  margin-inline: auto;
}

.header__nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
  transition: opacity 0.25s;
}

.header__nav a:hover,
.header__nav a.is-active { opacity: 1; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header__search {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  opacity: 0.85;
  transition: opacity 0.25s;
}

.header__search:hover { opacity: 1; }

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
}

.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.header--light {
  color: var(--white);
}

.header--light .btn-cta {
  background: var(--white);
  color: var(--black);
}

.header--light .btn-cta__icon {
  background: var(--black);
  color: var(--white);
}

.header--light .btn-cta:hover {
  background: #f0f0f0;
}

.header--dark {
  color: var(--ink);
}

.mobile-menu {
  position: fixed;
  top: calc(var(--header-h) + 8px);
  right: clamp(20px, 4vw, 48px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(320px, calc(100vw - 40px));
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { display: flex; }

.mobile-menu a:not(.btn-cta) {
  padding: 10px 4px;
  font-weight: 500;
}

.mobile-menu .btn-cta {
  width: 100%;
  margin-top: 8px;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
}

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

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.55) 100%),
    rgba(0, 0, 0, 0.2);
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__wordmark {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 168px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
  mix-blend-mode: overlay;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 24px) clamp(20px, 4vw, 48px) clamp(32px, 5vw, 56px);
  max-width: 1440px;
  margin-inline: auto;
}

.hero__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
  max-width: 720px;
}

.hero__title {
  margin: 0;
  max-width: min(520px, 92vw);
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: none;
}

.hero__chips {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(32px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(280px, 34vw);
}

.chip {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.chip strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.chip p {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.88;
}

.chip--media {
  display: flex;
  align-items: center;
  gap: 14px;
}

.chip--media img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 16px;
}

/* ——— Sections ——— */
.section {
  padding: var(--section-pad) clamp(20px, 4vw, 48px);
}

.tag-plus {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.tag-plus--light { color: rgba(255, 255, 255, 0.5); }

.split-head {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: clamp(24px, 5vw, 80px);
  max-width: var(--container);
  margin: 0 auto clamp(48px, 6vw, 72px);
  align-items: start;
}

.split-head__body { max-width: 640px; }

.display-title {
  margin: 12px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.display-title--light { color: var(--white); }

.lead {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ——— Benefits grid ——— */
.benefits__grid,
.products__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  max-width: var(--container);
  margin-inline: auto;
}

.media-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  max-width: 80%;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.benefits__grid .media-card--tall {
  grid-column: span 5;
  grid-row: span 2;
  min-height: 480px;
}

.benefits__grid .media-card:not(.media-card--tall) {
  grid-column: span 4;
  min-height: 220px;
}

.benefits__grid .metric-card {
  grid-column: span 3;
}

.benefits__grid .metric-card--wide {
  grid-column: span 5;
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  padding: 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
}

.metric-card__value {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.metric-card h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.metric-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ——— Feature slider (SOLTERA) ——— */
.feature-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.feature-slider__cta {
  flex-shrink: 0;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.feature-slider__viewport {
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  overscroll-behavior-x: contain;
}

.feature-slider__viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.feature-slider__viewport::-webkit-scrollbar {
  display: none;
}

.feature-slider__track {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 20px;
  width: max-content;
  min-width: 100%;
  padding: 0 clamp(20px, 4vw, 48px) 8px;
}

.slide-card {
  display: flex;
  flex: 0 0 auto;
  gap: 24px;
  align-items: stretch;
  width: 460px;
  min-height: 220px;
  padding: 20px;
  scroll-snap-align: start;
  background: #efefef;
  border-radius: var(--radius-lg);
}

.slide-card--wide {
  width: 540px;
}

.slide-card__media {
  flex-shrink: 0;
  width: 168px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
}

.slide-card__media--wide {
  width: 220px;
}

.slide-card__media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.slide-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 8px 8px 8px 0;
}

.slide-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.slide-card__label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.slide-card__desc {
  margin: 0;
  max-width: 280px;
  align-self: flex-end;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.feature-slider__progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  align-self: stretch;
  gap: clamp(16px, 3vw, 28px);
  width: 100%;
  max-width: var(--container);
  margin: clamp(28px, 4vw, 40px) auto 0;
  padding: 0 clamp(20px, 4vw, 48px);
}

.feature-slider__current,
.feature-slider__total {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.feature-slider__bar {
  position: relative;
  height: 2px;
  background: #e2e2e2;
  border-radius: 1px;
}

.feature-slider__fill {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20%;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: width 0.35s var(--ease-out), left 0.35s var(--ease-out);
  will-change: left, width;
}

/* ——— Showcase ——— */
.showcase {
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 48px);
}

.showcase__frame {
  position: relative;
  margin: 0 auto;
  max-width: var(--container);
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.showcase__frame img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.showcase__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
}

.showcase__caption blockquote {
  margin: 0;
  max-width: 560px;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--white);
}

/* ——— Therapy ——— */
.therapy__layout {
  max-width: var(--container);
  margin-inline: auto;
}

.therapy__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.therapy-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--bg);
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}

.therapy-tab span {
  font-family: var(--font-display);
  font-size: 11px;
  opacity: 0.5;
}

.therapy-tab.is-active {
  color: var(--white);
  background: var(--black);
}

.therapy__panels {
  position: relative;
  min-height: 360px;
}

.therapy-pane {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.therapy-pane.is-active {
  display: grid;
  animation: pane-in 0.45s var(--ease-out);
}

@keyframes pane-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.therapy-pane__copy h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
}

.therapy-pane__copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.therapy-pane__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.therapy-pane__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ——— Experience ——— */
.experience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: var(--container);
  margin-inline: auto;
}

.experience__grid .media-card--tall {
  min-height: 520px;
}

.experience__copy .display-title {
  margin-top: 16px;
}

.experience__copy p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.experience__copy .btn-cta {
  margin-top: 24px;
}

/* ——— FAQ ——— */
.faq__list {
  max-width: var(--container);
  margin-inline: auto;
}

.faq__item {
  border-top: 1px solid var(--line);
}

.faq__item:last-child { border-bottom: 1px solid var(--line); }

.faq__item summary {
  padding: 24px 0;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq__item p {
  margin: 0 0 24px;
  max-width: 640px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ——— Steps (SOLTERA how-it-works) ——— */
.steps {
  padding: var(--section-pad) clamp(20px, 4vw, 48px);
}

.steps__shell {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 44px);
  background: #efefef;
  border-radius: clamp(28px, 4vw, 40px);
}

.steps__head {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(260px, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.steps__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.steps__star {
  font-size: 18px;
  line-height: 1;
  opacity: 0.7;
}

.steps__intro {
  margin: 0;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-soft);
}

.steps__card {
  padding: clamp(20px, 3vw, 28px);
  background: var(--white);
  border-radius: clamp(22px, 3vw, 32px);
}

.steps__panels {
  position: relative;
  min-height: clamp(280px, 32vw, 380px);
}

.step-pane {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  animation: step-in 0.45s var(--ease-out);
}

.step-pane.is-active {
  display: grid;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-pane__media {
  margin: 0;
  overflow: hidden;
  border-radius: clamp(18px, 2.5vw, 24px);
}

.step-pane__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.step-pane__num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.step-pane__body h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-pane__body p {
  margin: 0;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.steps__progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  margin-top: clamp(24px, 3vw, 32px);
  padding-top: 8px;
}

.steps__current,
.steps__total {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.steps__bar {
  position: relative;
  height: 2px;
  padding: 0;
  background: #e2e2e2;
  border: none;
  border-radius: 1px;
  cursor: pointer;
}

.steps__fill {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20%;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: width 0.35s var(--ease-out), left 0.35s var(--ease-out);
  pointer-events: none;
}

/* ——— Contact form (SOLTERA) ——— */
.contact {
  position: relative;
  z-index: 2;
  padding: var(--section-pad) clamp(20px, 4vw, 48px) 0;
  margin-bottom: clamp(-120px, -10vw, -80px);
}

.contact__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  max-width: var(--container);
  margin-inline: auto;
}

.contact__info .display-title {
  margin-top: 12px;
}

.contact__info .lead {
  margin-bottom: 32px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact__detail-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--black);
  background: var(--bg);
  border-radius: 50%;
}

.contact__detail strong {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact__detail a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.contact__detail span:not(.contact__detail-icon) {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.contact--page {
  margin-bottom: 0;
  padding-bottom: var(--section-pad);
}

.contact--page + .site-footer {
  margin-top: 0;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(17, 17, 17, 0.08);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.field__input {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 14px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field__input::placeholder {
  color: rgba(17, 17, 17, 0.32);
}

.field__input:focus {
  outline: none;
  border-color: rgba(17, 17, 17, 0.22);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}

.field__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__submit {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
  border: none;
  cursor: pointer;
}

/* ——— Footer (SOLTERA) ——— */
.site-footer {
  position: relative;
  margin-top: 0;
  padding-top: clamp(100px, 12vw, 160px);
  min-height: clamp(520px, 68vh, 720px);
  overflow: hidden;
  color: var(--white);
  border-radius: clamp(36px, 5vw, 56px) clamp(36px, 5vw, 56px) 0 0;
}

.site-footer__bg {
  position: absolute;
  inset: 0;
}

.site-footer__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 22, 0.45) 0%, rgba(8, 14, 22, 0.62) 55%, rgba(8, 14, 22, 0.82) 100%);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: inherit;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 48px) clamp(24px, 4vw, 40px);
  max-width: 1440px;
  margin-inline: auto;
}

.site-footer__hero {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 900px;
}

.site-footer__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.site-footer__badge {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.site-footer__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: clamp(24px, 4vw, 48px);
  margin-top: auto;
  padding-top: clamp(48px, 8vw, 120px);
}

.site-footer__nav {
  display: flex;
  gap: clamp(32px, 5vw, 72px);
}

.site-footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s;
}

.site-footer__nav a:hover {
  color: var(--white);
}

.btn-top {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 168px;
  padding: 7px 7px 7px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  background: var(--white);
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s;
  justify-self: center;
}

.btn-top:hover {
  transform: translateY(-2px);
  background: #f2f2f2;
}

.btn-top__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--black);
  border-radius: 50%;
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-self: end;
}

.site-footer__contact {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer__contact-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--black);
  background: var(--white);
  border-radius: 50%;
}

.site-footer__contact strong {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__contact a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s;
}

.site-footer__contact a:hover {
  color: var(--white);
}

.site-footer__wordmark {
  margin: clamp(20px, 3vw, 32px) 0 0;
  font-family: var(--font-display);
  font-size: clamp(96px, 18vw, 220px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  pointer-events: none;
  user-select: none;
}

.site-footer__copy {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ——— Subpages ——— */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(420px, 52vh, 560px);
  margin-top: calc(var(--header-h) * -1);
  padding:
    calc(var(--header-h) + clamp(72px, 10vw, 120px))
    clamp(20px, 4vw, 48px)
    clamp(72px, 8vw, 104px);
  overflow: hidden;
  color: var(--white);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.68) 50%, rgba(0, 0, 0, 0.82) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 24px);
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
}

.page-hero__content .tag-plus {
  color: rgba(255, 255, 255, 0.6);
}

.page-hero__content .display-title {
  margin: 0;
  color: var(--white);
  max-width: 18ch;
}

.page-hero__content .lead {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
}

.page-content {
  padding: var(--section-pad) clamp(20px, 4vw, 48px);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  max-width: var(--container);
  margin-inline: auto;
}

.page-grid .metric-card { grid-column: span 3; }
.page-grid .metric-card--wide { grid-column: span 6; }
.page-grid .media-card { grid-column: span 6; }
.page-grid .media-card--full { grid-column: span 12; min-height: 360px; }

.info-block {
  max-width: var(--container);
  margin: 0 auto clamp(48px, 6vw, 72px);
}

.info-block h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.info-block p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.info-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.study-list {
  display: grid;
  gap: 16px;
  max-width: var(--container);
  margin-inline: auto;
}

.study-card {
  padding: 24px 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
}

.study-card__year {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.study-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.study-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.quote-card {
  padding: clamp(32px, 4vw, 48px);
  background: #efefef;
  border-radius: var(--radius-lg);
  max-width: var(--container);
  margin-inline: auto;
}

.quote-card blockquote {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.quote-card .btn-cta,
.info-block .btn-cta {
  margin-top: 24px;
}

.page-showcase {
  max-width: var(--container);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-showcase img {
  min-height: 320px;
  object-fit: cover;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  max-width: var(--container);
  margin-inline: auto;
}

.access-card {
  padding: 22px;
  background: var(--bg);
  border-radius: var(--radius);
}

.access-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.access-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ——— Reveal ——— */
.js .reveal,
.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.js .reveal.is-visible,
.js .reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-stagger.is-visible > * {
  transition-delay: calc(var(--i, 0) * 0.08s);
}

body.is-ready .hero .reveal {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits__grid > * {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .benefits__grid .media-card--tall,
  .experience__grid .media-card--tall {
    min-height: 360px;
  }

  .hero__chips {
    position: static;
    flex-direction: row;
    width: 100%;
    margin-top: 32px;
  }

  .chip { flex: 1; }
}

@media (max-width: 900px) {
  .header__nav,
  .header__search,
  .header__actions .btn-cta--sm { display: none; }

  .header__burger { display: flex; }

  .header__nav { margin: 0; }

  .split-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .therapy-pane {
    grid-template-columns: 1fr;
  }

  .experience__grid {
    grid-template-columns: 1fr;
  }

  .steps__head {
    grid-template-columns: 1fr;
  }

  .step-pane {
    grid-template-columns: 1fr;
  }

  .steps__panels {
    min-height: auto;
  }

  .contact__wrap {
    grid-template-columns: 1fr;
  }

  .site-footer__bar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer__contacts {
    justify-self: start;
  }

  .btn-top {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .hero__wordmark {
    font-size: clamp(48px, 18vw, 80px);
  }

  .hero__bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cta--hero {
    width: 100%;
    min-width: 0;
  }

  .hero__chips {
    flex-direction: column;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .slide-card {
    flex-direction: column;
    width: min(340px, calc(100vw - 64px));
    min-height: auto;
  }

  .slide-card--wide {
    width: min(340px, calc(100vw - 64px));
  }

  .slide-card__media,
  .slide-card__media--wide {
    width: 100%;
  }

  .slide-card__media img {
    min-height: 200px;
  }

  .slide-card__desc {
    align-self: flex-start;
    margin-top: 16px;
  }

  .contact__form {
    grid-template-columns: 1fr;
  }

  .contact__submit {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .contact {
    margin-bottom: -48px;
  }

  .site-footer__hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__nav {
    flex-direction: column;
    gap: 24px;
  }

  .page-grid .metric-card,
  .page-grid .metric-card--wide,
  .page-grid .media-card,
  .page-grid .media-card--full {
    grid-column: span 12;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js .reveal,
  .js .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .therapy-pane.is-active { animation: none; }

  .step-pane { animation: none; }

  .hero__video { display: none; }

  .hero__media {
    background: url("../assets/media/hero-poster.jpg") center/cover no-repeat;
  }
}
