/* MLF Espace Pro - editorial Silvera-like layout, 2026-06-19 */
:root {
  --mlfpro-black: #050505;
  --mlfpro-text: #171717;
  --mlfpro-muted: #6a6a6a;
  --mlfpro-soft: #f6f6f6;
  --mlfpro-soft-2: #fafafa;
  --mlfpro-line: #e5e5e5;
  --mlfpro-error: #a51717;
  --mlfpro-success: #17633a;
  --mlfpro-container: min(1500px, calc(100vw - 96px));
}

body#module-mlfpro-espacepro #wrapper {
  padding-top: 0;
  background: #ffffff;
}

body#module-mlfpro-espacepro #content-wrapper,
body#module-mlfpro-espacepro #main,
body#module-mlfpro-espacepro #content {
  width: 100vw !important;
  max-width: none;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body#module-mlfpro-espacepro #inner-wrapper {
  padding-right: 0;
  padding-left: 0;
}

body#module-mlfpro-espacepro .breadcrumb,
body#module-mlfpro-espacepro .page-header,
body#module-mlfpro-espacepro .page-title {
  display: none;
}

.mlfpro-page {
  width: 100vw;
  overflow: hidden;
  background: #ffffff;
  color: var(--mlfpro-text);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.mlfpro-page h1,
.mlfpro-page h2,
.mlfpro-page h3,
.mlfpro-page h4,
.mlfpro-page h5,
.mlfpro-page h6,
.mlfpro-page p,
.mlfpro-page a,
.mlfpro-page label,
.mlfpro-page input,
.mlfpro-page select,
.mlfpro-page textarea,
.mlfpro-page button,
.mlfpro-page summary,
.mlfpro-page legend {
  font-family: Arial, Helvetica, sans-serif !important;
}

.mlfpro-page *,
.mlfpro-page *::before,
.mlfpro-page *::after {
  box-sizing: border-box;
}

.mlfpro-page a {
  color: inherit;
  text-decoration: none;
}

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

.mlfpro-hero__inner,
.mlfpro-access,
.mlfpro-block {
  width: var(--mlfpro-container);
  margin-right: auto;
  margin-left: auto;
}

.mlfpro-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(540px, 1.05fr);
  gap: 82px;
  align-items: stretch;
  padding: 60px 0 88px;
}

.mlfpro-hero__copy {
  display: flex;
  flex-direction: column;
}

.mlfpro-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 34px;
  color: #6f6f6f;
  font-size: 12px;
  line-height: 1.3;
}

.mlfpro-breadcrumb a {
  color: #6f6f6f;
}

.mlfpro-breadcrumb span::before {
  content: "/";
  margin-right: 12px;
  color: #9a9a9a;
}

.mlfpro-hero h1 {
  margin: auto 0;
  color: var(--mlfpro-black);
  font-size: clamp(46px, 6vw, 104px);
  font-weight: 300;
  line-height: 0.9;
}

.mlfpro-hero__media {
  width: 100%;
  margin: 8px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 8.3;
  background: var(--mlfpro-soft);
}

.mlfpro-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% center;
}

.mlfpro-access {
  padding-bottom: 88px;
}

.mlfpro-access__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
}

.mlfpro-access-card {
  min-height: 366px;
  padding: 46px 42px;
  background: var(--mlfpro-soft);
}

.mlfpro-access-card h2 {
  max-width: 460px;
  margin: 0 0 32px;
  color: var(--mlfpro-black);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.mlfpro-access-card--create {
  display: flex;
  flex-direction: column;
}

.mlfpro-access-card--create ul {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  color: #2d2d2d;
  font-size: 14px;
  line-height: 1.45;
}

.mlfpro-access-card--create li {
  position: relative;
  padding-left: 22px;
}

.mlfpro-access-card--create li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mlfpro-black);
}

