:root {
  --mxl-ink: #151311;
  --mxl-body: #4e4944;
  --mxl-copper: #b46932;
  --mxl-copper-dark: #9e5725;
  --mxl-cream: #f6f1ea;
  --mxl-soft: #fbf8f4;
  --mxl-line: rgba(43, 34, 27, .11);
  --mxl-card: rgba(255, 255, 255, .8);
  --mxl-shadow: 0 12px 35px rgba(66, 45, 30, .08);
  --mxl-max: 1180px;
}

html { scroll-behavior: smooth; }
body.medizen-xerf-page { margin: 0; background: var(--mxl-soft); color: var(--mxl-ink); }
body.medizen-xerf-page #wpadminbar { z-index: 999999; }
body.medizen-xerf-page * { box-sizing: border-box; }
body.medizen-xerf-page img { max-width: 100%; height: auto; }
body.medizen-xerf-page a { color: inherit; }

.mxl {
  min-height: 100vh;
  background: #fff;
  color: var(--mxl-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow: hidden;
}

.mxl h1, .mxl h2, .mxl h3 { margin: 0; color: var(--mxl-ink); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.05; }
.mxl h1 { font-size: clamp(46px, 4.45vw, 64px); letter-spacing: -.035em; }
.mxl h2 { font-size: clamp(35px, 4vw, 58px); letter-spacing: -.025em; }
.mxl h3 { font-size: 20px; }
.mxl p { margin: 0 0 18px; color: var(--mxl-body); }
.mxl strong { font-weight: 700; }

.mxl-container { width: min(var(--mxl-max), calc(100% - 48px)); margin: 0 auto; }
.mxl-narrow { max-width: 930px; }
.mxl-center { text-align: center; }
.mxl-section { padding: 78px 0; }
.mxl-eyebrow { margin-bottom: 18px; color: var(--mxl-copper); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.mxl-btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 15px 25px;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(180deg, #bd7440, var(--mxl-copper));
  box-shadow: 0 6px 16px rgba(180, 105, 50, .18);
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.mxl-btn:hover, .mxl-btn:focus { transform: translateY(-1px); background: var(--mxl-copper-dark); box-shadow: 0 9px 20px rgba(180, 105, 50, .24); color: #fff; }
.mxl-btn-small { min-height: 42px; padding: 10px 20px; font-size: 13px; }

.mxl-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--mxl-line);
  box-shadow: 0 5px 20px rgba(38, 29, 22, .04);
  backdrop-filter: blur(12px);
}
.admin-bar .mxl-header { top: 32px; }
.mxl-header-inner { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.mxl-logo-link { display: flex; flex: 0 0 118px; width: 118px; height: 56px; align-items: center; justify-content: flex-start; overflow: hidden; text-decoration: none; }
.mxl img.mxl-logo { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; object-fit: contain; object-position: left center; }

.mxl-hero { background: linear-gradient(90deg, #f6f0e9 0%, #f4eee7 50%, #e8dacd 100%); }
.mxl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: stretch; height: min(670px, calc(100vh - 56px)); min-height: 520px; width: 100%; margin: 0; }
.mxl-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 28px 52px 28px max(24px, calc((100vw - var(--mxl-max)) / 2)); }
.mxl-hero-copy h1 { margin-bottom: 16px; }
.mxl-hero-text { max-width: 530px; margin-bottom: 16px !important; font-size: 15px; line-height: 1.55; }
.mxl-hero-copy > .mxl-btn { align-self: flex-start; min-width: 250px; width: auto; }
.mxl-trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 440px); margin: 0 0 18px; }
.mxl-trust-item { min-width: 0; padding: 0 18px; border-right: 1px solid rgba(100, 72, 54, .14); text-align: center; color: #2d2925; font-size: 11px; text-transform: uppercase; letter-spacing: .02em; }
.mxl-trust-item:first-child { padding-left: 0; }
.mxl-trust-item:last-child { padding-right: 0; border-right: 0; }
.mxl-trust-item strong { display: block; margin-top: 10px; font-size: 11px; line-height: 1.15; white-space: nowrap; }
.mxl-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto;
  border: 2px solid rgba(180, 105, 50, .88);
  border-radius: 50%;
  color: var(--mxl-copper);
}
.mxl-icon-cross::before, .mxl-icon-cross::after {
  content: '';
  position: absolute;
  left: 9px;
  right: 9px;
  top: 19px;
  height: 2px;
  border-radius: 2px;
  background: rgba(180, 105, 50, .88);
  transform-origin: center;
}
.mxl-icon-cross::before { transform: rotate(44deg); }
.mxl-icon-cross::after { transform: rotate(-44deg); }
.mxl-icon-clock {
  background:
    linear-gradient(rgba(180, 105, 50, .88), rgba(180, 105, 50, .88)) center 5px / 2px 4px no-repeat,
    linear-gradient(rgba(180, 105, 50, .88), rgba(180, 105, 50, .88)) calc(100% - 5px) center / 4px 2px no-repeat,
    linear-gradient(rgba(180, 105, 50, .88), rgba(180, 105, 50, .88)) center calc(100% - 5px) / 2px 4px no-repeat,
    linear-gradient(rgba(180, 105, 50, .88), rgba(180, 105, 50, .88)) 5px center / 4px 2px no-repeat;
}
.mxl-icon-clock::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 11px;
  background: rgba(180, 105, 50, .88);
  left: 19px;
  top: 8px;
  border-radius: 2px;
}
.mxl-icon-clock::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 2px;
  background: rgba(180, 105, 50, .88);
  left: 20px;
  top: 20px;
  transform: rotate(37deg);
  transform-origin: left center;
  border-radius: 2px;
}

