/* DM Physio presentation refresh: listing, team, contact and poster families.
   No text, visibility states, video layers, form behavior or navigation is changed. */

/* Pain-area introduction and condition cards. */
main .hero-subpage {
  background: linear-gradient(135deg, #f2f8f7, #fff 76%);
  border-bottom: 1px solid #dce8e6;
  padding-block: clamp(30px, 4.8vw, 58px);
}
main .hero-subpage .pci-title {
  color: #163e43;
  font-size: clamp(32px, 4.1vw, 52px);
  font-weight: 750;
  line-height: 1.13;
  letter-spacing: -.025em;
  margin-block: 0 18px;
  text-align: left;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
main .hero-subpage .pci-intro {
  color: #52656d;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.8;
  max-width: 78ch;
  margin: 0 0 28px;
  text-align: left;
}
main .hero-subpage .pci-accent { color: #0a6d74; }
main .pain-conditions-detail-section {
  background: #f7f9fa;
  padding-block: clamp(28px, 4vw, 48px);
}
main :is(.hero-subpage, .pain-conditions-detail-section) .pain-buttons-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  max-width: 1200px;
}
main :is(.hero-subpage, .pain-conditions-detail-section) .pain-button {
  min-height: 0;
  justify-content: flex-start;
  border: 1px solid #dbe5e8;
  border-radius: 18px;
  background: #fff;
  color: #163e43;
  box-shadow: 0 5px 18px rgb(30 60 70 / 5%);
  text-decoration: none;
}
main :is(.hero-subpage, .pain-conditions-detail-section) .pain-button:hover {
  background: #fff;
  border-color: #8dbeb8;
  box-shadow: 0 12px 28px rgb(30 60 70 / 10%);
  transform: translateY(-3px);
}
main :is(.hero-subpage, .pain-conditions-detail-section) .pain-button-text {
  background: #fff;
  border-top: 1px solid #e4ecee;
  color: #173f45;
  padding: 17px 18px;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  justify-content: flex-start;
}
main :is(.hero-subpage, .pain-conditions-detail-section) .pain-button:hover .pain-button-text {
  background: #f1f8f6;
  color: #0a6b70;
}
main .pain-conditions-detail-section .button-group { margin-top: 32px; }
main .pain-conditions-detail-section .back-button {
  min-height: 48px;
  padding: 13px 21px;
  background: #fff;
  border: 1px solid #b8d2d0;
  border-radius: 10px;
  color: #0b6970;
  box-shadow: none;
  font-size: 16px;
  font-weight: 700;
}
main .pain-conditions-detail-section .back-button:hover { background: #eaf5f2; }

/* Procedure overviews: the existing square media and playback behavior stay intact. */
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .page-hero {
  padding-block: clamp(30px, 4.8vw, 58px);
  background: linear-gradient(135deg, #f2f8f7, #fff 76%);
  border-bottom: 1px solid #dce8e6;
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .page-hero h1 {
  max-width: 950px;
  color: #163e43;
  font-size: clamp(32px, 4.1vw, 52px);
  font-weight: 750;
  line-height: 1.13;
  letter-spacing: -.025em;
  text-align: left;
  margin-block: 0 18px;
  word-break: normal;
  hyphens: none;
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .page-hero .lead {
  max-width: 78ch;
  color: #52656d;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.8;
  text-align: left;
  margin: 0 0 24px;
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .hero-tabs { gap: 10px; }
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .chip {
  min-height: 46px;
  border: 1px solid #b8d2d0;
  border-radius: 10px;
  background: #fff;
  color: #0b6970;
  box-shadow: none;
  padding: 11px 17px;
  font-size: 16px;
  font-weight: 700;
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .chip--primary {
  border-color: #0e7c86;
  background: #0e7c86;
  color: #fff;
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .procedures-list {
  background: #f7f9fa;
  padding-block: clamp(32px, 4vw, 52px);
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .procedures-list + .procedures-list { background: #f0f6f4; }
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .section-title {
  margin-bottom: 24px;
  color: #173f45;
  font-size: clamp(25px, 3vw, 35px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .procedure-cards-container {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  align-items: stretch;
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .procedure-card {
  min-width: 0;
  container-type: inline-size;
  container-name: procedure-card;
  border: 1px solid #dbe5e8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 18px rgb(30 60 70 / 5%);
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .procedure-card:hover {
  border-color: #8dbeb8;
  box-shadow: 0 12px 28px rgb(30 60 70 / 10%);
  transform: translateY(-3px);
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .procedure-card > :is(.card__media-link, .card__meta-wrap) { flex-shrink: 0; }
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 22px;
  gap: 13px;
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .card__title {
  color: #173f45;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .card__text {
  color: #52656d;
  font-size: 16px;
  line-height: 1.75;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .procedure-card .card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .procedure-card .card__actions > .btn {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  box-sizing: border-box;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
@media (min-width: 681px) {
  :is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .procedure-card .card__title { min-height: 2.6em; }
}
@container procedure-card (min-width: 460px) {
  :is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .procedure-card .card__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .card__meta {
  border-color: #dce8e6;
  background: #f5faf8;
  box-shadow: none;
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .card__meta .price { color: #0a6d74; }
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .card__meta .duration { color: #376c50; }
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main :is(.card__actions, .section-cta) .btn {
  min-height: 48px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
}
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .btn--primary { background: #118548; border-color: #118548; color: #fff; }
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .btn--primary:hover { background: #0c6d39; border-color: #0c6d39; }
:is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main :is(.btn--ghost, .btn--outline) {
  background: #fff;
  color: #0a6971;
  border-color: #b8d2d0;
}

/* Team and individual profiles share a consistent clinical color system. */
body.team-site {
  --team-ink: #173f45;
  --team-forest: #0e7c86;
  --team-forest-dark: #14515a;
  --team-sand: #118548;
  --team-cream: #f7f9fa;
  --team-paper: #fff;
  --team-muted: #52656d;
  --team-line: #dbe5e8;
  --team-shadow: 0 12px 30px rgb(30 60 70 / 8%);
  background: #f7f9fa;
}
.team-main :is(.team-heading, .profile-name, .profile-section h2, .team-cta h2, .therapist-card h2) {
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.13;
  letter-spacing: -.025em;
}
.team-main .team-intro { padding-block: clamp(35px, 5vw, 64px) 26px; }
.team-main .team-heading { font-size: clamp(36px, 4.9vw, 62px); }
.team-main .team-lead { line-height: 1.8; }
.team-main .therapist-grid { gap: 24px; }
.team-main .therapist-card { border-radius: 20px; background: #fff; box-shadow: 0 5px 18px rgb(30 60 70 / 5%); }
.team-main .therapist-card:hover { transform: translateY(-3px); border-color: #8dbeb8; box-shadow: var(--team-shadow); }
.team-main .therapist-card-body { padding: 24px; }
.team-main .therapist-location { color: #0a7379; letter-spacing: .06em; }
.team-main .therapist-card h2 { font-size: clamp(25px, 2.4vw, 31px); }
.team-main .therapist-card-action { color: #0b7078; }
.team-main .therapist-card-action span:last-child { background: #0e7c86; }
.team-main .therapist-card:hover .therapist-card-action span:last-child { background: #118548; }
.team-main .team-button { border-radius: 10px; background: #118548; color: #fff; font-weight: 700; }
.team-main .team-button:hover { background: #0c6d39; }
.team-main .team-button--light { background: #fff; border-color: #b8d2d0; color: #0a6971; }
.team-main .team-button--light:hover { background: #edf6f3; }
.team-main .profile-name { font-size: clamp(36px, 5vw, 64px); }
.team-main .profile-role { font-size: clamp(18px, 2vw, 21px); }
.team-main .profile-location { border-color: #d3e3df; background: #edf5f2; }
.team-main .profile-portrait { border-radius: 22px; box-shadow: var(--team-shadow); }
.team-main .profile-portrait::before { border-color: #c8dfd8; }
.team-main .profile-content-grid { gap: 24px; padding-top: 48px; }
.team-main .profile-section { border-radius: 20px; background: #fff; box-shadow: 0 5px 18px rgb(30 60 70 / 4%); }
.team-main .profile-section h2 { font-size: clamp(26px, 3vw, 34px); }
.team-main .profile-section :is(p, li) { color: #52656d; font-size: 16px; line-height: 1.8; }
.team-main .profile-section h3 { font-size: 20px; line-height: 1.35; }

/* Contact page: presentation only, preserving details/hidden/form states. */
main .contact-hero {
  background: linear-gradient(135deg, #edf7f5, #fff 76%);
  border-bottom: 1px solid #dce8e6;
  padding-block: clamp(30px, 4.5vw, 54px);
}
main .contact-hero__bg { background: linear-gradient(135deg, #e3f1ee, #f8fbfa); }
main .contact-hero .hero-eyebrow { color: #0a7079; background: #e3f2ee; font-weight: 700; }
main .contact-hero .hero-title {
  color: #163e43;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 750;
}
main .contact-hero .hero-lead { color: #52656d; max-width: 76ch; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.8; }
main .contact-main { background: #f7f9fa; padding-block: clamp(30px, 4vw, 50px); }
.contact-main .contact-grid { gap: 30px; }
.contact-main :is(.advice-window, .info-card) { border: 1px solid #dbe5e8; border-radius: 18px; background: #fff; box-shadow: 0 5px 18px rgb(30 60 70 / 5%); }
.contact-main .advice-window__titlebar { background: #f1f7f5; border-bottom: 1px solid #dce8e6; color: #163f45; }
.contact-main .advice-window__body { padding: 26px; }
.contact-main .advice-intro h3 { color: #173f45; font-size: clamp(23px, 2.4vw, 28px); line-height: 1.25; letter-spacing: -.015em; }
.contact-main .advice-intro p { color: #52656d; font-size: 16px; line-height: 1.75; }
.contact-main .advice-summary-btn { min-height: 48px; border: 1px solid #118548; border-radius: 10px; background: #118548; color: #fff; box-shadow: none; font-weight: 700; }
.contact-main .form-card { border-color: #dce8e6; border-radius: 14px; box-shadow: none; }
.contact-main .form-card__title { color: #173f45; font-size: 21px; line-height: 1.35; }
.contact-main .advice-form .field label { color: #25454b; font-size: 15px; }
.contact-main .advice-form .field :is(input, textarea) { border-color: #c6d6d9; border-radius: 10px; background: #fff; color: #1e3941; font-size: 16px; line-height: 1.5; padding: 12px 14px; }
.contact-main .advice-form .field :is(input, textarea):focus-visible { outline: 2px solid #0e7c86; outline-offset: 2px; box-shadow: 0 0 0 4px rgb(14 124 134 / 10%); }
.contact-main :is(.btn-submit, .btn-cancel) { min-height: 48px; border-radius: 10px; font-size: 16px; font-weight: 700; box-shadow: none; }
.contact-main .btn-submit { background: #118548; color: #fff; }
.contact-main .btn-submit:hover { background: #0c6d39; }
.contact-main .btn-cancel { border-color: #c6d6d9; color: #3d5962; background: #f7f9fa; }
.contact-main .info-card { padding: 22px; gap: 15px; }
.contact-main .info-card .content { min-width: 0; color: #52656d; font-size: 16px; line-height: 1.65; }
.contact-main .info-card .content b { color: #173f45; font-size: 17px; margin-bottom: 9px; }
.contact-main .info-card .content a { color: #0a6e76; text-underline-offset: 4px; }
.contact-main .phone-link { border-color: #dce8e6; border-radius: 10px; background: #f7faf9; padding: 13px 14px; }
.contact-main .phone-link:hover { background: #edf6f2; border-color: #a8cac1; }
.contact-main .phone-text .label { color: #0d5962; font-size: 19px; line-height: 1.3; }
.contact-main .phone-text .name { color: #5d7279; font-size: 14px; line-height: 1.6; margin-top: 3px; }
.contact-main .map-embed { border: 1px solid #dbe5e8; border-radius: 18px; box-shadow: 0 5px 18px rgb(30 60 70 / 5%); }

/* Anatomy catalogue: retain filtering, hidden cards and outbound destinations. */
.posters-page .posters-main { color: #173f45; }
.posters-main .posters-intro h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 750; line-height: 1.13; letter-spacing: -.025em; }
.posters-main .posters-lead { color: #52656d; line-height: 1.8; }
.posters-main .posters-toolbar { padding-block: 24px; border-color: #dce8e6; }
.posters-main .posters-toolbar input { border-color: #b8d2d0; border-radius: 10px; font-size: 16px; min-height: 48px; }
.posters-main .poster-grid { gap: 24px; }
.posters-main .poster-card { border-color: #dbe5e8; border-radius: 18px; box-shadow: 0 5px 18px rgb(30 60 70 / 4%); }
.posters-main .poster-card:hover { border-color: #8dbeb8; box-shadow: 0 12px 28px rgb(30 60 70 / 9%); }
.posters-main .poster-card__body { padding: 23px; }
.posters-main .poster-card h2 { color: #173f45; font-size: 20px; line-height: 1.4; }
.posters-main .poster-card__link { background: #0e7c86; border-radius: 10px; font-size: 15px; }
.posters-main .poster-card__link:hover { background: #0a646d; }
.posters-main .posters-help { background: #eaf5f1; border: 1px solid #d6e7e0; border-radius: 18px; }
.posters-main .posters-help h2 { color: #173f45; }
.posters-main .posters-help p { color: #52656d; }

/* Responsive layout changes affect cards and text, never media/player internals. */
@media (max-width: 900px) {
  main :is(.hero-subpage, .pain-conditions-detail-section) .pain-buttons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .team-main .profile-content-grid { padding-top: 34px; }
  .team-main .therapist-card-body { padding: 21px; }
}
@media (max-width: 600px) {
  main .hero-subpage .pci-intro { margin-bottom: 22px; line-height: 1.75; }
  main :is(.hero-subpage, .pain-conditions-detail-section) .pain-buttons-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  main :is(.hero-subpage, .pain-conditions-detail-section) .pain-button-text { font-size: 20px; padding: 16px; }
  main .pain-conditions-detail-section { padding-inline: 0; }
  :is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .procedure-cards-container { gap: 20px; }
  :is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .card__body { padding: 20px; }
  :is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .card__title { font-size: 21px; }
  .team-main .profile-page { padding-block: 30px 52px; }
  .team-main .profile-section { padding: 24px 21px; }
  .team-main .profile-section :is(p, li) { line-height: 1.75; }
  .contact-main .contact-grid { gap: 24px; }
  .contact-main .advice-window__body { padding: 22px 18px; }
  .contact-main .info-card { padding: 19px 17px; gap: 12px; }
  .posters-main .poster-grid { gap: 20px; }
  .posters-main .poster-card__body { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  main :is(.hero-subpage, .pain-conditions-detail-section) .pain-button,
  :is(.page--services, .page--kinesitherapy, .page--physiotherapy, .page--massages) main .procedure-card,
  .team-main :is(.therapist-card, .team-button),
  .posters-main .poster-card { transition: none; }
}