.mlfpro-access-card--create p {
  max-width: 520px;
  margin: auto 0 28px;
  color: var(--mlfpro-muted);
  font-size: 14px;
  line-height: 1.65;
}

.mlfpro-field {
  margin: 0 0 22px;
}

.mlfpro-field label,
.mlfpro-checks__label {
  display: block;
  margin: 0 0 8px;
  color: var(--mlfpro-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.mlfpro-field input,
.mlfpro-field select,
.mlfpro-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  outline: none;
  background: #ffffff;
  color: var(--mlfpro-text);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.mlfpro-field textarea {
  min-height: 108px;
  resize: vertical;
}

.mlfpro-field select {
  appearance: auto;
}

.mlfpro-field input:hover,
.mlfpro-field select:hover,
.mlfpro-field textarea:hover {
  border-color: #b9b9b9;
}

.mlfpro-field input:focus,
.mlfpro-field select:focus,
.mlfpro-field textarea:focus {
  border-color: var(--mlfpro-black);
  box-shadow: 0 0 0 3px rgba(5, 5, 5, 0.08);
}

.mlfpro-field input::placeholder,
.mlfpro-field textarea::placeholder {
  color: #8a8a8a;
}

.mlfpro-signin__forgot {
  display: block;
  margin-top: 10px;
  color: var(--mlfpro-muted);
  font-size: 12px;
  text-align: right;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mlfpro-submit {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid var(--mlfpro-black);
  border-radius: 0;
  background: var(--mlfpro-black);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.mlfpro-submit:hover,
.mlfpro-submit:focus {
  background: #ffffff;
  color: var(--mlfpro-black);
}

.mlfpro-submit--link {
  margin-top: auto;
}

.mlfpro-block {
  padding: 86px 0;
}

.mlfpro-section-head {
  display: flex;
  max-width: 820px;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 36px;
}

.mlfpro-section-head h2 {
  margin: 0;
  color: var(--mlfpro-black);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

.mlfpro-section-head p {
  margin: 0;
  color: var(--mlfpro-muted);
  font-size: 15px;
  line-height: 1.75;
}

.mlfpro-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--mlfpro-line);
  border-left: 1px solid var(--mlfpro-line);
}

.mlfpro-service-grid article {
  min-height: 236px;
  padding: 42px 38px;
  border-right: 1px solid var(--mlfpro-line);
  border-bottom: 1px solid var(--mlfpro-line);
  background: #ffffff;
}

.mlfpro-service-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--mlfpro-black);
}

.mlfpro-service-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mlfpro-service-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.mlfpro-service-grid h3 {
  max-width: 280px;
  margin: 0 0 12px;
  color: var(--mlfpro-black);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0;
}

.mlfpro-service-grid p {
  margin: 0;
  color: var(--mlfpro-muted);
  font-size: 14px;
  line-height: 1.65;
}

.mlfpro-selection-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 22px;
  overflow-x: auto;
  padding: 0 0 18px;
  scrollbar-width: thin;
}

.mlfpro-selection-row a {
  min-width: 0;
  color: var(--mlfpro-black);
}

.mlfpro-selection-row img {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
  background: var(--mlfpro-soft);
}

.mlfpro-selection-row h3 {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.mlfpro-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 70px;
  align-items: center;
}

.mlfpro-editorial__copy h2 {
  margin: 0 0 28px;
  color: var(--mlfpro-black);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.mlfpro-editorial__copy p {
  max-width: 540px;
  margin: 0 0 18px;
  color: #4f4f4f;
  font-size: 16px;
  line-height: 1.75;
}

.mlfpro-editorial__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.mlfpro-editorial__links a {
  position: relative;
  color: var(--mlfpro-black);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.mlfpro-editorial__links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
}

.mlfpro-editorial__media {
  margin: 0;
  background: var(--mlfpro-soft);
}

.mlfpro-editorial__media img {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
}

.mlfpro-compare__table {
  border-top: 1px solid var(--mlfpro-line);
  color: var(--mlfpro-text);
}

.mlfpro-compare__row {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--mlfpro-line);
}

