/* ============================================
   MADAM CLINIK — Component Styles
   Shared components: loader, topbar, menu,
   hero, philosophy, doctor, treatments,
   before/after, journey, testimonials,
   FAQ, clinics, contact, footer
   ============================================ */


/* ─── Loader ─────────────────────────────── */

.loader {
  position: fixed;
  inset: 0;
  background: var(--ink-soft);
  color: var(--bone);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s var(--ease-out), visibility 1s;
}

.loader.fade {
  opacity: 0;
  visibility: hidden;
}

.loader-grid {
  position: absolute;
  inset: 60px;
  pointer-events: none;
  opacity: 0.25;
}

.loader-grid span {
  position: absolute;
  background: var(--bone);
}

.loader-grid span:nth-child(1) {
  top: 0;
  left: 0;
  width: 1px;
  height: 40px;
}

.loader-grid span:nth-child(2) {
  top: 0;
  right: 0;
  width: 1px;
  height: 40px;
}

.loader-grid span:nth-child(3) {
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
}

.loader-grid span:nth-child(4) {
  bottom: 0;
  right: 0;
  width: 40px;
  height: 1px;
}

.loader-center {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-m {
  color: var(--bone);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.6;
    transform: scale(0.98);
  }
}

.loader-name {
  font-size: 11px;
  letter-spacing: 0.4em;
  opacity: 0.7;
  margin-top: 8px;
}

.loader-bar {
  width: 180px;
  height: 1px;
  background: rgba(244, 239, 231, 0.15);
  margin-top: 20px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--bone);
  transition: width 0.3s;
}

.loader-pct {
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.6;
}


/* ─── TopBar ─────────────────────────────── */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(244, 239, 231, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26, 23, 18, 0.08);
  transition: padding 0.4s, background 0.4s;
}

.topbar.scrolled {
  padding: 10px 0;
  background: rgba(244, 239, 231, 0.94);
}

.topbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

@media (max-width: 1100px) {
  .topbar-center {
    display: none !important;
  }
}

.topbar-logo {
  justify-self: start;
}

.topbar-center {
  display: flex;
  justify-content: center;
  gap: 36px;
  font-size: 13px;
  font-weight: 400;
}

.topbar-center a {
  position: relative;
  padding: 6px 0;
}

.topbar-center a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--fg);
  transition: width 0.4s var(--ease-out);
}

.topbar-center a:hover::after {
  width: 100%;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: end;
}


/* ─── Language toggle ────────────────────── */

.lang-toggle {
  display: flex;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  font-family: var(--mono);
}

.lang-toggle a,
.lang-toggle button {
  opacity: 0.4;
  transition: opacity 0.2s;
}

.lang-toggle .on {
  opacity: 1;
}

.lang-toggle span {
  opacity: 0.3;
}

.lang-toggle.big {
  font-size: 14px;
  letter-spacing: 0.15em;
}


/* ─── CTA button ─────────────────────────── */

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 40px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 500;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}

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


/* ─── Menu button ────────────────────────── */

.menu-btn {
  width: 28px;
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-btn span {
  display: block;
  height: 1px;
  width: 22px;
  background: var(--fg);
  transition: transform 0.3s;
}

.menu-btn:hover span:nth-child(1) {
  transform: translateX(3px);
}

.menu-btn:hover span:nth-child(2) {
  transform: translateX(-3px);
}

@media (max-width: 900px) {
  .topbar-center {
    display: none;
  }

  .topbar-inner {
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 0 20px;
  }

  .cta-btn span {
    display: none;
  }
}


/* ─── Fullscreen Menu ────────────────────── */

.fs-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.fs-menu.open {
  visibility: visible;
  pointer-events: auto;
}

.fs-menu-panel {
  position: absolute;
  inset: 0;
  background: var(--ink-soft);
  clip-path: circle(0% at 100% 0%);
  transition: clip-path 0.9s var(--ease-smooth);
}

.fs-menu.open .fs-menu-panel {
  clip-path: circle(150% at 100% 0%);
}

.fs-menu-inner {
  position: relative;
  height: 100%;
  color: var(--bone);
  padding: 40px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s;
}

.fs-menu.open .fs-menu-inner {
  opacity: 1;
  transition: opacity 0.4s 0.4s;
}

.fs-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.fs-close {
  color: var(--bone);
}

.fs-menu-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  margin-top: auto;
  padding-top: 60px;
}

