:root {
  --charcoal: #2b2b2b;
  --olive: #a8ad7a;
  --olive-dark: #949a69;
  --off-white: #f7f5ef;
  --white: #ffffff;
  --text-light: #f2f2f2;
  --text-dark: #1f1f1f;
  --radius: 12px;
  --shadow-soft: 0 16px 35px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Satoshi", system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
}


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

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 120px;
}

#yhteystiedot {
  scroll-margin-top: 120px;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 24px 5vw 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-light);
}

.page-privacy .site-header {
  position: static;
  background: var(--charcoal);
  padding: 20px 5vw;
}

.page-privacy .nav {
  color: var(--text-light);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: clamp(120px, 14vw, 170px);
  aspect-ratio: 4 / 2.5;
  object-fit: cover;
  object-position: center 45%;
  display: block;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--charcoal);
  color: var(--text-light);
  border-radius: 12px;
  padding: 14px;
  min-width: 240px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.dropdown-menu a {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.dropdown-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
}

.dropdown-label:first-child {
  margin-top: 0;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  border: none;
  appearance: none;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

@media (min-width: 901px) {
  .hero .btn {
    padding: 14px 32px;
    font-size: 0.85rem;
  }
}

.btn-olive {
  background: var(--olive);
  color: var(--charcoal);
  box-shadow: 0 5px 22px rgba(168, 173, 122, 0.35);
  border: 1px solid transparent;
}

.btn-olive:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text-light);
  background: transparent;
}

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

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--charcoal);
  overflow: hidden;
}

.hero-media {
  background-image: linear-gradient(rgba(19, 19, 19, 0.0), rgba(19, 19, 19, 0.0)),
    url("assets/images/sali_hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.parallax-bg {
  background-position: center calc(50% + var(--parallax, 0px));
  will-change: background-position;
}

.parallax-img {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.hero-text {
  padding: 120px 8vw 80px;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  max-width: 720px;
  min-width: 0;
}

.overline {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

h1 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.15;
  overflow-wrap: normal;
}

.lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  max-width: 420px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
  max-width: 260px;
}

.page-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: center;
  color: var(--text-light);
  background: var(--charcoal);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.25) 0%,
    rgba(10, 10, 10, 0.72) 85%
  );
}

.page-hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/images/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.page-about .page-hero-media {
  background-image: url("assets/images/hanna_1.jpg");
  background-position: center 20%;
}

.page-services .page-hero-media {
  background-image: url("assets/images/1815.jpg");
  background-position: center 20%;
}

.page-hero-media.parallax-bg {
  background-position: center calc(50% + var(--parallax, 0px));
}

.page-about .page-hero-media.parallax-bg {
  background-position: center calc(20% + var(--parallax, 0px));
}

.page-services .page-hero-media.parallax-bg {
  background-position: center calc(20% + var(--parallax, 0px));
}

@media (min-width: 901px) {
  .page-about .page-hero-media {
    background-position: center 35%;
  }

  .page-services .page-hero-media {
    background-position: center 43%;
  }

  .page-about .page-hero-media.parallax-bg {
    background-position: center calc(35% + var(--parallax, 0px));
  }

  .page-services .page-hero-media.parallax-bg {
    background-position: center calc(43% + var(--parallax, 0px));
  }
}

.page-hero-text {
  position: relative;
  z-index: 1;
  padding: 130px 0 80px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.page-hero-subtitle {
  margin: 14px auto 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
}

.divider-strip {
  background: var(--off-white);
  padding: 28px 0;
  border-top: 1px solid rgba(43, 43, 43, 0.1);
  border-bottom: 1px solid rgba(43, 43, 43, 0.1);
  overflow: hidden;
}

.strip-text {
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(43, 43, 43, 0.5);
  white-space: nowrap;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(31, 31, 31, 0.9);
}

.services-intro {
  padding: 64px 0 48px;
  background: var(--off-white);
}

.services-intro-text {
  margin: 0;
  max-width: 760px;
  font-size: 1.05rem;
  color: rgba(31, 31, 31, 0.75);
}

.services {
  background: radial-gradient(
      circle at 50% 35%,
      rgba(168, 173, 122, 0.85) 0%,
      rgba(146, 152, 103, 0.82) 55%,
      rgba(120, 126, 83, 0.78) 100%
    ),
    var(--olive);
  color: var(--charcoal);
  padding: 120px 0;
}

.services-heading {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}

.services .section-title {
  color: inherit;
}

.services-underline {
  display: block;
  height: 2px;
  width: 0;
  background: rgba(43, 43, 43, 0.7);
  transition: width 0.4s ease;
}

.services.in-view .services-underline {
  width: 90px;
}

.services-subtitle {
  margin: 16px 0 32px;
  max-width: 640px;
  color: rgba(31, 31, 31, 0.75);
  font-size: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.services-cta {
  margin-top: 26px;
  display: flex;
  justify-content: flex-start;
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 360px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.5) 55%,
    rgba(10, 10, 10, 0.75) 100%
  );
  z-index: 0;
}