.mxl-hero-image-wrap { position: relative; min-height: 0; height: 100%; overflow: hidden; background: #eadccf; }
.mxl-hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 49% center; display: block; }

.mxl-hero-copy .mxl-eyebrow { margin-bottom: 12px; }
@media (max-height: 720px) and (min-width: 761px) {
  .mxl-header-inner { min-height: 52px; }
  .mxl-logo-link { flex-basis: 108px; width: 108px; height: 50px; }
  .mxl img.mxl-logo { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; }
  .mxl-hero-grid { height: calc(100vh - 52px); min-height: 470px; }
  .mxl-hero-copy { padding-top: 18px; padding-bottom: 18px; }
  .mxl-hero-copy h1 { margin-bottom: 12px; }
  .mxl-hero-text { margin-bottom: 12px !important; line-height: 1.45; }
  .mxl-trust-row { margin-bottom: 12px; }
  .mxl-btn { min-height: 46px; padding-top: 11px; padding-bottom: 11px; }
}

.mxl-hero-image-wrap::before { content: ''; position: absolute; inset: 0 auto 0 0; z-index: 1; width: 18%; background: linear-gradient(90deg, #f4eee7, rgba(244,238,231,0)); pointer-events: none; }
.mxl-results { padding: 46px 0 32px; background: #fff; }
.mxl-results .mxl-container { width: min(1020px, calc(100% - 48px)); }
.mxl-results h2 { margin-bottom: 24px; font-size: clamp(32px, 2.8vw, 42px); letter-spacing: -.02em; }
.mxl-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin: 0 auto; }
.mxl-ba-card { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; overflow: hidden; border-radius: 12px; background: #e8e0d8; box-shadow: 0 10px 28px rgba(66,45,30,.06); }
.mxl-ba-card figure { position: relative; margin: 0; aspect-ratio: 1 / 1.03; overflow: hidden; background: #e9e0d7; }
.mxl-ba-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mxl-ba-label { position: absolute; top: 0; left: 0; z-index: 2; padding: 7px 10px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.mxl-ba-before { background: #252321; }
.mxl-ba-after { background: var(--mxl-copper); }
.mxl-disclaimer { margin: 12px auto 0 !important; max-width: 780px; text-align: center; font-size: 10px; line-height: 1.45; color: #77706a !important; }
.mxl-placeholder-note { color: #77706a !important; }

.mxl-features {
  padding: 22px 0 58px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.95), rgba(255,255,255,0) 40%),
    linear-gradient(180deg, #fbf7f2 0%, #f7f0e8 100%);
}
.mxl-features .mxl-container { width: min(1180px, calc(100% - 48px)); }
.mxl-features h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 2.9vw, 42px);
  letter-spacing: -.025em;
}
.mxl-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mxl-feature-card {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 30px 20px 26px;
  border: 1px solid rgba(84, 64, 50, .045);
  border-radius: 16px;
  background: rgba(255, 253, 250, .86);
  box-shadow: 0 12px 26px rgba(70, 49, 34, .055);
  text-align: center;
}
.mxl-feature-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 64px 64px;
  opacity: .9;
}
.mxl-feature-icon-target { background-image: url('../images/icon-target.svg'); }
.mxl-feature-icon-face { background-image: url('../images/icon-face.svg'); }
.mxl-feature-icon-feather { background-image: url('../images/icon-feather.svg'); }
.mxl-feature-icon-clock { background-image: url('../images/icon-clock.svg'); }
.mxl-feature-card h3 {
  min-height: 34px;
  margin-bottom: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.mxl-feature-card p {
  margin: 0 auto;
  max-width: 205px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #5d5752;
}

.mxl-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 525px; }
.mxl-split-media { min-height: 525px; overflow: hidden; background: #e9e1d8; }
.mxl-split-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mxl-treatment-section .mxl-split-media img { object-position: center 48%; }
.mxl-split-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(52px, 6vw, 88px); background: #fbf8f4; }
.mxl-split-copy h2 { margin-bottom: 26px; }
.mxl-split-copy > p { max-width: 590px; font-size: 15px; line-height: 1.7; }
.mxl-marble-bg { background-color: #f7f2ec; background-image: radial-gradient(circle at 10% 20%, rgba(180,105,50,.07), transparent 31%), linear-gradient(120deg, rgba(255,255,255,.85), rgba(240,231,222,.75)); }
.mxl-checklist { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.mxl-checklist li { display: flex; align-items: flex-start; gap: 12px; }
.mxl-checklist li > span { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; margin-top: 1px; border: 1px solid var(--mxl-copper); border-radius: 50%; color: var(--mxl-copper); font-size: 13px; font-weight: 800; }
.mxl-checklist strong { display: block; font-size: 14px; }
.mxl-checklist small { display: block; margin-top: 2px; color: #6d6660; font-size: 12px; line-height: 1.4; }

.mxl-why-section .mxl-split-copy { order: 1; background: #f8f4ef; }
.mxl-why-section .mxl-split-media { order: 2; }
.mxl-why-section .mxl-split-media img { object-position: center; }
.mxl-mini-benefits { display: flex; gap: 34px; margin: 15px 0 30px; }
.mxl-mini-benefits div { text-align: center; }
.mxl-mini-benefits span { display: grid; width: 42px; height: 42px; place-items: center; margin: 0 auto 8px; border: 1px solid rgba(180,105,50,.45); border-radius: 50%; color: var(--mxl-copper); font-size: 22px; }
.mxl-mini-benefits strong { color: #4c4641; font-size: 11px; line-height: 1.35; }

.mxl-reviews { background: #fff; }
.mxl-reviews h2 { margin-bottom: 28px; }
.mxl-review-placeholder-note { max-width: 850px; margin: 0 auto 22px; padding: 12px 16px; border: 1px dashed rgba(180,105,50,.45); border-radius: 9px; background: #fff8f1; color: #765238; text-align: center; font-size: 12px; }
.mxl-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mxl-review-card { min-height: 225px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--mxl-line); border-radius: 14px; background: #fff; box-shadow: var(--mxl-shadow); }
.mxl-stars { margin-bottom: 15px; color: var(--mxl-copper); letter-spacing: .15em; }
.mxl-review-card p { flex: 1; font-size: 14px; line-height: 1.55; }
.mxl-reviewer { display: flex; align-items: center; gap: 11px; }
.mxl-reviewer > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #f1e3d6; color: var(--mxl-copper); font-weight: 800; }
.mxl-reviewer strong, .mxl-reviewer small { display: block; }
.mxl-reviewer strong { font-size: 12px; }
.mxl-reviewer small { color: #847c75; font-size: 10px; }
.mxl-live-reviews { width: 100%; }

.mxl-faq { padding-top: 24px; background: #faf7f3; }
.mxl-faq h2 { margin-bottom: 25px; font-size: clamp(30px, 3.1vw, 46px); }
.mxl-faq details { margin: 0 0 9px; border: 1px solid var(--mxl-line); border-radius: 9px; background: rgba(255,255,255,.86); box-shadow: 0 4px 14px rgba(48,38,31,.03); }
.mxl-faq summary { position: relative; cursor: pointer; padding: 15px 44px 15px 18px; list-style: none; color: #35312e; font-size: 13px; font-weight: 700; }
.mxl-faq summary::-webkit-details-marker { display: none; }
.mxl-faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: #6b645d; font-size: 18px; font-weight: 400; }
.mxl-faq details[open] summary::after { content: '–'; }
.mxl-faq details p { padding: 0 18px 17px; margin: 0; font-size: 13px; line-height: 1.6; }

.mxl-final { padding: 62px 0; }
.mxl-final-grid { display: grid; grid-template-columns: 1.25fr .8fr .8fr; gap: 54px; align-items: center; }
.mxl-final h2 { margin-bottom: 16px; font-size: clamp(38px, 4vw, 55px); }
.mxl-final p { max-width: 470px; font-size: 13px; }
.mxl-contact { display: grid; gap: 16px; }
.mxl-contact > div { display: flex; gap: 12px; align-items: flex-start; }
.mxl-contact > div > span { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border: 1px solid rgba(180,105,50,.45); border-radius: 50%; color: var(--mxl-copper); }
.mxl-contact p { margin: 0; font-size: 12px; line-height: 1.45; }
.mxl-contact a { text-decoration: none; }
.mxl-final-image { overflow: hidden; border-radius: 16px; box-shadow: var(--mxl-shadow); }
.mxl-final-image img { width: 100%; aspect-ratio: 1.2/1; object-fit: cover; display: block; }

.mxl-mobile-cta { display: none; }

@media (max-width: 980px) {
  .mxl-hero-grid { grid-template-columns: 1fr 1fr; height: min(660px, calc(100vh - 60px)); min-height: 540px; }
  .mxl-hero-copy { padding-right: 35px; }
  .mxl-trust-row { width: min(100%, 392px); }
  .mxl-trust-item { min-width: 0; padding: 0 12px; }
  .mxl-feature-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .mxl-split-copy { padding: 55px 38px; }
  .mxl-final-grid { grid-template-columns: 1fr 1fr; }
  .mxl-final-image { grid-column: 1 / -1; max-width: 430px; }
}

@media (max-width: 760px) {
  .mxl { padding-bottom: 78px; }
  .mxl-container { width: min(100% - 28px, var(--mxl-max)); }
  .admin-bar .mxl-header { top: 46px; }
  .mxl-header-inner { min-height: 58px; }
  .mxl-logo-link { flex-basis: 92px; width: 92px; height: 44px; }
  .mxl img.mxl-logo { width: 100%; height: 100%; max-width: 100%; max-height: 100%; }
  .mxl-header .mxl-btn { display: none; }
  .mxl-hero-grid { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .mxl-hero-copy { order: 2; padding: 42px 14px 48px; }
  .mxl-hero-image-wrap { order: 1; min-height: 410px; margin-left: -14px; margin-right: -14px; }
  .mxl-hero-image-wrap::before { display: none; }
  .mxl-hero-image { object-position: 54% center; }
  .mxl-xerf-seal { right: 20px; bottom: 18px; width: 104px; height: 104px; }
  .mxl h1 { font-size: clamp(44px, 12vw, 60px); }
  .mxl h2 { font-size: clamp(34px, 9vw, 48px); }
  .mxl-trust-row { justify-content: space-between; }
  .mxl-trust-row { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .mxl-trust-item { min-width: 0; padding: 0 8px; }
  .mxl-section { padding: 58px 0; }
  .mxl-result-grid { grid-template-columns: 1fr; gap: 16px; }
  .mxl-feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mxl-feature-card { min-height: 300px; padding: 24px 16px 22px; }
  .mxl-feature-icon { width: 76px; height: 76px; background-size: 56px 56px; margin-bottom: 12px; }
  .mxl-feature-card p { max-width: 220px; }
  .mxl-split { grid-template-columns: 1fr; }
  .mxl-split-media { min-height: 410px; }
  .mxl-split-copy { padding: 50px 22px; }
  .mxl-treatment-section .mxl-split-media { order: 1; }
  .mxl-treatment-section .mxl-split-copy { order: 2; }
  .mxl-why-section .mxl-split-copy { order: 1; }
  .mxl-why-section .mxl-split-media { order: 2; }
  .mxl-mini-benefits { gap: 18px; justify-content: space-between; }
  .mxl-review-grid { grid-template-columns: 1fr; }
  .mxl-review-card { min-height: 0; }
  .mxl-final-grid { grid-template-columns: 1fr; gap: 30px; }
  .mxl-final-image { grid-column: auto; max-width: none; }
  .mxl-mobile-cta { position: fixed; z-index: 10000; left: 0; right: 0; bottom: 0; display: block; padding: 10px 12px; border-top: 1px solid var(--mxl-line); background: rgba(255,255,255,.96); box-shadow: 0 -6px 18px rgba(30,25,21,.08); backdrop-filter: blur(10px); }
  .mxl-mobile-cta .mxl-btn { width: 100%; min-height: 52px; }
}

@media (max-width: 440px) {
  .mxl-hero-copy > .mxl-btn { width: 100%; min-width: 0; }
  .mxl-feature-grid { grid-template-columns: 1fr; }
  .mxl-features { padding: 42px 0; }
  .mxl-feature-card { min-height: 0; }
  .mxl-feature-card h3 { min-height: 0; }
  .mxl-hero-image-wrap { min-height: 360px; }
  .mxl-trust-item strong { font-size: 9px; }
  .mxl-icon { width: 36px; height: 36px; }
  .mxl-icon-cross::before, .mxl-icon-cross::after { left: 8px; right: 8px; top: 16px; }
  .mxl-icon-clock::before { left: 16px; top: 7px; height: 9px; }
  .mxl-icon-clock::after { left: 17px; top: 17px; width: 8px; }
  .mxl-icon-clock { background: linear-gradient(rgba(180, 105, 50, .88), rgba(180, 105, 50, .88)) center 4px / 2px 4px no-repeat, linear-gradient(rgba(180, 105, 50, .88), rgba(180, 105, 50, .88)) calc(100% - 4px) center / 4px 2px no-repeat, linear-gradient(rgba(180, 105, 50, .88), rgba(180, 105, 50, .88)) center calc(100% - 4px) / 2px 4px no-repeat, linear-gradient(rgba(180, 105, 50, .88), rgba(180, 105, 50, .88)) 4px center / 4px 2px no-repeat; }
  .mxl-btn { width: 100%; }
}

@media (max-width: 760px) {
  .mxl-results { padding: 38px 0 28px; }
  .mxl-results .mxl-container { width: min(100% - 28px, 1020px); }
  .mxl-results h2 { margin-bottom: 20px; font-size: 32px; }
  .mxl-result-grid { gap: 14px; }
}