.fs-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: end;
}

.fs-nav-item {
  display: grid;
  grid-template-columns: 48px 1fr 40px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid rgba(244, 239, 231, 0.12);
  color: var(--bone);
  text-align: left;
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out),
    color 0.3s;
  text-decoration: none;
}

.fs-menu.open .fs-nav-item {
  opacity: 1;
  transform: translateY(0);
}

.fs-nav-item:last-child {
  border-bottom: 1px solid rgba(244, 239, 231, 0.12);
}

.fs-nav-item:hover {
  color: #D68531;
}

.fs-nav-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.5;
  align-self: center;
}

.fs-nav-arrow {
  font-size: 24px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s, transform 0.3s;
  align-self: center;
}

.fs-nav-item:hover .fs-nav-arrow {
  opacity: 1;
  transform: translateX(0);
}

.fs-menu-aside {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-self: end;
  padding-bottom: 20px;
}

.fs-menu-block .eyebrow {
  font-size: 10px;
}

.fs-menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 239, 231, 0.12);
}

@media (max-width: 900px) {
  .fs-menu-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fs-nav-item {
    font-size: 36px;
    grid-template-columns: 32px 1fr 24px;
  }

  .fs-menu-aside {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px 40px;
  }
}


/* ─── Hero split ─────────────────────────── */

.hero.split {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--bone-deep);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.hero.split::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(184, 147, 106, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 5% 80%, rgba(122, 12, 28, 0.14), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hs-left {
  position: relative;
  z-index: 2;
  padding: 140px 6vw 80px 8vw;
  display: flex;
  align-items: center;
  will-change: transform;
}

.hs-left-inner {
  display: flex;
  flex-direction: column;
  gap: 38px;
  max-width: 620px;
  animation: hs-fade 1.2s ease 0.3s both;
}

@keyframes hs-fade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: hs-blink 2.4s infinite;
}

@keyframes hs-blink {
  50% {
    opacity: 0.3;
  }
}

.hs-title {
  margin: 0;
  font-size: clamp(72px, 10vw, 156px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.hs-logo-img {
  width: clamp(180px, 38vw, 520px);
  height: auto;
  display: block;
}

.hs-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.hs-row.amp-row {
  padding-left: 1.2em;
}

.hs-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.4;
  align-self: flex-start;
  padding-top: 0.5em;
  font-weight: 500;
}

.hs-word {
  display: inline-block;
  white-space: nowrap;
}

.hs-word.italic {
  padding-left: 2em;
  color: var(--ink-soft);
}

.hs-amp {
  font-size: 1.1em;
  line-height: 0.8;
  color: #D68531;
  font-weight: 400;
  display: inline-block;
}

.hs-sub {
  max-width: 440px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  opacity: 0.85;
}

.hs-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hs-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 40px;
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
}

.hs-cta-primary:hover {
  background: #D68531;
  transform: translateY(-2px);
}

.hs-cta-ghost {
  padding: 16px 22px;
  border: 1px solid rgba(26, 23, 18, 0.3);
  border-radius: 40px;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: all 0.3s var(--ease-out);
}

.hs-cta-ghost:hover {
  background: rgba(26, 23, 18, 0.06);
  border-color: var(--ink);
}

.hs-meta-bottom {
  display: flex;
  gap: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 23, 18, 0.18);
  max-width: 520px;
}

.hs-meta-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hs-meta-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  opacity: 0.5;
}

.hs-meta-val {
  font-size: 13px;
  letter-spacing: 0.02em;
}


/* ─── Hero right side ────────────────────── */

.hs-right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 6vw 80px 0;
}

.hs-frame-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 3 / 4;
  will-change: transform;
}