.service-title,
.service-cta {
  position: relative;
  z-index: 1;
  color: #f2f2f2;
}

.service-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}

.service-cta {
  justify-self: end;
  align-self: end;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.service-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.service-card:hover .service-cta::after {
  width: 100%;
}

.service-fysioterapia {
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, #7e8a55, #2b2b2b);
}

.service-hieronta {
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, #8d7a5b, #3a3126);
}

.service-akupunktio {
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, #6d8b88, #2a3434);
}

.service-physiopilates {
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, #a49b6a, #3a3527);
}

.service-fysio-treeni {
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, #6f7c55, #243028);
}

.service-fysio-klinikka {
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, #7b8d63, #2a2f24);
}

.service-sps {
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, #8b8f7e, #2d2f2b);
}

.service-palaudu {
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, #a18b74, #373027);
}

.service-palautumisohjaus {
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, #b0a37a, #3b3629);
}

.service-terveysluennot {
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, #9c7f5b, #342d26);
}

.service-ratsastaja {
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, #7b6a4f, #302b24);
}

.service-yksilo {
  background-image: url("assets/images/fysioterapia.jpg");
}

.service-pienryhmat {
  background-image: url("assets/images/sps.jpg");
}

.service-muut {
  background-image: url("assets/images/palautumisohjaus2.jpg");
}

.pricing-highlight {
  padding: 100px 0;
  background: #f3f0e7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: start;
}

.pricing-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.pricing-content p {
  margin: 0;
  font-size: 1rem;
  color: rgba(31, 31, 31, 0.75);
  max-width: 520px;
}

.pricing-cta {
  margin-top: 6px;
}

.pricing-image {
  min-height: 320px;
  border-radius: 18px;
  background-image: linear-gradient(135deg, rgba(30, 30, 30, 0.28), rgba(30, 30, 30, 0.05)),
    url("assets/images/office.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.news {
  padding: 100px 0;
  background: #f3f0e7;
}

.news-header {
  max-width: 720px;
  margin-bottom: 32px;
  display: grid;
  gap: 16px;
}

.news-header p {
  margin: 0;
  font-size: 1rem;
  color: rgba(31, 31, 31, 0.75);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.news-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(31, 31, 31, 0.65);
}

.news-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(43, 43, 43, 0.08);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
}

html.js .news-card {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.js .news.in-view .news-card {
  opacity: 1;
  transform: translateY(0);
}

html.js .news.in-view .news-card:nth-child(1) {
  transition-delay: 0s;
}

html.js .news.in-view .news-card:nth-child(2) {
  transition-delay: 0.12s;
}

html.js .news.in-view .news-card:nth-child(3) {
  transition-delay: 0.24s;
}

html.js .news.in-view .news-card:nth-child(4) {
  transition-delay: 0.36s;
}

html.js .news.in-view .news-card:nth-child(5) {
  transition-delay: 0.48s;
}

html.js .news.in-view .news-card:nth-child(6) {
  transition-delay: 0.6s;
}

.news-media {
  min-height: 180px;
  background-image: linear-gradient(135deg, rgba(43, 43, 43, 0.5), rgba(43, 43, 43, 0.1)),
    radial-gradient(circle at 30% 20%, var(--news-accent, rgba(168, 173, 122, 0.8)) 0%, rgba(168, 173, 122, 0.1) 60%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 60%),
    var(--news-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.news-media--pilates {
  --news-image: url("assets/images/pilates_1.jpg");
}

.news-media--recovery {
  --news-image: url("assets/images/palautumisohjaus.jpg");
}

.news-media--appointments {
  --news-image: url("assets/images/office.jpg");
}

.news-content {
  padding: 20px 22px 24px;
  display: grid;
  gap: 12px;
  color: rgba(31, 31, 31, 0.8);
}

.news-tag {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.55);
}

.news-content h3 {
  margin: 0;
  font-size: 1.3rem;
  color: rgba(31, 31, 31, 0.9);
}

.news-content p {
  margin: 0;
}

.news-cta {
  justify-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 4px;
}

.news-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.news-card:hover .news-cta::after,
.news-card:focus-within .news-cta::after {
  width: 100%;
}

.service-details {
  padding: 110px 0 130px;
  background: var(--off-white);
}

.service-details-intro {
  max-width: 720px;
  margin-bottom: 52px;
  display: grid;
  gap: 12px;
}

.page-services .service-details-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.service-details-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.service-details-intro p {
  margin: 0;
  color: rgba(31, 31, 31, 0.75);
}

.service-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 28px 0 60px;
}

.service-summary-card {
  background: var(--white);
  border-radius: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(43, 43, 43, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.service-summary-label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: rgba(31, 31, 31, 0.55);
}

.service-summary-text {
  margin: 0;
  color: rgba(31, 31, 31, 0.78);
  font-size: 0.95rem;
}

.service-category {
  margin-top: 70px;
}

.service-category:first-of-type {
  margin-top: 0;
}

.service-category-header {
  max-width: 760px;
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
}

.service-divider {
  position: relative;
  height: 400px;
  border-radius: 22px;
  background-image: url("assets/images/studio.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 16px 0 64px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  max-width: 100%;
}

.service-divider--muut {
  background-image: url("assets/images/maisema_palaudu.jpg");
  background-position: center 35%;
}

.service-divider::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.4), rgba(20, 20, 20, 0.05));
  pointer-events: none;
}

.service-divider.parallax-bg {
  background-position: center calc(50% + var(--parallax, 0px));
}

.service-divider--muut.parallax-bg {
  background-position: center calc(48% + var(--parallax, 0px));
}

.service-category--compact .service-category-header {
  margin-bottom: 6px;
}

.service-category--compact > .service-detail:first-of-type {
  padding-top: 12px;
}

.service-category-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: rgba(31, 31, 31, 0.55);
}

