:root {
  --void: #030303;
  --surface: rgba(19, 18, 15, .8);
  --ink: #f6f0e4;
  --muted: #aaa59e;
  --gold: #d7af53;
  --gold-bright: #f0cf77;
  --gold-line: rgba(215, 175, 83, .68);
  --line: rgba(238, 219, 171, .23);
  --field: rgba(23, 22, 19, .92);
  --danger: #ffb1a8;
  --success: #bfe8c4;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--void); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(65% 90% at 49% 63%, rgba(151, 109, 34, .09), transparent 56%),
    radial-gradient(36% 30% at 14% 97%, rgba(204, 144, 37, .14), transparent 55%),
    linear-gradient(110deg, rgba(0, 0, 0, .94), rgba(6, 6, 5, .78) 55%, rgba(0, 0, 0, .96)),
    url('../images/bg/marble_dark.webp') center / cover fixed,
    var(--void);
  font-family: "DM Sans", Arial, sans-serif;
}

.lx-page {
  width: min(1280px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 98px) 0;
  display: grid;
  align-items: center;
}

.lx-shell {
  display: grid;
  grid-template-columns: minmax(340px, .86fr) minmax(560px, 1.16fr);
  gap: clamp(66px, 9vw, 146px);
  align-items: center;
}

.lx-intro { min-width: 0; padding: 0 0 16px 16px; }
.lx-copy { max-width: 450px; }
.lx-kicker { display: block; margin-bottom: 19px; color: var(--gold-bright); font-size: 13px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.lx-intro h1 { margin: 0; color: #fcfaf6; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(62px, 6.1vw, 88px); font-weight: 500; letter-spacing: -.035em; line-height: .86; }
.lx-intro h1 .lx-headline-second { display: block; margin-top: .06em; }
.lx-intro h1 em { color: var(--gold); font-weight: 500; }
.lx-intro h1 b { color: var(--gold); font-weight: 500; }
.lx-rule { display: block; width: 72px; height: 1px; margin: 42px 0 25px; background: var(--gold); }
.lx-lead { max-width: 400px; margin: 0; color: #bbb5ae; font-size: 16px; font-weight: 400; letter-spacing: .01em; line-height: 1.75; }

.lx-form { position: relative; width: 100%; padding: 37px 42px 32px; border: 1px solid var(--gold-line); border-radius: 21px; background: linear-gradient(145deg, rgba(25, 23, 18, .85), rgba(8, 8, 8, .82)); box-shadow: 0 28px 100px rgba(0,0,0,.58), inset 0 1px rgba(255,255,255,.035); backdrop-filter: blur(8px); }
.lx-form-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 35px; }
.lx-form-head > span { color: var(--gold-bright); font-size: 16px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.lx-form-head strong { display: inline-flex; align-items: center; gap: 7px; color: #b8b3ac; font-size: 13px; font-weight: 500; white-space: nowrap; }
.lx-form-head strong i, .lx-reassurance span { color: var(--gold); font-style: normal; }

.lx-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 17px; row-gap: 27px; }
.lx-form-grid .lx-wide { grid-column: 1 / -1; }
.lx-form label { display: grid; gap: 7px; color: #f1efeb; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.lx-form label > span { color: #aaa69f; font-size: 10px; font-weight: 500; letter-spacing: .11em; }
.lx-form input, .lx-form select, .lx-form textarea { width: 100%; min-height: 53px; border: 1px solid rgba(221, 193, 122, .46); border-radius: 7px; outline: none; color: var(--ink); background: var(--field); font: 400 16px "DM Sans", Arial, sans-serif; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.lx-form input, .lx-form select { padding: 0 16px; }
.lx-form textarea { min-height: 100px; padding: 15px 16px; resize: vertical; line-height: 1.45; }
.lx-form input::placeholder, .lx-form textarea::placeholder { color: #8f8c87; opacity: 1; }
.lx-form select { appearance: auto; }
.lx-form input:focus, .lx-form select:focus, .lx-form textarea:focus { border-color: var(--gold-bright); background: #17150f; box-shadow: 0 0 0 3px rgba(215, 175, 83, .13); }
.lx-phone { display: flex; align-items: center; min-height: 53px; border: 1px solid rgba(221, 193, 122, .46); border-radius: 7px; background: var(--field); overflow: hidden; }
.lx-phone-flag { display: none; width: 46px; height: 27px; align-items: center; justify-content: center; margin-left: 10px; border-right: 1px solid rgba(221, 193, 122, .2); }
.lx-phone.has-country .lx-phone-flag { display: inline-flex; }
.lx-phone-flag img { display: block; width: 20px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.lx-phone input { min-width: 0; min-height: 51px; padding-left: 16px; border: 0; background: transparent; box-shadow: none !important; }
.lx-phone.has-country input { padding-left: 12px; }
.lx-phone:focus-within { border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(215, 175, 83, .13); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.lx-form-body > label:not(.lx-consent), .lx-alert, .lx-submit, .lx-reassurance { margin-top: 27px; }
.lx-consent { display: flex !important; align-items: center; grid-template-columns: auto 1fr; gap: 12px !important; margin-top: 26px; color: #b8b3ac !important; font-size: 13px !important; font-weight: 400 !important; letter-spacing: 0 !important; line-height: 1.35; text-transform: none !important; }
.lx-consent input { width: 21px; min-height: 21px; margin: 0; accent-color: var(--gold); }
.lx-consent a, .lx-legal a { color: var(--gold-bright); text-decoration-color: rgba(240, 207, 119, .45); text-underline-offset: 3px; }
.lx-consent a:hover, .lx-legal a:hover { color: #fff2c7; }
.lx-button { width: 100%; min-height: 57px; border: 1px solid rgba(255, 234, 165, .55); border-radius: 6px; color: #080705; background: linear-gradient(110deg, #ca9635, #f1ce74 48%, #bd8827); box-shadow: 0 12px 31px rgba(209, 160, 51, .18); font: 700 16px "DM Sans", Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: filter .18s ease, box-shadow .18s ease; }
.lx-button:hover { filter: brightness(1.07); box-shadow: 0 15px 36px rgba(209, 160, 51, .29); }
.lx-button:focus-visible { outline: 3px solid #fff0ba; outline-offset: 3px; }
.lx-reassurance { display: flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 0; color: #9e9a95; font-size: 13px; text-align: center; }
.lx-legal { margin: 13px 0 0; color: #8f8a83; font-size: 11px; text-align: center; }
.lx-alert { padding: 12px 14px; border-radius: 7px; font-size: 13px; line-height: 1.45; }
.lx-alert.success { color: var(--success); border: 1px solid rgba(191, 232, 196, .28); background: rgba(69, 105, 74, .15); }
.lx-alert.error { color: var(--danger); border: 1px solid rgba(255, 177, 168, .3); background: rgba(125, 45, 38, .18); }
.lx-form-body { transition: opacity .28s ease, filter .28s ease; }
.lx-submitting { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 32px; border-radius: inherit; color: var(--ink); text-align: center; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.lx-submitting strong { font-size: 16px; font-weight: 600; letter-spacing: .02em; }
.lx-submitting p { margin: 0; color: var(--muted); font-size: 13px; }
.lx-loader { width: 38px; height: 38px; border: 2px solid rgba(215, 175, 83, .22); border-top-color: var(--gold-bright); border-radius: 50%; animation: lx-spin .85s linear infinite; }
.lx-form.is-submitting { min-height: 520px; }
.lx-form.is-submitting .lx-form-body { opacity: 0; filter: blur(4px); pointer-events: none; user-select: none; }
.lx-form.is-submitting .lx-submitting { opacity: 1; }
.lx-complete { display: grid; justify-items: center; max-width: 470px; min-height: 510px; margin: 0 auto; padding: 32px 10px; text-align: center; align-content: center; }
.lx-complete-mark { width: 66px; height: 66px; display: grid; place-items: center; margin-bottom: 27px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-bright); box-shadow: 0 0 0 7px rgba(215, 175, 83, .06), 0 0 34px rgba(215, 175, 83, .15); font: 500 39px "Cormorant Garamond", Georgia, serif; }
.lx-complete .lx-kicker { margin-bottom: 16px; font-size: 11px; }
.lx-complete h2 { margin: 0; color: #fcfaf6; font: 500 clamp(43px, 4.4vw, 60px)/.91 "Cormorant Garamond", Georgia, serif; letter-spacing: -.03em; }
.lx-complete h2 span { color: var(--gold); }
.lx-complete .lx-rule { margin: 28px auto 20px; }
.lx-complete p { max-width: 380px; margin: 0; color: #b8b3ac; font-size: 15px; line-height: 1.7; }
.lx-complete-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 30px; color: #99948c; font-size: 12px; line-height: 1.45; }
.lx-complete-note span { color: var(--gold); }
@keyframes lx-spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .lx-page { width: min(680px, calc(100% - 36px)); padding: 48px 0; }
  .lx-shell { grid-template-columns: 1fr; gap: 42px; }
  .lx-intro { padding: 0; text-align: center; }
  .lx-copy, .lx-lead { max-width: 560px; margin-left: auto; margin-right: auto; }
  .lx-rule { margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
  body { background-attachment: scroll; }
  .lx-page { width: min(100% - 26px, 500px); padding: 29px 0 42px; }
  .lx-shell { gap: 30px; }
  .lx-kicker { margin-bottom: 14px; font-size: 10px; }
  .lx-intro h1 { font-size: clamp(55px, 18vw, 72px); }
  .lx-rule { margin: 29px auto 17px; }
  .lx-lead { font-size: 14px; line-height: 1.65; }
  .lx-form { padding: 24px 18px 22px; border-radius: 16px; }
  .lx-form-head { margin-bottom: 26px; }
  .lx-form-head > span { font-size: 13px; }
  .lx-form-head strong { font-size: 11px; }
  .lx-form-grid { grid-template-columns: 1fr; row-gap: 19px; }
  .lx-form-body > label:not(.lx-consent), .lx-alert, .lx-submit, .lx-reassurance { margin-top: 20px; }
  .lx-form input, .lx-form select { min-height: 51px; }
  .lx-consent { align-items: flex-start; font-size: 12px !important; }
  .lx-button { min-height: 54px; font-size: 13px; }
  .lx-reassurance { font-size: 11px; }
  .lx-form.is-submitting { min-height: 490px; }
  .lx-complete { min-height: 470px; padding: 22px 4px; }
  .lx-complete-mark { width: 58px; height: 58px; margin-bottom: 23px; font-size: 35px; }
  .lx-complete h2 { font-size: 47px; }
  .lx-complete p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