.hs-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  box-shadow:
    0 40px 100px -30px rgba(26, 23, 18, 0.45),
    0 0 0 1px rgba(26, 23, 18, 0.08);
  background: var(--accent-warm);
  animation: hs-frame-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes hs-frame-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hs-frame-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(0.08) contrast(1.02) saturate(0.95);
  opacity: 0;
  transition: opacity 1.4s ease, transform 8s ease;
  transform: scale(1);
}

.hs-frame-img.active {
  opacity: 1;
  transform: scale(1.04);
}

.hs-frame-warm {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(26, 23, 18, 0.3) 100%),
    linear-gradient(135deg, rgba(122, 12, 28, 0.1), transparent 50%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hs-frame-label {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  color: var(--bone);
  font-size: 10px;
  letter-spacing: 0.25em;
  opacity: 0.85;
  z-index: 2;
}

.hs-chip {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(244, 239, 231, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  box-shadow: 0 10px 30px -10px rgba(26, 23, 18, 0.3);
  z-index: 3;
}

.hs-chip-dots {
  display: flex;
  gap: 8px;
}

.hs-chip-dot {
  width: 18px;
  height: 2px;
  background: rgba(26, 23, 18, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.hs-chip-dot.active {
  background: var(--accent);
  width: 28px;
}

.hs-chip-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.65;
}

.hs-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 8vw;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.6;
  z-index: 4;
  animation: hs-fade 1.2s ease 1.2s both;
}

.hs-scroll-line {
  width: 40px;
  height: 1px;
  background: var(--ink);
  animation: hs-scroll-pulse 2.2s ease-in-out infinite;
  transform-origin: left;
}

@keyframes hs-scroll-pulse {
  0%, 100% {
    transform: scaleX(0.3);
    opacity: 0.4;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

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

  .hs-left {
    padding: 110px 24px 40px;
  }

  .hs-right {
    padding: 0 24px 100px;
  }

  .hs-frame-wrap {
    max-width: 420px;
    margin: 0 auto;
  }

  .hs-scroll-indicator {
    left: 24px;
    bottom: 16px;
  }

  .hs-title {
    font-size: clamp(56px, 14vw, 100px);
  }

  .hs-row.amp-row {
    padding-left: 0.6em;
  }
}

@media (max-width: 480px) {
  .hs-left {
    padding: 100px 20px 28px;
  }

  .hs-right {
    padding: 0 20px 72px;
  }

  .hs-cta-row {
    flex-direction: column;
  }

  .hs-cta-primary,
  .hs-cta-ghost {
    width: 100%;
    justify-content: center;
  }

  .hs-meta-bottom {
    flex-wrap: wrap;
    gap: 20px;
  }
}


/* ─── Philosophy ─────────────────────────── */

.philosophy {
  background: var(--bone-deep);
  position: relative;
  overflow: hidden;
}

.philosophy-head {
  margin-bottom: 80px;
  max-width: 800px;
}

.philosophy-title {
  font-size: clamp(52px, 8vw, 128px);
  margin-top: 16px;
  color: var(--ink);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.philosophy-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.pv-img {
  position: absolute;
  inset: 0;
  background-color: var(--bone-deep);
  background-size: cover;
  background-position: center top;
  filter: grayscale(0.12) contrast(1.04);
}

.philosophy-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,23,18,0.45) 0%, transparent 55%);
  pointer-events: none;
}

.pv-frame {
  position: absolute;
  inset: 16px;
  pointer-events: none;
}

.pv-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--bone);
  border-style: solid;
  border-width: 0;
}

.pv-corner.tl {
  top: 0;
  left: 0;
  border-top-width: 1px;
  border-left-width: 1px;
}

.pv-corner.tr {
  top: 0;
  right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}

.pv-corner.bl {
  bottom: 0;
  left: 0;
  border-bottom-width: 1px;
  border-left-width: 1px;
}

.pv-corner.br {
  bottom: 0;
  right: 0;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

.pv-index {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--bone);
}

.pv-index-bar {
  width: 40px;
  height: 1px;
  background: var(--bone);
  opacity: 0.6;
}

