body.mrq-area-regina-page.mrq-regina-client-profile-restored {
  --mrq-profile-bg: #fbf6ee;
  --mrq-profile-card: #fffdf9;
  --mrq-profile-line: #e5d9cc;
  --mrq-profile-text: #171411;
  --mrq-profile-muted: #706963;
  --mrq-profile-gold: #a96a31;
}

body.mrq-area-regina-page.mrq-regina-client-profile-restored main {
  padding-bottom: 150px !important;
}

body.mrq-area-regina-page .mrq-v2-section.mrq-client-detail-open {
  box-sizing: border-box;
  padding-left: clamp(20px, 5.5vw, 30px) !important;
  padding-right: clamp(20px, 5.5vw, 30px) !important;
}

body.mrq-area-regina-page .mrq-client-record[data-client-detail] {
  padding-left: clamp(5px, 1.5vw, 10px) !important;
  padding-right: clamp(5px, 1.5vw, 10px) !important;
}

body.mrq-area-regina-page .mrq-v2-section.mrq-client-detail-open .mrq-client-record,
body.mrq-area-regina-page .mrq-v2-section.mrq-client-detail-open .mrq-client-card,
body.mrq-area-regina-page .mrq-v2-section.mrq-client-detail-open details {
  max-width: 100%;
  box-sizing: border-box;
}