.mlfpro-compare__row > div {
  min-width: 0;
  padding: 22px 24px;
  border-right: 1px solid var(--mlfpro-line);
  font-size: 14px;
  line-height: 1.45;
}

.mlfpro-compare__row > div:first-child {
  padding-left: 0;
  font-weight: 700;
}

.mlfpro-compare__row > div:last-child {
  border-right: 0;
}

.mlfpro-compare__row--head > div {
  color: var(--mlfpro-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.mlfpro-request {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
  padding-top: 92px;
}

.mlfpro-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  padding: 44px 42px;
  background: var(--mlfpro-soft);
}

.mlfpro-notice {
  grid-column: 1 / -1;
  margin: 0 0 28px;
  padding: 18px 20px;
  border-left: 3px solid currentColor;
  background: #ffffff;
  font-size: 14px;
  line-height: 1.55;
}

.mlfpro-notice ul {
  margin: 0;
  padding-left: 18px;
}

.mlfpro-notice--success {
  color: var(--mlfpro-success);
}

.mlfpro-notice--error {
  color: var(--mlfpro-error);
}

.mlfpro-fieldset {
  margin: 0;
  padding: 34px 0 28px;
  border: 0;
  border-top: 1px solid #dddddd;
}

.mlfpro-fieldset:nth-of-type(1) {
  order: 1;
  grid-column: 1;
  padding-top: 0;
  border-top: 0;
}

.mlfpro-fieldset:nth-of-type(2) {
  order: 3;
  grid-column: 1 / -1;
}

.mlfpro-fieldset:nth-of-type(3) {
  order: 2;
  grid-column: 2;
  padding-top: 0;
  border-top: 0;
}

.mlfpro-fieldset legend {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  color: var(--mlfpro-black);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.mlfpro-fieldset legend em {
  margin-left: 12px;
  color: var(--mlfpro-muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mlfpro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 34px;
}

.mlfpro-fieldset:nth-of-type(2) .mlfpro-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mlfpro-field--full,
.mlfpro-checks {
  grid-column: 1 / -1;
}

.mlfpro-checks {
  margin: 4px 0 8px;
}

.mlfpro-checks__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mlfpro-check {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #dddddd;
  background: #ffffff;
  color: var(--mlfpro-text);
  font-size: 13px;
  line-height: 1.3;
}

.mlfpro-check input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  accent-color: var(--mlfpro-black);
}

.mlfpro-field__hint {
  color: #707070;
  font-weight: 400;
}

.mlfpro-field--upload input[type="file"] {
  min-height: 50px;
  padding: 13px 0;
}

.mlfpro-submit--primary {
  order: 4;
  max-width: 360px;
  margin-top: 12px;
}

.mlfpro-submit--primary:hover svg,
.mlfpro-submit--primary:focus svg {
  transform: translateX(4px);
}

.mlfpro-submit--primary svg {
  transition: transform 0.18s ease;
}

.mlfpro-form__legal {
  order: 5;
  grid-column: 1 / -1;
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--mlfpro-muted);
  font-size: 12px;
  line-height: 1.6;
}

.mlfpro-faq {
  padding-top: 76px;
}

.mlfpro-faq__list {
  border-top: 1px solid var(--mlfpro-line);
}

.mlfpro-faq details {
  border-bottom: 1px solid var(--mlfpro-line);
}

.mlfpro-faq summary {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--mlfpro-black);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.mlfpro-faq__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: var(--mlfpro-black);
  font-size: 24px;
  font-weight: 300;
  line-height: 26px;
  text-align: center;
  transition: transform 0.2s ease;
}

.mlfpro-faq details[open] .mlfpro-faq__icon {
  transform: rotate(45deg);
}

.mlfpro-faq details > div {
  max-width: 760px;
  padding: 0 0 28px;
  color: var(--mlfpro-muted);
  font-size: 15px;
  line-height: 1.75;
}