.pv-badge {
  position: absolute;
  right: 24px;
  top: 24px;
  padding: 10px 14px;
  background: var(--bone);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-align: right;
  border-radius: 2px;
}

.philosophy-body {
  font-size: clamp(18px, 1.8vw, 24px);
  color: var(--ink);
}

.philosophy-points {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pp-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(26, 23, 18, 0.15);
}

.pp-num {
  font-size: 11px;
  opacity: 0.5;
}

.pp-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.pp-body {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.75;
}

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

  .philosophy-visual {
    aspect-ratio: 3 / 2;
  }

  .philosophy-head {
    margin-bottom: 48px;
  }

  .philosophy-body {
    font-size: 22px;
  }
}


/* ─── Doctor ─────────────────────────────── */

.doctor {
  background: var(--bone);
}

.doctor-inner {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 80px;
  align-items: center;
}

.doctor-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bone-deep);
}

.dp-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: grayscale(0.35) contrast(1.05);
  background-color: var(--bone-deep);
}

.dp-tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 8px 12px;
  background: var(--bone);
  font-size: 10px;
  letter-spacing: 0.15em;
  border-radius: 2px;
}

.doctor-name {
  font-size: clamp(48px, 7vw, 108px);
  margin: 16px 0 8px;
}

.doctor-title {
  font-family: var(--sans);
  font-weight: 700;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.doctor-bio {
  font-size: 17px;
  line-height: 1.65;
  max-width: 520px;
  color: var(--ink-soft);
}

.doctor-stats {
  margin-top: 48px;
  display: flex;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid rgba(26, 23, 18, 0.12);
  border-bottom: 1px solid rgba(26, 23, 18, 0.12);
}

.doctor-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doctor-stats em {
  font-style: normal;
  font-size: 40px;
  line-height: 1;
  font-weight: 500;
}

.doctor-stats span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .doctor-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .doctor-portrait {
    aspect-ratio: 4 / 3;
  }

  .doctor-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .doctor-stats em {
    font-size: 32px;
  }
}


/* ─── Treatments ─────────────────────────── */

.treatments {
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
}

.treatments-head {
  margin-bottom: 60px;
  max-width: 900px;
}

.treatments-title {
  font-size: clamp(52px, 8vw, 128px);
  font-style: italic;
  text-transform: uppercase;
  margin-top: 16px;
}

.treatments-body {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  opacity: 0.88;
  margin-top: 20px;
  max-width: 520px;
}

.treatments-list {
  list-style: none;
  border-top: 1px solid rgba(244, 239, 231, 0.15);
}

.tr-row {
  display: grid;
  grid-template-columns: 80px 2fr 3fr 40px;
  gap: 30px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid rgba(244, 239, 231, 0.15);
  transition: padding 0.4s var(--ease-out), color 0.3s;
  text-decoration: none;
  color: inherit;
}

.tr-row:hover {
  padding-left: 20px;
  color: #D68531;
}

.tr-num {
  font-size: 11px;
  opacity: 0.5;
  letter-spacing: 0.15em;
}

.tr-name {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
}

.tr-desc {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.5;
}

.tr-arrow {
  font-size: 24px;
  opacity: 0.3;
  justify-self: end;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}

.tr-row:hover .tr-arrow {
  transform: translateX(10px);
  opacity: 1;
}

/* ─── Treatment hover preview image ──────── */
.tr-peek {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 240px;
  height: 310px;
  pointer-events: none;
  z-index: 200;
  background-color: var(--bone-deep);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateY(12px) rotate(-1.5deg);
  transition: opacity 0.3s var(--ease-out), transform 0.35s var(--ease-out);
  border-radius: 2px;
  box-shadow: 0 20px 60px -10px rgba(26,23,18,0.3);
}

.tr-peek.visible {
  opacity: 1;
  transform: translateY(0) rotate(-1deg);
}

@media (max-width: 900px) {
  .tr-row {
    grid-template-columns: 60px 1fr 30px;
  }

  .tr-desc {
    display: none;
  }
}