.service-category-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  color: rgba(31, 31, 31, 0.9);
}

.service-category-header p {
  margin: 0;
  color: rgba(31, 31, 31, 0.75);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 40px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid rgba(43, 43, 43, 0.12);
  scroll-margin-top: 120px;
}

.service-detail > * {
  min-width: 0;
}

.service-detail--image-large {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.service-detail--image-large .service-photo {
  min-height: 300px;
  height: 300px;
}

.service-category .service-detail:last-child {
  border-bottom: none;
}

.service-detail--reverse .service-detail-content {
  order: 2;
}

.service-detail--reverse .service-photo {
  order: 1;
}

.service-detail--text {
  grid-template-columns: 1fr;
  align-items: start;
}

.service-detail-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  padding: 32px 0 40px;
  border-bottom: 1px solid rgba(43, 43, 43, 0.12);
}

.service-detail-pair > * {
  min-width: 0;
}

.service-category--compact .service-detail-pair {
  padding-top: 12px;
}

.service-detail-pair--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.service-detail-pair--spaced {
  margin-top: 20px;
}

.service-detail-pair .service-detail {
  padding: 0;
  border-bottom: none;
  align-self: start;
}

.service-detail h4 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: rgba(31, 31, 31, 0.9);
}

.service-detail p {
  margin: 0 0 14px;
  color: rgba(31, 31, 31, 0.75);
}

#terveysluennot .service-detail-content {
  max-width: 720px;
}


.service-callout {
  margin: 18px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--olive-dark);
  background: rgba(168, 173, 122, 0.18);
  color: rgba(31, 31, 31, 0.8);
  font-size: 0.95rem;
}

.service-callout-title {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-right: 8px;
  font-size: 0.75rem;
}

.service-quotes {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(168, 173, 122, 0.2);
  color: rgba(31, 31, 31, 0.75);
  display: inline-grid;
  gap: 8px;
}

.service-quotes p {
  margin: 0;
  font-style: italic;
}

.service-detail .service-subheading {
  margin: 24px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(31, 31, 31, 0.65);
}

.service-list {
  margin: 0 0 16px;
  padding-left: 18px;
  color: rgba(31, 31, 31, 0.75);
  display: grid;
  gap: 10px;
}

.service-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-actions--spaced {
  margin-top: 28px;
}

.service-inline-image {
  margin-top: 16px;
  width: 220px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: rgba(31, 31, 31, 0.85);
}