.mlfpro-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  border-top: 1px solid var(--mlfpro-line);
  border-left: 1px solid var(--mlfpro-line);
}

.mlfpro-proof > div {
  min-height: 184px;
  padding: 34px 32px;
  border-right: 1px solid var(--mlfpro-line);
  border-bottom: 1px solid var(--mlfpro-line);
}

.mlfpro-proof__icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--mlfpro-black);
  border-radius: 50%;
  color: var(--mlfpro-black);
  font-size: 14px;
  font-weight: 700;
}

.mlfpro-proof__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mlfpro-proof strong {
  display: block;
  margin: 0 0 8px;
  color: var(--mlfpro-black);
  font-size: 15px;
  line-height: 1.35;
}

.mlfpro-proof p {
  margin: 0;
  color: var(--mlfpro-muted);
  font-size: 13px;
  line-height: 1.55;
}

.mlfpro-page a:focus-visible,
.mlfpro-submit:focus-visible,
.mlfpro-faq summary:focus-visible {
  outline: 2px solid var(--mlfpro-black);
  outline-offset: 3px;
}

.mlfpro-field input:focus-visible,
.mlfpro-field select:focus-visible,
.mlfpro-field textarea:focus-visible {
  outline: 2px solid var(--mlfpro-black);
  outline-offset: 2px;
}

.mlfpro-check:focus-within {
  outline: 2px solid var(--mlfpro-black);
  outline-offset: 2px;
}