@media (max-width: 480px) {
  .tr-row {
    grid-template-columns: 44px 1fr 24px;
    gap: 12px;
    padding: 20px 0;
  }

  .tr-name {
    font-size: clamp(22px, 7vw, 40px);
  }
}


/* ─── Before / After gallery ─────────────── */

.gallery {
  background: var(--bone-deep);
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.gallery-title {
  font-size: clamp(52px, 8vw, 128px);
  margin-top: 16px;
}

.gallery-body {
  max-width: 360px;
  font-size: 14px;
  opacity: 0.75;
  line-height: 1.6;
}

.ba-area {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bone-deep);
  user-select: none;
}

.ba-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.15);
}

.ba-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 10px;
  background: var(--bone);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.ba-after .ba-tag {
  left: auto;
  right: 20px;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--bone);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.ba-handle-knob {
  position: absolute;
  top: 50%;
  left: 1px;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  background: var(--bone);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.ba-meta {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  color: var(--bone);
  font-size: 10px;
  letter-spacing: 0.2em;
  pointer-events: none;
}

@media (max-width: 900px) {
  .gallery-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
  }

  .gallery-body {
    max-width: none;
  }

  .ba-area {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .ba-area {
    aspect-ratio: 1 / 1;
  }
}


/* ─── Journey ────────────────────────────── */

.journey {
  background: var(--bone-deep);
}

.journey-head {
  margin-bottom: 80px;
  max-width: 900px;
}

.journey-title {
  font-size: clamp(52px, 8vw, 128px);
  margin-top: 16px;
}

.journey-body {
  font-size: 17px;
  opacity: 0.75;
  margin-top: 20px;
  max-width: 520px;
}

.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.jstep {
  position: relative;
  padding-top: 80px;
}

.jstep-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.jstep-rule {
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.jstep-bullet {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.jstep-n {
  font-size: 10px;
  opacity: 0.5;
  margin-bottom: 6px;
}

.jstep-title {
  font-size: 28px;
  margin-bottom: 8px;
}

.jstep-body {
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.75;
}

@media (max-width: 900px) {
  .journey-track {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .jstep {
    padding-top: 60px;
  }
}


/* ─── Testimonials ───────────────────────── */

.testim {
  background: var(--accent-warm);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.testim-head {
  margin-bottom: 60px;
  max-width: 800px;
}

.testim-title {
  font-size: clamp(52px, 8vw, 128px);
  margin-top: 16px;
}

.testim-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
}

.testim-quote-wrap {
  min-height: 300px;
  display: flex;
  align-items: center;
  max-width: 860px;
  width: 100%;
}

.testim-quote {
  text-align: center;
  animation: fadeIn 0.6s var(--ease-out);
}

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

.testim-mark {
  font-size: 120px;
  line-height: 0.5;
  opacity: 0.3;
  display: block;
}

.testim-text {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: 20px;
  text-wrap: pretty;
}

.testim-meta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.testim-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-size: cover;
  background-position: center top;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.testim-meta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testim-name {
  font-size: 18px;
  font-style: italic;
}

.testim-proc {
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.testim-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.testim-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(26, 23, 18, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}

.testim-nav button:hover {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.testim-count {
  font-size: 12px;
  letter-spacing: 0.15em;
}

.testim-count span {
  opacity: 0.5;
}

@media (max-width: 900px) {
  .testim-mark {
    font-size: 80px;
  }

  .testim-quote-wrap {
    min-height: auto;
  }

  .testim-stage {
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  .testim-text {
    font-size: clamp(20px, 5.5vw, 32px);
  }
}


/* ─── FAQ ────────────────────────────────── */

.faq {
  background: var(--bone);
  position: relative;
  overflow: hidden;
}

.faq-inner {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: flex-start;
}

.faq-side {
  position: sticky;
  top: 120px;
}

.faq-title {
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 16px 0 32px;
}

.faq-aside-meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid currentColor;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0.8;
}

.faq-aside-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.faq-list {
  border-top: 1px solid rgba(26, 23, 18, 0.18);
}

.faq-item {
  border-bottom: 1px solid rgba(26, 23, 18, 0.18);
}

.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 48px 1fr 40px;
  gap: 20px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: opacity 0.3s;
}

.faq-q:hover {
  opacity: 0.7;
}

.faq-q .mono {
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.5;
}

.faq-q-text {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.faq-plus {
  position: relative;
  width: 22px;
  height: 22px;
  justify-self: end;
  display: block;
}

.faq-plus .p-bar {
  position: absolute;
  background: currentColor;
  top: 50%;
  left: 50%;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-plus .p-bar.h {
  width: 22px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.faq-plus .p-bar.v {
  width: 1px;
  height: 22px;
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item.open .faq-plus .p-bar.v {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-a > .faq-a-body {
  overflow: hidden;
  font-size: 17px;
  line-height: 1.6;
  max-width: 680px;
  opacity: 0.85;
  padding: 0 0 0 68px;
  margin: 0;
}

.faq-a > .faq-a-body p {
  margin: 0;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-a > .faq-a-body {
  padding: 0 0 32px 68px;
}

@media (max-width: 820px) {
  .faq-inner {
    grid-template-columns: 1fr;
  }

  .faq-side {
    position: static;
  }

  .faq-q {
    grid-template-columns: 36px 1fr 28px;
    gap: 14px;
    padding: 22px 0;
  }

  .faq-a > .faq-a-body {
    padding-left: 50px;
    font-size: 16px;
  }

  .faq-item.open .faq-a > .faq-a-body {
    padding-bottom: 24px;
  }
}


/* ─── Clinics ────────────────────────────── */

.clinics {
  background: var(--bone-deep);
}

.clinics-head {
  margin-bottom: 60px;
}

.clinics-title {
  font-size: clamp(52px, 7vw, 108px);
  margin-top: 16px;
}

.clinics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.clinic {
  position: relative;
  background: var(--bone);
  padding: 32px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.5s var(--ease-out), background 0.5s;
  display: flex;
  flex-direction: column;
}

.clinic:hover {
  background: var(--ink);
  color: var(--bone);
  transform: translateY(-6px);
}

.clinic-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.6;
}

.clinic-city {
  font-size: 72px;
  font-weight: 500;
  margin-top: 12px;
  line-height: 0.95;
}

.clinic-num {
  position: absolute;
  right: 32px;
  top: 32px;
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.5;
  transition: opacity 0.3s, color 0.3s;
}

.clinic:hover .clinic-num {
  color: #D68531;
  opacity: 1;
}

.clinic-meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clinic-meta > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  font-size: 12px;
}

.clinic-meta dt {
  font-family: var(--mono);
  letter-spacing: 0.15em;
  opacity: 0.5;
  text-transform: uppercase;
  font-size: 10px;
  align-self: center;
}

.clinic-meta dd {
  font-size: 13px;
}

.clinic-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  border-top: 1px solid currentColor;
  padding-top: 16px;
}

.clinic-link span {
  transition: transform 0.3s;
}

.clinic:hover .clinic-link span {
  transform: translateX(6px);
}

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

  .clinic-city {
    font-size: 52px;
  }
}


/* ─── Contact ────────────────────────────── */

.contact {
  background: var(--ink-soft);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.contact-title {
  font-size: clamp(52px, 7vw, 108px);
  margin-top: 16px;
}

.contact-body {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 24px;
  max-width: 420px;
  opacity: 0.8;
}

.contact-info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ci-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244, 239, 231, 0.15);
}

.ci-row .mono {
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.5;
}

.contact-form-wrap {
  background: var(--bone);
  color: var(--ink);
  padding: 40px;
  border-radius: 2px;
  position: relative;
  z-index: 1;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.form-header .mono {
  font-size: 11px;
  letter-spacing: 0.2em;
}

.form-progress {
  flex: 1;
  height: 2px;
  background: rgba(26, 23, 18, 0.15);
  max-width: 200px;
}

.form-progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.6s var(--ease-out);
}

.form-viewport {
  flex: 1;
  overflow: hidden;
  margin: 0 -40px;
  padding: 0 40px;
  display: flex;
}

.form-steps {
  display: flex;
  transition: transform 0.6s var(--ease-out);
  flex: 1;
  align-items: stretch;
  width: 100%;
}

.form-step {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}

.form-label {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 24px;
}

.form-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(26, 23, 18, 0.3);
  background: transparent;
  padding: 12px 0;
  font-family: var(--sans);
  font-size: 18px;
  outline: none;
  transition: border-color 0.3s;
}

.form-input::placeholder {
  opacity: 0.4;
}

.form-input:focus {
  border-color: var(--accent);
}

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

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 10px 16px;
  border: 1px solid rgba(26, 23, 18, 0.25);
  border-radius: 40px;
  font-size: 13px;
  transition: all 0.3s;
}

.chip.on {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.chip:hover {
  border-color: var(--ink);
}

.form-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 23, 18, 0.15);
}

.form-back,
.form-next,
.form-submit {
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 12px 20px;
}

.form-back {
  opacity: 0.6;
}

.form-back:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.form-next,
.form-submit {
  background: var(--ink);
  color: var(--bone);
  border-radius: 40px;
  transition: background 0.3s, transform 0.3s;
}

.form-next:hover,
.form-submit:hover {
  background: #D68531;
  transform: translateX(4px);
}

.form-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.form-success {
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: var(--ink);
}

.form-success svg {
  color: var(--accent);
}

.form-success p {
  max-width: 380px;
  opacity: 0.75;
}

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrap {
    padding: 28px;
  }

  .form-viewport {
    margin: 0 -28px;
    padding: 0 28px;
  }
}

@media (max-width: 480px) {
  .contact-form-wrap {
    padding: 20px;
  }

  .form-viewport {
    margin: 0 -20px;
    padding: 0 20px;
  }

  .form-label {
    font-size: 22px;
  }
}


/* ─── Footer ─────────────────────────────── */

.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 100px 0 24px;
  position: relative;
  overflow: hidden;
}

.footer-mark {
  border-bottom: 1px solid rgba(244, 239, 231, 0.15);
  padding-bottom: 40px;
}

.footer-letters {
  font-size: clamp(80px, 18vw, 280px);
  letter-spacing: 0.01em;
  line-height: 0.85;
  white-space: nowrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 60px 0;
}

.footer-lede {
  font-size: 28px;
  line-height: 1.3;
  max-width: 380px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-cols .eyebrow {
  opacity: 0.5;
  margin-bottom: 16px;
}

.footer-cols ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  opacity: 0.85;
}

.footer-cols a {
  transition: color 0.3s;
}

.footer-cols a:hover {
  color: #D68531;
}

.footer-bar {
  border-top: 1px solid rgba(244, 239, 231, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  gap: 20px;
}

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

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-bar {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-letters {
    font-size: clamp(64px, 20vw, 160px);
  }
}

/* ══════════════════════════════════════════════════════════════
   Gutenberg native blocks — aggiustamenti layout
   ══════════════════════════════════════════════════════════════ */

/* Hero eyebrow: dot via ::before invece di span.hs-dot */
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero .eyebrow::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: hs-blink 2.4s infinite;
}

/* CTA row: p wrappers diventano trasparenti per il flexbox */
.hs-cta-row > p {
  display: contents;
  margin: 0;
}

/* Stats: p usati come label/valore invece di span */
.hs-meta-col > p {
  margin: 0;
  padding: 0;
}

/* ══════════════════════════════════════════════════════════════
   Immagini native wp:image dentro container mc — Gutenberg
   ══════════════════════════════════════════════════════════════ */

/* Hero: foto destra dentro .hs-frame */
.hs-frame figure.hs-hero-img {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
}
.hs-frame figure.hs-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(0.08) contrast(1.02) saturate(0.95);
  display: block;
}