body.mrq-area-regina-page .mrq-sheet-profile {
  position: relative;
  min-height: 132px;
  padding: 42px 126px 20px 5px;
  border-bottom: 1px solid var(--mrq-profile-line, #e5d9cc);
}

body.mrq-area-regina-page .mrq-sheet-profile .mrq-client-back {
  position: absolute;
  top: 4px;
  left: 4px;
  border: 0;
  background: transparent;
  color: #6e5c4a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
}

body.mrq-area-regina-page .mrq-sheet-profile h2 {
  margin: 0 0 12px;
  color: var(--mrq-profile-text, #171411);
  font: 700 clamp(32px, 8vw, 43px)/1.02 Georgia, 'Times New Roman', serif;
  letter-spacing: -.025em;
}

body.mrq-area-regina-page .mrq-sheet-profile p {
  margin: 0;
  color: var(--mrq-profile-muted, #706963);
  font-size: 15px;
  overflow-wrap: anywhere;
}

body.mrq-area-regina-page .mrq-sheet-avatar {
  position: absolute;
  right: 8px;
  top: 25px;
  width: 92px;
  height: 92px;
  border: 1px solid #d8c5b2;
  border-radius: 50%;
  background: linear-gradient(145deg, #f3e6d9, #e8d8c8);
  color: #5a3e2b;
  display: grid;
  place-items: center;
  overflow: hidden;
  font: 700 27px/1 Georgia, 'Times New Roman', serif;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.32);
}

body.mrq-area-regina-page .mrq-sheet-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Anteprima cliente: comando leggibile e separato dall'avatar. */
body.mrq-area-regina-page .mrq-sheet-profile .mrq-preview-launch {
  position: absolute !important;
  top: 31px !important;
  right: 118px !important;
  width: clamp(190px, 22vw, 238px) !important;
  min-width: 190px !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 13px 20px !important;
  border: 1px solid rgba(169, 106, 49, .46) !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, #fffdf9 0%, #f3e8dc 100%) !important;
  color: #2b2119 !important;
  box-shadow: 0 8px 22px rgba(72, 44, 23, .10) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: normal !important;
  overflow: visible !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: .105em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}

body.mrq-area-regina-page .mrq-sheet-profile .mrq-preview-launch:hover,
body.mrq-area-regina-page .mrq-sheet-profile .mrq-preview-launch:focus-visible {
  border-color: #a96a31 !important;
  background: #fffaf3 !important;
  box-shadow: 0 10px 26px rgba(72, 44, 23, .15) !important;
  transform: translateY(-1px);
}

@media (min-width: 701px) {
  body.mrq-area-regina-page .mrq-sheet-profile {
    padding-right: 380px !important;
  }
}

@media (max-width: 700px) {
  body.mrq-area-regina-page .mrq-sheet-profile {
    min-height: 205px !important;
    padding: 42px 105px 86px 5px !important;
  }

  body.mrq-area-regina-page .mrq-sheet-profile .mrq-preview-launch {
    top: auto !important;
    right: auto !important;
    bottom: 16px !important;
    left: 5px !important;
    width: calc(100% - 10px) !important;
    min-width: 0 !important;
    min-height: 54px !important;
    padding: 11px 16px !important;
    border-radius: 15px !important;
  }
}

body.mrq-area-regina-page .mrq-client-directory-card {
  align-items: center !important;
}

body.mrq-area-regina-page .mrq-client-directory-avatar,
body.mrq-area-regina-page .mrq-client-directory-card .mrq-sheet-avatar {
  align-self: center !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
}

body.mrq-area-regina-page .mrq-client-directory-avatar img,
body.mrq-area-regina-page .mrq-client-directory-card .mrq-sheet-avatar img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

body.mrq-area-regina-page .mrq-client-package.is-queued-package {
  opacity: .68 !important;
  background: rgba(255, 253, 249, .72) !important;
  border-style: dashed !important;
}

body.mrq-area-regina-page .mrq-client-package {
  box-sizing: border-box !important;
  padding-left: clamp(22px, 5vw, 30px) !important;
  padding-right: clamp(22px, 5vw, 30px) !important;
}

body.mrq-area-regina-page .mrq-client-package.is-queued-package {
  padding-right: clamp(58px, 14vw, 70px) !important;
}

body.mrq-area-regina-page .mrq-client-package dl,
body.mrq-area-regina-page .mrq-client-package h4,
body.mrq-area-regina-page .mrq-client-package > strong,
body.mrq-area-regina-page .mrq-client-package .mrq-package-kicker {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.mrq-area-regina-page .mrq-client-package.is-queued-package .mrq-queue-menu-button,
body.mrq-area-regina-page .mrq-client-package.is-queued-package .mrq-queue-menu {
  opacity: 1 !important;
}

body.mrq-area-regina-page .mrq-client-record > h3,
body.mrq-area-regina-page .mrq-client-card > h3,
body.mrq-area-regina-page .mrq-client-bookings-slot > h3,
body.mrq-area-regina-page .mrq-client-record > details,
body.mrq-area-regina-page .mrq-client-record > .mrq-client-package,
body.mrq-area-regina-page .mrq-client-record > .mrq-client-bookings-slot {
  margin-left: 5px !important;
  margin-right: 5px !important;
}

body.mrq-area-regina-page .mrq-client-premium-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 20px 0 24px;
}

body.mrq-area-regina-page .mrq-client-premium-badges > * {
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--mrq-profile-line, #e5d9cc);
  border-radius: 17px;
  background: var(--mrq-profile-card, #fffdf9);
  color: var(--mrq-profile-text, #171411);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 3px 11px rgba(73, 45, 20, .035);
}

body.mrq-area-regina-page .mrq-client-premium-badges > .is-ok {
  border-color: #c9e4c2;
  background: #dff3d8;
  color: #26703d;
}

body.mrq-area-regina-page .mrq-client-premium-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 20px;
}

body.mrq-area-regina-page .mrq-client-premium-stats > div {
  min-height: 116px;
  padding: 13px 7px;
  border: 1px solid var(--mrq-profile-line, #e5d9cc);
  border-radius: 18px;
  background: var(--mrq-profile-card, #fffdf9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 14px rgba(73, 45, 20, .03);
}

body.mrq-area-regina-page .mrq-client-premium-stats span {
  min-height: 34px;
  color: var(--mrq-profile-muted, #706963);
  font-size: 12px;
  line-height: 1.25;
}

body.mrq-area-regina-page .mrq-client-premium-stats strong {
  color: var(--mrq-profile-text, #171411);
  font: 700 clamp(18px, 5vw, 25px)/1 Georgia, 'Times New Roman', serif;
}

body.mrq-area-regina-page .mrq-sheet-tabs {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 25px;
  padding: 5px 0 0;
  border-bottom: 1px solid var(--mrq-profile-line, #e5d9cc);
  background: rgba(251, 246, 238, .96);
  backdrop-filter: blur(8px);
}

body.mrq-area-regina-page .mrq-sheet-tabs button {
  min-width: 0;
  padding: 12px 3px 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #5f5852;
  font-size: 12px;
  font-weight: 700;
}

body.mrq-area-regina-page .mrq-sheet-tabs button.is-active {
  border-bottom-color: var(--mrq-profile-gold, #a96a31);
  color: #7f481d;
}

body.mrq-area-regina-page .mrq-client-bookings-slot {
  margin-top: 31px;
  margin-bottom: 30px !important;
}

body.mrq-area-regina-page .mrq-client-bookings-slot + details.mrq-client-card {
  margin-top: 0 !important;
}

body.mrq-area-regina-page .mrq-client-record > h3,
body.mrq-area-regina-page .mrq-client-card > h3,
body.mrq-area-regina-page .mrq-client-bookings-slot > h3 {
  padding-left: 2px;
  padding-right: 2px;
}

body.mrq-area-regina-page .mrq-client-bookings-slot > h3 {
  margin: 0 0 14px;
  color: var(--mrq-profile-text, #171411);
  font: 700 clamp(28px, 7vw, 38px)/1.03 Georgia, 'Times New Roman', serif;
  letter-spacing: -.02em;
}

body.mrq-area-regina-page .mrq-client-booking {
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid var(--mrq-profile-line, #e5d9cc);
  border-radius: 19px;
  background: var(--mrq-profile-card, #fffdf9);
  box-shadow: 0 5px 18px rgba(68, 42, 18, .045);
}

body.mrq-area-regina-page .mrq-booking-visual {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

body.mrq-area-regina-page .mrq-booking-date {
  min-height: 82px;
  padding-right: 12px;
  border-right: 1px solid #eadfd4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #2a241f;
  line-height: 1;
}

body.mrq-area-regina-page .mrq-booking-date small,
body.mrq-area-regina-page .mrq-booking-date span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

body.mrq-area-regina-page .mrq-booking-date strong {
  margin: 4px 0 3px;
  font: 700 29px/1 Georgia, 'Times New Roman', serif;
}

body.mrq-area-regina-page .mrq-booking-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

body.mrq-area-regina-page .mrq-booking-service {
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 9px;
  color: #2b6e42;
  background: #dff3d8;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.mrq-area-regina-page .mrq-booking-service.is-gyro-group { background: #eadcf2; color: #694e7a; }
body.mrq-area-regina-page .mrq-booking-service.is-pt-private { background: #dfeaf6; color: #44637f; }
body.mrq-area-regina-page .mrq-booking-service.is-pt-group { background: #f7e4d2; color: #915c2f; }

body.mrq-area-regina-page .mrq-booking-info > strong {
  color: #241f1a;
  font-size: 17px;
}

body.mrq-area-regina-page .mrq-booking-info > small {
  color: var(--mrq-profile-muted, #706963);
  font-size: 11px;
}

body.mrq-area-regina-page .mrq-client-booking-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 11px;
}

body.mrq-area-regina-page .mrq-client-booking-actions button {
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #ded4cb;
  border-radius: 12px;
  background: #f1ece7;
  color: #171411 !important;
  font-size: 12px;
  font-weight: 800;
}

body.mrq-area-regina-page .mrq-client-booking-actions button:last-child {
  border-color: #b68860;
  background: #a97850;
  color: #fff !important;
}

@media (max-width: 380px) {
  body.mrq-area-regina-page .mrq-sheet-profile { padding-right: 105px; }
  body.mrq-area-regina-page .mrq-sheet-avatar { width: 78px; height: 78px; }
  body.mrq-area-regina-page .mrq-sheet-tabs button { font-size: 10.5px; }
  body.mrq-area-regina-page .mrq-client-premium-stats span { font-size: 10.5px; }
}

body.mrq-area-regina-page .mrq-v2-section:has(> h1:first-child) > article.mrq-review-moderation-card {
  position: relative;
  margin: 12px clamp(14px, 4vw, 22px);
  padding: 18px 54px 18px 18px;
  border: 1px solid #e5d9cc;
  border-radius: 20px;
  background: #fffdf9;
  box-shadow: 0 5px 18px rgba(68, 42, 18, .045);
}

/* Recensioni Area Regina: un solo contenitore scorrevole, senza sovrapposizioni. */
html:has(.mrq-v2-section[data-v2-section="reviews"].active),
body:has(.mrq-v2-section[data-v2-section="reviews"].active) {
  height: 100% !important;
  overflow: hidden !important;
}
body.mrq-area-regina-page .mrq-v2:has(.mrq-v2-section[data-v2-section="reviews"].active) > main {
  height: calc(100dvh - 54px) !important;
  max-height: calc(100dvh - 54px) !important;
  overflow: hidden !important;
}
body.mrq-area-regina-page .mrq-v2-section[data-v2-section="reviews"].active {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 26px clamp(16px, 4vw, 34px) 150px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #f8f3ea !important;
  scrollbar-width: thin;
  scrollbar-color: #b89a78 transparent;
}
body.mrq-area-regina-page .mrq-v2-section[data-v2-section="reviews"].active > h1 {
  max-width: 760px;
  margin: 0 auto 22px !important;
  color: #211b17 !important;
  font: 500 clamp(32px, 8vw, 48px)/1.05 Georgia, "Times New Roman", serif !important;
  letter-spacing: -.035em;
}
body.mrq-area-regina-page .mrq-v2-section[data-v2-section="reviews"].active > .mrq-v2-list {
  display: grid !important;
  gap: 14px !important;
  width: 100%;
  max-width: 760px;
  margin: 0 auto !important;
  padding: 0 !important;
}
body.mrq-area-regina-page .mrq-v2-section[data-v2-section="reviews"].active > .mrq-v2-list > article {
  position: relative;
  width: 100%;
  margin: 0 !important;
  padding: 18px 58px 18px 18px !important;
  border: 1px solid #e1d5c7 !important;
  border-radius: 20px !important;
  background: #fffdf9 !important;
  box-shadow: 0 8px 26px rgba(73, 52, 35, .065) !important;
}
body.mrq-area-regina-page .mrq-v2-section[data-v2-section="reviews"] article > span {
  display: block;
  margin-bottom: 8px;
  color: #241d18 !important;
  font: 600 17px/1.35 Georgia, "Times New Roman", serif !important;
}
body.mrq-area-regina-page .mrq-v2-section[data-v2-section="reviews"] article > small {
  display: block;
  margin-top: 5px;
  color: #75685d !important;
  font: 400 13px/1.5 Inter, Arial, sans-serif !important;
}

.mrq-review-menu-wrap { position: absolute; top: 12px; right: 12px; z-index: 10050; }
.mrq-review-menu-trigger {
  width: 38px; height: 38px; padding: 0; border: 1px solid #dfd3c7; border-radius: 50%;
  background: #fff; color: #171411; font-size: 26px; line-height: 1; font-weight: 700;
  display: grid; place-items: center; cursor: pointer; list-style: none;
}
.mrq-review-menu-trigger::-webkit-details-marker { display: none; }
.mrq-review-menu {
  position: absolute; top: 43px; right: 0; width: 220px; padding: 7px;
  border: 1px solid #dfd3c7; border-radius: 14px; background: #fff;
  box-shadow: 0 12px 30px rgba(42, 28, 17, .18);
}
.mrq-review-menu-wrap:not([open]) .mrq-review-menu { display: none !important; }
.mrq-review-menu-wrap:not(.is-open) .mrq-review-menu { display: none !important; }
.mrq-review-menu-wrap.is-open .mrq-review-menu { display: block !important; }
.mrq-review-menu-wrap:focus-within .mrq-review-menu { display: block !important; }
.mrq-review-menu a {
  width: 100%; padding: 12px; border: 0; border-radius: 10px;
  background: #f3ede7; color: #171411; text-align: left; font-weight: 750;
  display: block; box-sizing: border-box; text-decoration: none;
}
.mrq-review-visibility-status {
  display: inline-flex; margin-top: 11px; padding: 6px 9px; border-radius: 999px;
  background: #dff3d8; color: #26703d; font-size: 10px; letter-spacing: .04em;
}
.mrq-review-moderation-card.is-pending { opacity: .76; }
.mrq-review-moderation-card.is-pending .mrq-review-visibility-status { background: #f4e3c8; color: #7a4c21; }

.mrq-rp-dots.mrq-three-review-dots {
  display: flex !important; align-items: center; justify-content: center;
  gap: 8px; overflow: visible !important; min-height: 24px;
}
.mrq-rp-dots.mrq-three-review-dots button {
  flex: 0 0 8px !important; width: 8px !important; height: 8px !important;
  min-width: 8px !important; padding: 0 !important; border: 0 !important;
  border-radius: 50% !important; background: #cdbba9 !important; opacity: .65;
}
.mrq-rp-dots.mrq-three-review-dots button.is-active {
  width: 22px !important; flex-basis: 22px !important; border-radius: 999px !important;
  background: #a96a31 !important; opacity: 1;
}

/* Home: restyling isolato dei tre percorsi. Nessuna modifica a link o funzioni. */
.mrqf104-home-reference .mrqf104-services .mrqf104-card {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-height: 390px;
  margin: 18px 0;
  border: 1px solid rgba(111, 84, 59, .20) !important;
  border-radius: 30px !important;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(63, 42, 24, .10) !important;
  transition: transform .25s ease, box-shadow .25s ease;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: -85px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(169, 106, 49, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(169, 106, 49, .035), 0 0 0 56px rgba(169, 106, 49, .025);
  pointer-events: none;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-copy,
.mrqf104-home-reference .mrqf104-services .mrqf104-card-copy.mrq-pt-panel-v12 {
  box-sizing: border-box;
  min-height: 390px;
  padding: 38px 28px 32px !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: transparent !important;
  box-shadow: none !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-chip {
  min-width: 118px;
  box-sizing: border-box;
  margin: 0 0 38px;
  padding: 10px 20px;
  border: 1px solid rgba(169, 106, 49, .65);
  border-radius: 999px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card h3 {
  max-width: calc(100% - 6px);
  margin: 0 0 22px !important;
  font-size: clamp(35px, 8vw, 48px) !important;
  line-height: .98 !important;
  letter-spacing: -.035em !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card p {
  max-width: 31ch;
  margin: 0 0 28px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-copy > a {
  margin-top: auto;
  padding: 12px 18px !important;
  border: 1px solid currentColor !important;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: .14em !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-copy > a::after,
.mrqf104-home-reference .mrqf104-services .mrqf104-card-copy > a::before {
  display: none !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-arrow {
  display: none !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-dots {
  top: 24px !important;
  right: 24px !important;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid rgba(111, 84, 59, .18) !important;
  border-radius: 50% !important;
  background: rgba(255, 253, 249, .72) !important;
  box-shadow: 0 7px 20px rgba(45, 31, 20, .08) !important;
  backdrop-filter: blur(8px);
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card.green {
  border-color: rgba(222, 195, 151, .42) !important;
  background: linear-gradient(145deg, #153f32 0%, #0c3025 100%) !important;
  color: #fffaf2;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card.green .mrqf104-chip {
  border-color: rgba(221, 177, 105, .78);
  color: #efd3a3;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card.green .mrqf104-dots {
  border-color: rgba(255, 255, 255, .20) !important;
  background: rgba(255, 255, 255, .08) !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-gyro {
  background: linear-gradient(145deg, #fffdf9 0%, #f7eee5 100%) !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-personal {
  background: linear-gradient(145deg, #c4ad98 0%, #ae927a 100%) !important;
}

@media (max-width: 520px) {
  .mrqf104-home-reference .mrqf104-services .mrqf104-card,
  .mrqf104-home-reference .mrqf104-services .mrqf104-card-copy,
  .mrqf104-home-reference .mrqf104-services .mrqf104-card-copy.mrq-pt-panel-v12 {
    min-height: 360px;
  }
  .mrqf104-home-reference .mrqf104-services .mrqf104-card-copy,
  .mrqf104-home-reference .mrqf104-services .mrqf104-card-copy.mrq-pt-panel-v12 {
    padding: 34px 24px 28px !important;
  }
  .mrqf104-home-reference .mrqf104-services .mrqf104-card h3 {
    font-size: clamp(31px, 9vw, 42px) !important;
  }
}

/* Override finale 1.4: rimuove definitivamente la vecchia linea e copre i colori inline. */
.mrqf104-home-reference .mrqf104-services .mrqf104-card-gyro::before,
.mrqf104-home-reference .mrqf104-services .mrqf104-card-personal::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: inherit !important;
  pointer-events: none !important;
}
.mrqf104-home-reference .mrqf104-services .mrqf104-card-gyro::before {
  background: linear-gradient(145deg, #f8f8f1 0%, #e5eee6 100%) !important;
}
.mrqf104-home-reference .mrqf104-services .mrqf104-card-personal::before {
  background: linear-gradient(145deg, #f3e9ec 0%, #dec9d0 100%) !important;
}
.mrqf104-home-reference .mrqf104-services .mrqf104-card-gyro .mrqf104-card-copy,
.mrqf104-home-reference .mrqf104-services .mrqf104-card-personal .mrqf104-card-copy {
  position: relative;
  z-index: 1;
}
.mrqf104-home-reference .mrqf104-services .mrqf104-card-gyro .mrqf104-dots,
.mrqf104-home-reference .mrqf104-services .mrqf104-card-personal .mrqf104-dots {
  z-index: 2;
}

/* Home 1.4: palette più luminosa, senza linea superiore. */
.mrqf104-home-reference .mrqf104-services .mrqf104-card::before {
  display: none !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-gyro {
  border-color: rgba(76, 105, 84, .20) !important;
  background: linear-gradient(145deg, #f8f8f1 0%, #e5eee6 100%) !important;
  color: #173d31 !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-gyro .mrqf104-chip {
  border-color: rgba(54, 104, 75, .38);
  background: rgba(255, 255, 255, .42);
  color: #315f49;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-gyro .mrqf104-card-copy > a {
  border-color: #173d31 !important;
  background: #173d31 !important;
  color: #fffdf8 !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-gyro::after {
  color: #2f684d;
  opacity: .045;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-personal {
  border-color: rgba(116, 67, 83, .20) !important;
  background: linear-gradient(145deg, #f3e9ec 0%, #dec9d0 100%) !important;
  color: #45212e !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-personal .mrqf104-chip {
  border-color: rgba(112, 56, 76, .38);
  background: rgba(255, 255, 255, .32);
  color: #704052;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-personal .mrqf104-card-copy > a {
  border-color: #4a2331 !important;
  background: #4a2331 !important;
  color: #fffaf8 !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-personal::after {
  color: #743e52;
  opacity: .055;
}

/* Copertura renderizzata sopra gli stili inline del vecchio componente. */
.mrqf104-home-reference .mrqf104-services .mrqf104-card-gyro::before,
.mrqf104-home-reference .mrqf104-services .mrqf104-card-personal::before {
  content: '';
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: -2;
  width: auto;
  height: auto;
  border-radius: inherit;
  pointer-events: none;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-gyro::before {
  background: linear-gradient(145deg, #f8f8f1 0%, #e5eee6 100%) !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-personal::before {
  background: linear-gradient(145deg, #f3e9ec 0%, #dec9d0 100%) !important;
}

/* Le due foto fornite sono incorporate nel plugin e sostituite già in fase CSS. */
#pt-personal .mrq-clean-photo {
  content: url('./pt-private-new.jpg') !important;
  object-fit: cover !important;
  object-position: center 46% !important;
}

#pt-gruppo .mrq-clean-photo {
  content: url('./pt-group-new.jpg') !important;
  object-fit: cover !important;
  object-position: center 45% !important;
}

/* Home 1.3: composizione più compatta e sartoriale. */
.mrqf104-home-reference .mrqf104-services .mrqf104-card {
  min-height: 330px;
  border-radius: 26px !important;
  box-shadow: 0 12px 32px rgba(55, 37, 22, .08) !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  z-index: 2;
  width: 72px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: #b47b43;
  pointer-events: none;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card::after {
  content: '♛';
  right: 15px;
  bottom: -28px;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: #7c5634;
  font: 118px/1 Georgia, serif;
  opacity: .045;
  box-shadow: none;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-copy,
.mrqf104-home-reference .mrqf104-services .mrqf104-card-copy.mrq-pt-panel-v12 {
  min-height: 330px;
  padding: 31px 27px 25px !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-chip {
  min-width: 104px;
  margin: 0 0 25px;
  padding: 8px 17px;
  background: rgba(255, 255, 255, .26);
  font-size: 9px;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card h3 {
  margin-bottom: 17px !important;
  font-size: clamp(31px, 7.5vw, 42px) !important;
  line-height: 1.02 !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card p {
  margin-bottom: 21px !important;
  font-size: 15px !important;
  line-height: 1.48 !important;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card-copy > a {
  min-width: 142px;
  box-sizing: border-box;
  padding: 11px 17px !important;
  border: 1px solid #171411 !important;
  background: #171411 !important;
  color: #fffaf4 !important;
  text-align: center;
  box-shadow: 0 8px 18px rgba(31, 23, 16, .12);
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card.green::before {
  background: #d7ad72;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card.green::after {
  color: #e8c996;
  opacity: .07;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-card.green .mrqf104-card-copy > a {
  border-color: rgba(235, 208, 163, .72) !important;
  background: rgba(255, 255, 255, .06) !important;
  color: #f5dfbd !important;
  box-shadow: none;
}

.mrqf104-home-reference .mrqf104-services .mrqf104-dots {
  top: 21px !important;
  right: 21px !important;
  width: 40px !important;
  height: 40px !important;
  box-shadow: 0 5px 14px rgba(45, 31, 20, .07) !important;
}

@media (max-width: 520px) {
  .mrqf104-home-reference .mrqf104-services .mrqf104-card,
  .mrqf104-home-reference .mrqf104-services .mrqf104-card-copy,
  .mrqf104-home-reference .mrqf104-services .mrqf104-card-copy.mrq-pt-panel-v12 {
    min-height: 322px;
  }
  .mrqf104-home-reference .mrqf104-services .mrqf104-card-copy,
  .mrqf104-home-reference .mrqf104-services .mrqf104-card-copy.mrq-pt-panel-v12 {
    padding: 30px 24px 24px !important;
  }
  .mrqf104-home-reference .mrqf104-services .mrqf104-card h3 {
    max-width: 90%;
    font-size: clamp(29px, 8.2vw, 38px) !important;
  }
}

/* La posizione in fondo al file garantisce precedenza sul vecchio segno oro. */
.mrqf104-home-reference .mrqf104-services .mrqf104-card-gyro::before,
.mrqf104-home-reference .mrqf104-services .mrqf104-card-personal::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: inherit !important;
  pointer-events: none !important;
}
.mrqf104-home-reference .mrqf104-services .mrqf104-card-gyro::before {
  background: linear-gradient(145deg, #f8f8f1 0%, #e5eee6 100%) !important;
}
.mrqf104-home-reference .mrqf104-services .mrqf104-card-personal::before {
  background: linear-gradient(145deg, #f3e9ec 0%, #dec9d0 100%) !important;
}
.mrqf104-home-reference .mrqf104-services .mrqf104-card-gyro .mrqf104-card-copy,
.mrqf104-home-reference .mrqf104-services .mrqf104-card-personal .mrqf104-card-copy {
  position: relative;
  z-index: 1;
}
.mrqf104-home-reference .mrqf104-services .mrqf104-card-gyro .mrqf104-dots,
.mrqf104-home-reference .mrqf104-services .mrqf104-card-personal .mrqf104-dots {
  z-index: 2;
}