@media (max-width: 1199px) {
  .mlfpro-hero__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .mlfpro-hero__media {
    margin-top: 0;
  }

  .mlfpro-service-grid,
  .mlfpro-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mlfpro-editorial {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .mlfpro-request {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mlfpro-form {
    grid-template-columns: 1fr;
  }

  .mlfpro-fieldset:nth-of-type(1),
  .mlfpro-fieldset:nth-of-type(2),
  .mlfpro-fieldset:nth-of-type(3) {
    order: initial;
    grid-column: 1 / -1;
    padding-top: 34px;
    border-top: 1px solid #dddddd;
  }

  .mlfpro-fieldset:nth-of-type(1) {
    padding-top: 0;
    border-top: 0;
  }

  .mlfpro-fieldset:nth-of-type(2) .mlfpro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :root {
    --mlfpro-container: min(520px, calc(100vw - 32px));
  }

  .mlfpro-hero__inner {
    padding: 34px 0 54px;
  }

  .mlfpro-breadcrumb {
    margin-bottom: 22px;
  }

  .mlfpro-hero h1 {
    font-size: clamp(40px, 13vw, 60px);
  }

  .mlfpro-hero__media {
    aspect-ratio: 1.2 / 1;
  }

  .mlfpro-access {
    padding-bottom: 52px;
  }

  .mlfpro-access__grid,
  .mlfpro-grid,
  .mlfpro-fieldset:nth-of-type(2) .mlfpro-grid,
  .mlfpro-checks__grid {
    grid-template-columns: 1fr;
  }

  .mlfpro-access-card,
  .mlfpro-form {
    padding: 30px 22px;
  }

  .mlfpro-block {
    padding: 56px 0;
  }

  .mlfpro-section-head {
    margin-bottom: 28px;
  }

  .mlfpro-service-grid,
  .mlfpro-proof {
    grid-template-columns: 1fr;
  }

  .mlfpro-service-grid article {
    min-height: auto;
    padding: 32px 24px;
  }

  .mlfpro-selection-row {
    grid-auto-columns: minmax(220px, 78vw);
  }

  .mlfpro-editorial__media img {
    aspect-ratio: 1 / 1;
  }

  .mlfpro-compare__table {
    border-top: 0;
  }

  .mlfpro-compare__row {
    grid-template-columns: 1fr;
    padding: 18px 0;
    border-top: 1px solid var(--mlfpro-line);
  }

  .mlfpro-compare__row--head {
    display: none;
  }

  .mlfpro-compare__row > div {
    padding: 5px 0;
    border-right: 0;
  }

  .mlfpro-compare__row > div:first-child {
    padding-top: 0;
    font-size: 15px;
  }

  .mlfpro-compare__row > div:nth-child(2)::before,
  .mlfpro-compare__row > div:nth-child(3)::before {
    display: block;
    margin-bottom: 2px;
    color: var(--mlfpro-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .mlfpro-compare__row > div:nth-child(2)::before {
    content: "Compte standard";
  }

  .mlfpro-compare__row > div:nth-child(3)::before {
    content: "Compte pro";
  }

  .mlfpro-submit--primary {
    max-width: none;
  }

  .mlfpro-faq summary {
    min-height: 68px;
    font-size: 16px;
  }

  .mlfpro-proof > div {
    min-height: auto;
    padding: 28px 24px;
  }
}

/* mlfpro — inline field error (dynamic questions) */
.mlfpro-field__error {
  display: block;
  margin: 6px 0 0;
  color: var(--mlfpro-error);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}


/* Desktop modal for the professional account request */
.mlfpro-request-backdrop,
.mlfpro-request__close {
  display: none;
}

@media (min-width: 768px) {
  body.mlfpro-modal-open {
    overflow: hidden;
  }

  .mlfpro-request-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: block;
    visibility: hidden;
    background: rgba(5, 5, 5, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }

  body.mlfpro-modal-open .mlfpro-request-backdrop {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .mlfpro-request {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10001;
    display: grid;
    width: min(1040px, calc(100vw - 56px));
    max-height: calc(100vh - 40px);
    grid-template-columns: minmax(248px, 332px) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #ffffff;
    box-shadow: 0 30px 96px rgba(0, 0, 0, 0.34);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(-50% + 16px));
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
    visibility: hidden;
  }

  body.mlfpro-modal-open .mlfpro-request {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
  }

  .mlfpro-request .mlfpro-section-head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    margin: 0;
    padding: 52px 38px;
    background: var(--mlfpro-black);
    color: #ffffff;
  }

  .mlfpro-request .mlfpro-section-head h2 {
    color: #ffffff;
    font-size: clamp(30px, 2.6vw, 42px);
    line-height: 1.04;
  }

  .mlfpro-request .mlfpro-section-head p {
    max-width: none;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.7;
  }

  .mlfpro-request .mlfpro-form {
    display: block;
    max-height: calc(100vh - 40px);
    padding: 46px 46px 40px;
    overflow: auto;
    background: #ffffff;
  }

  .mlfpro-request .mlfpro-fieldset {
    order: 0;
    grid-column: auto;
    margin: 0;
    padding: 0 0 4px;
    border-top: 0;
  }

  .mlfpro-request .mlfpro-fieldset + .mlfpro-fieldset {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--mlfpro-line);
  }

  .mlfpro-request .mlfpro-fieldset legend {
    margin-bottom: 18px;
    font-size: 20px;
  }

  .mlfpro-request .mlfpro-grid,
  .mlfpro-request .mlfpro-fieldset:nth-of-type(2) .mlfpro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 28px;
  }

  .mlfpro-request .mlfpro-field {
    margin: 0;
  }

  .mlfpro-request .mlfpro-submit--primary {
    order: 0;
    width: auto;
    min-width: 260px;
    max-width: none;
    margin-top: 28px;
  }

  .mlfpro-request .mlfpro-form__legal {
    order: 0;
    max-width: none;
    margin-top: 14px;
  }

  .mlfpro-request .mlfpro-notice {
    margin-bottom: 20px;
  }

  .mlfpro-request__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mlfpro-line);
    background: #ffffff;
    color: var(--mlfpro-black);
    cursor: pointer;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  }

  .mlfpro-request__close:hover,
  .mlfpro-request__close:focus-visible {
    border-color: var(--mlfpro-black);
    background: var(--mlfpro-black);
    color: #ffffff;
  }
}