/* Philosophy visual: immagine dentro .philosophy-visual */
.philosophy-visual figure.pv-img {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background-color: var(--bone-deep);
}
.philosophy-visual figure.pv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.12) contrast(1.04);
  display: block;
}

/* Doctor portrait: immagine dentro .doctor-portrait */
.doctor-portrait figure.dp-img {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background-color: var(--bone-deep);
}
.doctor-portrait figure.dp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.35) contrast(1.05);
  display: block;
}


/* ══════════════════════════════════════════════════════
   BLOCCHI NATIVI — stili per i blocchi wp:* che hanno
   sostituito i server-side mc/* nella homepage
   ══════════════════════════════════════════════════════ */

/* ─── Trattamenti — card grid ─────────────── */

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(244, 239, 231, 0.2);
  margin-top: 40px;
}

.tcard {
  padding: 40px 32px;
  border-bottom: 1px solid rgba(244, 239, 231, 0.2);
  border-right: 1px solid rgba(244, 239, 231, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.4s var(--ease-out);
  color: var(--bone);
}

.tcard:nth-child(3n) { border-right: 0; }
.tcard:hover { background: rgba(244, 239, 231, 0.06); }

.tcard-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  font-family: var(--sans);
  margin: 0;
}

.tcard-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.02;
  margin: 4px 0 8px;
  color: var(--bone);
}