.service-photo {
  border-radius: 18px;
  min-height: 220px;
  height: 220px;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(43, 43, 43, 0.7), rgba(43, 43, 43, 0.2)),
    radial-gradient(circle at 20% 20%, var(--photo-accent, rgba(168, 173, 122, 0.7)) 0%, rgba(168, 173, 122, 0.15) 55%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 60%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

html.js .service-photo,
html.js .service-divider {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .service-photo.is-visible,
html.js .service-divider.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-photo-fysioterapia {
  background-image: linear-gradient(135deg, rgba(20, 20, 20, 0.45), rgba(20, 20, 20, 0.05)),
    url("assets/images/fysio_toimisto.jpg");
  background-position: center 40%;
}

.service-photo-hieronta {
  --photo-accent: rgba(180, 150, 120, 0.85);
}

.service-photo-akupunktio {
  --photo-accent: rgba(140, 170, 170, 0.85);
}

.service-photo-physiopilates {
  background-image: linear-gradient(135deg, rgba(25, 25, 25, 0.4), rgba(25, 25, 25, 0.05)),
    url("assets/images/pilates_2.jpg");
}

.service-photo-pilates-laite {
  background-image: linear-gradient(135deg, rgba(20, 20, 20, 0.4), rgba(20, 20, 20, 0.05)),
    url("assets/images/1891.jpg");
  background-position: center 20%;
}

.service-photo-fysio-treeni {
  background-image: linear-gradient(135deg, rgba(20, 20, 20, 0.4), rgba(20, 20, 20, 0.05)),
    url("assets/images/1891.jpg");
}

.service-photo-fysio-klinikka {
  background-image: linear-gradient(135deg, rgba(20, 20, 20, 0.35), rgba(20, 20, 20, 0.05)),
    url("assets/images/office.jpg");
}

.service-photo-sps {
  background-image: linear-gradient(135deg, rgba(20, 20, 20, 0.45), rgba(20, 20, 20, 0.05)),
    url("assets/images/sps.jpg");
  background-position: center 50%;
}

.service-photo-palaudu {
  background-image: linear-gradient(135deg, rgba(20, 20, 20, 0.45), rgba(20, 20, 20, 0.05)),
    url("assets/images/maisema_palaudu.jpg");
  background-position: center 20%;
}

.service-photo-palautumisohjaus {
  background-image: linear-gradient(135deg, rgba(20, 20, 20, 0.4), rgba(20, 20, 20, 0.05)),
    url("assets/images/palautumisohjaus.jpg");
}

.service-photo-terveysluennot {
  background-image: linear-gradient(135deg, rgba(20, 20, 20, 0.35), rgba(20, 20, 20, 0.05)),
    url("assets/images/fysioterapia.jpg");
  background-position: center 20%;
}

.service-photo-ratsastaja {
  --photo-accent: rgba(150, 120, 90, 0.85);
  background-image: linear-gradient(135deg, rgba(20, 20, 20, 0.4), rgba(20, 20, 20, 0.05)),
    url("assets/images/15328.jpg");
  background-position: center 30%;
}

.pricing {
  padding: 110px 0 130px;
  background: #fdfbf6;
  border-top: 1px solid rgba(43, 43, 43, 0.08);
}

.pricing-header {
  max-width: 720px;
  margin-bottom: 36px;
  display: grid;
  gap: 10px;
}

.pricing-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: rgba(31, 31, 31, 0.55);
}

.pricing-header h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.pricing-header p {
  margin: 0;
  color: rgba(31, 31, 31, 0.75);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--white);
  border-radius: 18px;
  padding: 24px 26px;
  border: 1px solid rgba(43, 43, 43, 0.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 12px;
}

.pricing-card h3 {
  margin: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(31, 31, 31, 0.75);
}

.pricing-note {
  margin: 0;
  color: rgba(31, 31, 31, 0.65);
  font-size: 0.9rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.pricing-table th {
  text-align: left;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.5);
  padding: 8px 6px;
}

.pricing-table td {
  padding: 10px 6px;
  border-bottom: 1px solid rgba(43, 43, 43, 0.08);
  color: rgba(31, 31, 31, 0.75);
  vertical-align: top;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.pricing-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: rgba(31, 31, 31, 0.85);
  white-space: nowrap;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-footer {
  margin-top: 32px;
  display: grid;
  gap: 14px;
  color: rgba(31, 31, 31, 0.7);
  font-size: 0.95rem;
  max-width: 760px;
}

.pricing-footer strong {
  color: rgba(31, 31, 31, 0.9);
}

.policy {
  padding: 90px 0 130px;
  background: var(--off-white);
}

.policy-header {
  margin-bottom: 30px;
  text-align: left;
}

.policy-header h1 {
  margin: 0 0 10px;
}

.policy-date {
  margin: 0;
  color: rgba(31, 31, 31, 0.65);
  font-size: 0.95rem;
}

.policy-content {
  max-width: 820px;
  color: rgba(31, 31, 31, 0.78);
}

.policy-content h2 {
  margin: 26px 0 10px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(31, 31, 31, 0.85);
}

.policy-content p {
  margin: 0 0 14px;
}

.policy-content ul {
  margin: 0 0 18px;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.policy-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about {
  padding: 110px 0 130px;
  background: var(--off-white);
}

.about-article {
  display: grid;
  gap: 60px;
}

.about-block {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}

.about-block > * {
  min-width: 0;
}

.about-block--reverse .about-text {
  order: 2;
}

.about-block--reverse .about-image {
  order: 1;
}

.about-text h2 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  color: rgba(31, 31, 31, 0.9);
}

.about-subtitle {
  margin: -6px 0 14px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: rgba(31, 31, 31, 0.65);
}

.about-text p {
  margin: 0 0 14px;
  color: rgba(31, 31, 31, 0.75);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-image {
  border-radius: 20px;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(43, 43, 43, 0.65), rgba(43, 43, 43, 0.2)),
    radial-gradient(circle at 25% 20%, var(--about-accent, rgba(168, 173, 122, 0.7)) 0%, rgba(168, 173, 122, 0.15) 55%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 60%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-image--studio {
  background-image: linear-gradient(135deg, rgba(20, 20, 20, 0.4), rgba(20, 20, 20, 0.05)),
    url("assets/images/sali_hero.jpg");
}

.about-image--therapy {
  background-image: linear-gradient(135deg, rgba(20, 20, 20, 0.4), rgba(20, 20, 20, 0.05)),
    url("assets/images/fysioterapia.jpg");
  background-position: center 20%;
}

.about-image--nature {
  background-image: linear-gradient(135deg, rgba(20, 20, 20, 0.4), rgba(20, 20, 20, 0.05)),
    url("assets/images/ratsastus.jpg");
  background-position: center 100%;
}

.btn-outline-dark {
  border: 1px solid rgba(43, 43, 43, 0.45);
  color: var(--charcoal);
  background: transparent;
  padding: 10px 18px;
  justify-self: flex-start;
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

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

.btn-outline-black {
  border: 1px solid #1f1f1f;
  color: #1f1f1f;
  background: transparent;
  padding: 14px 30px;
}

.btn-outline-black:hover {
  border-color: #1f1f1f;
  color: #1f1f1f;
}

.referral {
  padding: 90px 0 60px;
  background: var(--off-white);
}

.referral-title {
  margin: 0 0 24px;
}

.referral-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.referral-card {
  border-radius: var(--radius);
  padding: 20px 22px;
  background: rgba(168, 173, 122, 0.22);
  color: rgba(43, 43, 43, 0.75);
  border: 1px solid rgba(43, 43, 43, 0.08);
}

.referral-stars {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: rgba(43, 43, 43, 0.6);
  margin-bottom: 8px;
}

.referral-quote {
  margin: 0 0 12px;
  font-size: 1rem;
  font-style: italic;
}

.referral-name {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-divider {
  height: 1px;
  width: min(1100px, 90%);
  margin: 30px auto 0;
  background: rgba(43, 43, 43, 0.12);
}

.section-divider--services {
  margin: 24px auto 48px;
}

.profile {
  background: var(--off-white);
  padding: 100px 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
}

.profile-image {
  overflow: hidden;
  border-radius: 10px;
  background: var(--off-white);
  aspect-ratio: 1 / 1;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.profile-image img {
  border-radius: 0;
  background: var(--off-white);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-text h2 {
  margin: 0 0 4px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(31, 31, 31, 0.9);
}

.profile-text .profile-subtitle {
  margin: 0 0 34px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.7);
}

.profile-text p {
  margin: 0 0 20px;
  color: rgba(31, 31, 31, 0.7);
}

.contact {
  padding: 100px 0 120px;
  background: var(--off-white);
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  width: 100%;
  display: grid;
  gap: 18px;
}

.contact-card h2 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1.4rem;
}


.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.contact-left {
  display: grid;
  gap: 18px;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin: 0;
  color: rgba(31, 31, 31, 0.75);
}

.contact-form {
  display: grid;
  gap: 14px;
  align-self: start;
  justify-items: stretch;
  width: 100%;
  max-width: none;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.7);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(31, 31, 31, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: #fbfaf6;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  justify-self: start;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form-status {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(31, 31, 31, 0.7);
}

.contact-form-status--error {
  color: #9b2c2c;
}

.contact-button {
  justify-self: flex-start;
  margin-top: 0;
}

.contact-map {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(31, 31, 31, 0.12);
}

.contact-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.btn-olive-strong {
  padding: 14px 30px;
  background: #8f955f;
  color: var(--charcoal);
  border: 1px solid transparent;
}

.btn-olive-strong:hover {
  background: #80864f;
  border-color: #80864f;
}

.site-footer {
  padding: 36px 0 48px;
  background: var(--off-white);
  border-top: 1px solid rgba(43, 43, 43, 0.12);
}

.footer-content {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-nav a {
  color: rgba(31, 31, 31, 0.65);
  transition: color 0.2s ease;
}

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

.footer-trademark {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(43, 43, 43, 0.6);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle-label span {
  width: 24px;
  height: 2px;
  background: var(--text-light);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 45vh;
  }

  .hero-text {
    padding: 80px 8vw 70px;
  }

  .services-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 220px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-detail--reverse .service-detail-content,
  .service-detail--reverse .service-photo {
    order: initial;
  }

  .service-detail-pair {
    grid-template-columns: 1fr;
    padding: 26px 0 34px;
  }

  .service-photo {
    min-height: 180px;
    height: 180px;
  }

  .service-detail--image-large .service-photo {
    min-height: 240px;
    height: 240px;
  }

  .service-divider {
    height: 260px;
    margin: 12px 0 44px;
  }

  .news {
    padding: 80px 0;
  }

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

  .pricing-image {
    min-height: 240px;
  }

  .referral-card {
    padding: 24px;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: fixed;
    background: rgba(43, 43, 43, 0.9);
    padding: 18px 6vw;
    backdrop-filter: blur(6px);
  }

  .nav {
    position: relative;
  }

  .nav-toggle-label {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--charcoal);
    padding: 18px;
    border-radius: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: min(240px, 80vw);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    margin-top: 8px;
    padding: 10px 12px;
    min-width: unset;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-toggle:checked ~ .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .btn {
    width: 100%;
  }

  .page-hero-text {
    padding: 120px 0 70px;
  }

  .service-details {
    padding: 90px 0 110px;
  }

  .service-summary {
    grid-template-columns: 1fr;
  }

  .pricing {
    padding: 90px 0 110px;
  }

  .about {
    padding: 90px 0 110px;
  }

  .about-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-block--reverse .about-text,
  .about-block--reverse .about-image {
    order: initial;
  }

  .about-image {
    min-height: 220px;
  }

  .contact-card,
  .profile-text {
    padding: 0;
  }

  .contact-card {
    padding: 32px 24px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-left,
  .contact-form {
    width: 100%;
  }

  .contact-map {
    max-width: none;
  }

  .contact-button {
    order: 4;
  }

  .contact-details {
    order: 3;
  }

  .pricing-table {
    table-layout: fixed;
  }

  .pricing-table th {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .pricing-table th:first-child,
  .pricing-table td:first-child {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

@media (max-width: 520px) {
  .hero-text {
    padding: 70px 7vw 60px;
  }

  h1 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .referral-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
    letter-spacing: 0.12em;
    overflow-wrap: anywhere;
  }

  .news .section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
    letter-spacing: 0.12em;
    overflow-wrap: anywhere;
  }

  .pricing-header h2 {
    overflow-wrap: anywhere;
    letter-spacing: 0.12em;
  }

  .divider-strip {
    display: none;
  }

  .services {
    padding: 70px 0;
  }

  .page-hero-text {
    padding: 110px 0 60px;
  }

  .service-details {
    padding: 70px 0 90px;
  }

  .pricing {
    padding: 70px 0 90px;
  }

  .policy {
    padding: 70px 0 90px;
  }

  .about {
    padding: 70px 0 90px;
  }

  .news {
    padding: 70px 0 90px;
  }
}