body.mlfpro-modal-open #zolaa-chatbot {
  display: none !important;
}

@media (max-width: 767px) {
  body.mlfpro-modal-open {
    overflow: hidden;
  }

  .mlfpro-request-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: block;
    visibility: hidden;
    background: rgba(5, 5, 5, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  body.mlfpro-modal-open .mlfpro-request-backdrop {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .mlfpro-request {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 2147483647;
    display: block;
    width: 100%;
    max-height: 94vh;
    max-height: 94dvh;
    margin: 0;
    padding: 28px 18px calc(26px + env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 0;
    border-radius: 20px 20px 0 0;
    background: #ffffff;
    box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.36s cubic-bezier(0.22, 0.84, 0.26, 1), visibility 0.36s ease;
  }

  body.mlfpro-modal-open .mlfpro-request {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mlfpro-request::before {
    content: "";
    display: block;
    width: 44px;
    height: 5px;
    margin: -10px auto 18px;
    border-radius: 999px;
    background: #dadada;
  }

  .mlfpro-request .mlfpro-section-head {
    gap: 8px;
    margin-bottom: 22px;
    padding-right: 46px;
  }

  .mlfpro-request .mlfpro-section-head h2 {
    max-width: 340px;
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.06;
  }

  .mlfpro-request .mlfpro-section-head p {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.6;
  }

  .mlfpro-request__close {
    position: absolute;
    top: 16px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mlfpro-line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--mlfpro-black);
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
  }

  .mlfpro-form {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .mlfpro-fieldset {
    padding: 22px 0 4px;
    border-top: 0;
  }

  .mlfpro-fieldset + .mlfpro-fieldset {
    margin-top: 22px;
    padding-top: 24px;
    border-top: 1px solid var(--mlfpro-line);
  }

  .mlfpro-fieldset legend {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .mlfpro-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mlfpro-field {
    margin-bottom: 0;
  }

  .mlfpro-field input,
  .mlfpro-field select,
  .mlfpro-field textarea {
    min-height: 50px;
    font-size: 16px;
  }

  .mlfpro-submit--primary {
    width: 100%;
    min-height: 54px;
    margin-top: 18px;
  }

  .mlfpro-form__legal {
    margin-top: 14px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mlfpro-page *,
  .mlfpro-page *::before,
  .mlfpro-page *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

/* Animated success state (form submitted) */
.mlfpro-form--done .mlfpro-fieldset,
.mlfpro-form--done .mlfpro-submit--primary,
.mlfpro-form--done .mlfpro-form__legal {
  display: none !important;
}

.mlfpro-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 30px 12px 18px;
  text-align: center;
  animation: mlfpro-success-pop 0.5s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

.mlfpro-success__check {
  display: inline-flex;
  width: 88px;
  height: 88px;
}

.mlfpro-success__check svg {
  width: 100%;
  height: 100%;
}

.mlfpro-success__circle {
  stroke: var(--mlfpro-success, #2f7d32);
  stroke-width: 3;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: mlfpro-success-draw 0.5s ease forwards 0.1s;
}

.mlfpro-success__tick {
  stroke: var(--mlfpro-success, #2f7d32);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: mlfpro-success-draw 0.35s ease forwards 0.55s;
}

.mlfpro-success__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.mlfpro-success__text {
  margin: 0;
  max-width: 380px;
  color: var(--mlfpro-muted);
  font-size: 15px;
  line-height: 1.65;
}

@keyframes mlfpro-success-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes mlfpro-success-pop {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mlfpro-success,
  .mlfpro-success__circle,
  .mlfpro-success__tick {
    animation: none;
  }

  .mlfpro-success__circle,
  .mlfpro-success__tick {
    stroke-dashoffset: 0;
  }
}