.tcard-lede {
  font-size: 13px;
  opacity: 0.72;
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.tcard > p:last-child { margin: 0; }

.tcard-link {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-top: 12px;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  color: inherit;
  text-decoration: none;
}

.tcard:hover .tcard-link {
  opacity: 1;
  transform: translateX(6px);
}

.treatments-all-link {
  margin-top: 40px;
  text-align: center;
}

.treatments-all-link a {
  color: var(--bone);
}

@media (max-width: 900px) {
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .tcard:nth-child(3n) { border-right: 1px solid rgba(244,239,231,0.2); }
  .tcard:nth-child(2n) { border-right: 0; }
}

@media (max-width: 600px) {
  .treatments-grid { grid-template-columns: 1fr; }
  .tcard { border-right: 0 !important; }
}


/* ─── Testimonianze — grid statica ─────────── */

.testim-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(26, 23, 18, 0.18);
  margin-top: 40px;
}

.tc {
  background: var(--bone-deep);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--ink);
}

.tc-quote {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin: 0;
}

.tc-meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0;
  margin-top: auto;
}

@media (max-width: 700px) {
  .testim-track { grid-template-columns: 1fr; }
}


/* ─── FAQ — wp:details nativo ──────────────── */

.faq-main {
  border-top: 1px solid rgba(26, 23, 18, 0.18);
}

details.faq-item {
  border-bottom: 1px solid rgba(26, 23, 18, 0.18);
}

details.faq-item > summary {
  padding: 26px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 600;
  line-height: 1.25;
  list-style: none;
  color: var(--ink);
}

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

details.faq-item > .wp-block-paragraph,
details.faq-item > p {
  padding: 0 0 26px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0;
}


/* ─── Sedi — card native ──────────────────── */

.sede-card {
  background: var(--bone);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.4s var(--ease-out), color 0.4s;
  color: var(--ink);
}

.sede-card:hover {
  background: var(--ink);
  color: var(--bone);
}

.sede-city {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 0.95;
  margin: 0 0 8px;
  color: inherit;
  text-transform: none;
  letter-spacing: -0.01em;
}

.sede-addr {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.6;
  margin: 0;
}

.sede-tel {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  margin: 0;
  margin-top: auto;
}

.sede-tel a {
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
}

.sede-card:hover .sede-addr,
.sede-card:hover .sede-tel a { opacity: 0.9; }


/* ─── Prima/Dopo — affiancati ──────────────── */

.ba-slider-wrap {
  margin-top: 40px;
}

.ba-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ba-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
  font-family: var(--sans);
  margin: 0;
}

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

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

.ba-col-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.45;
  font-family: var(--sans);
  margin: 0;
}

.ba-col figure.ba-img {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bone-deep);
}

.ba-col figure.ba-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.1);
  display: block;
}

@media (max-width: 600px) {
  .ba-images { grid-template-columns: 1fr; }
}
