:root {
  --ink: #201226;
  --ink-soft: #3b2940;
  --muted: #77677b;
  --paper: #fffafd;
  --surface: #ffffff;
  --surface-soft: #f8f0fa;
  --surface-purple: #f3e8f7;
  --line: #e8d9ec;
  --purple-950: #24191f;
  --purple-900: #35232d;
  --purple-800: #4a1358;
  --purple-700: #63374d;
  --purple-600: #7b4b5f;
  --purple-500: #9a6b79;
  --purple-300: #cf9fd6;
  --purple-100: #f0dcf3;
  --gold: #c6a15b;
  --gold-light: #f0dca8;
  --danger: #a9242a;
  --success: #267454;
  --shadow-xs: 0 6px 18px rgba(55, 15, 67, .06);
  --shadow-sm: 0 14px 38px rgba(55, 15, 67, .10);
  --shadow-lg: 0 28px 80px rgba(55, 15, 67, .19);
  --shadow-purple: 0 18px 44px rgba(100, 27, 117, .26);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --container: min(1180px, calc(100% - 34px));
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 96% 2%, rgba(157, 66, 170, .08), transparent 28rem),
    var(--paper);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .64; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 94px 0; }
.section-sm { padding: 60px 0; }
.section-soft {
  background:
    linear-gradient(135deg, rgba(127, 38, 143, .055), transparent 45%),
    var(--surface-soft);
  border-block: 1px solid rgba(127, 38, 143, .07);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--purple-700);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .19em;
  text-transform: uppercase;
}
h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.06;
  margin: 0 0 17px;
  letter-spacing: -.035em;
  color: var(--ink);
}
h1 { font-size: clamp(2.8rem, 7.2vw, 6.25rem); }
h2 { font-size: clamp(2.08rem, 4.6vw, 3.85rem); }
h3 { font-size: clamp(1.28rem, 2vw, 1.72rem); }
p { margin: 0 0 16px; }
.lead { font-size: clamp(1.06rem, 2vw, 1.32rem); color: var(--muted); max-width: 770px; }
.muted { color: var(--muted); }

.skip-link { position: fixed; left: 16px; top: -70px; z-index: 9999; background: var(--purple-950); color: #fff; padding: 12px 18px; border-radius: 12px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 250, 253, .88);
  backdrop-filter: blur(22px) saturate(135%);
  border-bottom: 1px solid rgba(100, 27, 117, .13);
  box-shadow: 0 8px 30px rgba(48, 12, 58, .035);
}
.header-glow { position: absolute; inset: 0 auto 0 0; width: 30%; pointer-events: none; background: linear-gradient(90deg, rgba(127, 38, 143, .08), transparent); }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 27px; position: relative; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: -.04em; white-space: nowrap; }
.brand img { width: 46px; height: 46px; filter: drop-shadow(0 8px 14px rgba(74, 19, 88, .16)); }
.brand span { font-size: 1.08rem; }
.brand b { color: var(--purple-700); }
.brand small { color: var(--gold); font-size: .72em; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.main-nav a { position: relative; font-size: .93rem; font-weight: 760; color: #554158; padding: 9px 0; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 2px; height: 2px; background: linear-gradient(90deg, var(--purple-600), var(--gold)); transition: .22s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--purple-700); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { left: 0; right: 0; }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.35rem; color: var(--purple-800); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-weight: 850;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--purple-700), var(--purple-500)); color: #fff; box-shadow: var(--shadow-purple); }
.btn-primary:hover { background: linear-gradient(135deg, var(--purple-800), var(--purple-600)); box-shadow: 0 22px 50px rgba(100, 27, 117, .32); }
.btn-dark { background: var(--purple-950); color: #fff; box-shadow: 0 13px 30px rgba(36, 9, 45, .22); }
.btn-light { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-xs); }
.btn-soft { background: var(--surface-purple); color: var(--purple-800); border-color: rgba(127, 38, 143, .14); }
.btn-ghost { border-color: var(--line); background: transparent; }
.btn-outline-light { background: transparent; color: var(--purple-700); border-color: var(--purple-300); }
.btn-sm { padding: 9px 15px; min-height: 40px; font-size: .88rem; }
.btn-block { width: 100%; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 82px;
  min-height: 730px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 82% 28%, rgba(198, 161, 91, .21), transparent 19rem),
    radial-gradient(circle at 86% 76%, rgba(157, 66, 170, .28), transparent 27rem),
    linear-gradient(135deg, #fffafd 0%, #fbf0ff 52%, #f4e4f8 100%);
  border-bottom: 1px solid rgba(127, 38, 143, .10);
}
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; left: -250px; top: -230px; border-radius: 50%; border: 1px solid rgba(127, 38, 143, .13); box-shadow: 0 0 0 60px rgba(127, 38, 143, .025), 0 0 0 120px rgba(127, 38, 143, .018); }
.hero::after { content: "✦"; position: absolute; right: 7%; top: 15%; color: var(--gold); font-size: 3rem; opacity: .55; transform: rotate(18deg); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.13fr .87fr; gap: 58px; align-items: center; }
.hero-copy { position: relative; }
.hero-copy::before { content: ""; position: absolute; left: -24px; top: 8px; width: 5px; height: 120px; border-radius: 99px; background: linear-gradient(var(--gold), var(--purple-600)); }
.hero h1 em { font-style: italic; color: var(--purple-700); text-shadow: 0 10px 28px rgba(100, 27, 117, .12); }
.hero-copy .lead { margin: 24px 0 31px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 23px; flex-wrap: wrap; margin-top: 30px; color: #57445c; font-size: .91rem; }
.trust-row span { display: flex; align-items: center; gap: 8px; font-weight: 680; }
.trust-row i { color: var(--purple-700); background: var(--purple-100); width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-size: .72rem; }
.hero-card { position: relative; background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.82); border-radius: var(--radius-lg); padding: 31px; box-shadow: var(--shadow-lg); backdrop-filter: blur(14px); }
.hero-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(127,38,143,.08); border-radius: 29px; pointer-events: none; }
.hero-card::after { content: ""; position: absolute; width: 155px; height: 155px; border-radius: 50%; border: 1px solid rgba(198,161,91,.45); right: -58px; top: -58px; box-shadow: 0 0 0 20px rgba(198,161,91,.045); }
.hero-card h2 { font-size: 1.75rem; }
.search-stack { display: grid; gap: 13px; position: relative; }

.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 850; color: #59445d; }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--purple-500); box-shadow: 0 0 0 4px rgba(157,66,170,.13); background: #fff; }
.textarea { min-height: 125px; resize: vertical; }
.field-help { font-size: .78rem; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.stat { padding: 27px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border: 0; }
.stat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--purple-500), transparent); opacity: .42; }
.stat strong { display: block; font-family: Georgia, serif; font-size: 2.05rem; color: var(--purple-700); }
.stat span { color: var(--muted); font-size: .89rem; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; }
.section-head.center { display: block; text-align: center; max-width: 820px; margin: 0 auto 44px; }
.section-head.center .lead { margin-inline: auto; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-xs); overflow: hidden; }
.card-body { padding: 26px; }
.card-hover { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.card-hover:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--purple-300); }
.category-card { padding: 29px; min-height: 222px; position: relative; overflow: hidden; background: linear-gradient(145deg, #fff 0%, #fff 62%, #fbf3fd 100%); }
.category-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 145px; height: 145px; border-radius: 50%; background: rgba(127,38,143,.055); }
.category-card .category-icon { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 17px; font-size: 1.82rem; margin-bottom: 34px; background: linear-gradient(135deg, var(--purple-100), #fff); box-shadow: inset 0 0 0 1px rgba(127,38,143,.10); }
.category-card p { color: var(--muted); }
.category-card::after { content: "→"; position: absolute; right: 24px; bottom: 20px; font-size: 1.4rem; color: var(--purple-700); }
.steps { counter-reset: step; }
.step-card { position: relative; padding: 29px; border-top: 4px solid var(--purple-600); }
.step-card:nth-child(2) { border-top-color: var(--gold); }
.step-card:nth-child(3) { border-top-color: var(--purple-300); }
.step-card::before { counter-increment: step; content: "0" counter(step); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--purple-950); color: #fff; font-weight: 900; margin-bottom: 28px; box-shadow: 0 10px 22px rgba(36,9,45,.2); }

.provider-card { display: flex; flex-direction: column; }
.provider-image { aspect-ratio: 4/3; background: linear-gradient(135deg, #eee0f2, #f5e9dc); position: relative; overflow: hidden; }
.provider-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(36,9,45,.28)); pointer-events: none; }
.provider-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.provider-card:hover .provider-image img { transform: scale(1.04); }
.provider-badge { position: absolute; z-index: 2; left: 14px; top: 14px; background: rgba(255,255,255,.93); color: var(--purple-800); border: 1px solid rgba(127,38,143,.12); border-radius: 999px; padding: 7px 11px; font-size: .73rem; font-weight: 900; }
.favorite-btn { position: absolute; z-index: 2; right: 14px; top: 14px; background: rgba(255,255,255,.93); border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 1.1rem; color: var(--purple-700); }
.provider-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; background: var(--surface-purple); font-size: .74rem; font-weight: 850; color: var(--purple-800); }
.rating { color: #8a632b; font-weight: 850; }
.provider-card .card-body { display: flex; flex-direction: column; flex: 1; }
.provider-card .card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }

.banner { border-radius: var(--radius-lg); padding: 56px; background: radial-gradient(circle at 80% 20%, rgba(198,161,91,.22), transparent 18rem), linear-gradient(135deg, var(--purple-950), var(--purple-700)); color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.banner::after { content: ""; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; right: -80px; top: -145px; box-shadow: 0 0 0 40px rgba(255,255,255,.025); }
.banner h2 { color: #fff; }
.banner .lead { color: rgba(255,255,255,.78); }

.footer { position: relative; overflow: hidden; background: linear-gradient(145deg, #19051f, #32103b); color: #f8effa; padding: 72px 0 30px; }
.footer-orbit { position: absolute; width: 480px; height: 480px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); right: -250px; bottom: -250px; box-shadow: 0 0 0 65px rgba(255,255,255,.018); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.35fr repeat(3,1fr); gap: 44px; }
.footer p, .footer a { color: #d8c9dc; }
.footer a:hover { color: #fff; }
.footer h3 { font-size: .95rem; font-family: inherit; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); }
.footer-links { display: grid; gap: 10px; }
.footer-brand b { color: var(--gold-light); }
.footer-promise { margin-top: 19px; max-width: 410px; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.10); margin-top: 44px; padding-top: 23px; display: flex; justify-content: space-between; gap: 20px; color: #aa98ae; font-size: .83rem; }

.page-hero { position: relative; overflow: hidden; padding: 78px 0 56px; background: radial-gradient(circle at 86% 20%, rgba(198,161,91,.16), transparent 15rem), linear-gradient(135deg, #fff9fd, #f4e5f8); border-bottom: 1px solid rgba(127,38,143,.10); }
.page-hero::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(127,38,143,.11); right: -110px; bottom: -190px; }
.page-hero .lead { margin-top: 18px; }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-bottom: 26px; }
.breadcrumb span { color: #aa96ae; }

.filters { display: grid; grid-template-columns: 1.4fr repeat(3,1fr) auto; gap: 10px; background: rgba(255,255,255,.95); padding: 15px; border: 1px solid var(--line); border-radius: 19px; position: sticky; top: 96px; z-index: 40; box-shadow: var(--shadow-sm); backdrop-filter: blur(14px); }
.results-meta { display: flex; justify-content: space-between; align-items: center; margin: 29px 0 18px; }
.empty { padding: 46px; text-align: center; border: 1px dashed var(--purple-300); border-radius: var(--radius); background: #fff; }
.profile-layout { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 30px; align-items: start; }
.profile-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; min-height: 470px; }
.profile-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 17px; }
.profile-gallery img:first-child { grid-row: 1/3; }
.profile-content { display: grid; gap: 24px; }
.profile-sidebar { position: sticky; top: 101px; }
.info-list { display: grid; gap: 12px; }
.info-row { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }

.wizard { max-width: 880px; margin: auto; }
.wizard-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 31px; }
.progress-bar { height: 10px; background: #eaddec; border-radius: 999px; overflow: hidden; flex: 1; box-shadow: inset 0 1px 2px rgba(36,9,45,.07); }
.progress-bar span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--purple-700), var(--purple-500), var(--gold)); border-radius: inherit; transition: width .32s ease; }
.progress-text { font-weight: 900; font-size: .84rem; color: var(--purple-800); }
.wizard > .card, #quote-form { box-shadow: var(--shadow-lg); border-color: rgba(127,38,143,.16); }
.wizard-panel { display: none; }
.wizard-panel.active { display: block; animation: fadeUp .28s ease; }
.choice-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); padding: 18px; border-radius: 16px; background: #fff; font-weight: 850; cursor: pointer; min-height: 65px; transition: .2s; }
.choice label:hover { border-color: var(--purple-300); background: #fdf8ff; transform: translateY(-1px); }
.choice input:focus-visible + label { outline: 3px solid rgba(157,66,170,.22); outline-offset: 2px; }
.choice input:checked + label { border-color: var(--purple-600); background: linear-gradient(135deg, #fff, var(--surface-purple)); box-shadow: 0 0 0 3px rgba(157,66,170,.11), 0 10px 24px rgba(100,27,117,.08); color: var(--purple-800); }
.wizard-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 29px; }

.auth-shell { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-visual { position: relative; overflow: hidden; background: radial-gradient(circle at 78% 22%, rgba(198,161,91,.28), transparent 17rem), linear-gradient(145deg, var(--purple-950), var(--purple-600)); padding: 72px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.auth-visual::before { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; right: -210px; bottom: -150px; box-shadow: 0 0 0 55px rgba(255,255,255,.025); }
.auth-visual h1 { color: #fff; }
.auth-visual .lead { color: rgba(255,255,255,.78); }
.auth-panel { display: grid; place-items: center; padding: 46px; background: linear-gradient(145deg, #fff, #f9f0fb); }
.auth-card { width: min(520px,100%); background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-lg); }
.tabs { display: flex; background: var(--surface-purple); padding: 5px; border-radius: 999px; margin-bottom: 24px; }
.tab-btn { flex: 1; border: 0; background: transparent; color: var(--purple-800); padding: 11px; border-radius: 999px; font-weight: 850; }
.tab-btn.active { background: #fff; box-shadow: var(--shadow-xs); }
.auth-form { display: none; }
.auth-form.active { display: grid; gap: 14px; }
.separator { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; margin: 18px 0; }
.separator::before, .separator::after { content: ""; height: 1px; background: var(--line); flex: 1; }

.dashboard-shell { display: grid; grid-template-columns: 270px minmax(0,1fr); min-height: calc(100vh - var(--header-h)); }
.dash-sidebar { background: radial-gradient(circle at 20% 100%, rgba(157,66,170,.28), transparent 18rem), linear-gradient(180deg, var(--purple-950), #2d0d35); color: #fff; padding: 30px 19px; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); }
.dash-sidebar .brand span { color: #fff; }
.dash-menu { display: grid; gap: 7px; margin-top: 30px; }
.dash-link { border: 0; background: transparent; color: #d3c2d7; text-align: left; padding: 12px 13px; border-radius: 12px; font-weight: 750; }
.dash-link.active, .dash-link:hover { background: rgba(255,255,255,.10); color: #fff; }
.dash-main { padding: 37px; background: linear-gradient(135deg, #fbf7fc, #f7eef9); }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 27px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.metric { padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-xs); border-top: 3px solid var(--purple-500); }
.metric:nth-child(even) { border-top-color: var(--gold); }
.metric strong { display: block; font-size: 1.85rem; font-family: Georgia,serif; color: var(--purple-800); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; margin-top: 21px; box-shadow: var(--shadow-xs); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.table-wrap { overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.data-table th, .data-table td { text-align: left; padding: 13px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.data-table th { color: var(--purple-800); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: .74rem; font-weight: 900; }
.status-new { background: #fff1d6; color: #8c5a00; }
.status-active { background: #e4f5eb; color: #17623e; }
.status-draft { background: #eee3f1; color: #66506c; }
.status-rejected { background: #fde8e8; color: #9b1c1c; }

.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; align-items: stretch; }
.price-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; position: relative; box-shadow: var(--shadow-xs); }
.price-card.featured { border-color: var(--purple-500); box-shadow: var(--shadow-lg); transform: translateY(-9px); background: linear-gradient(160deg, #fff, #fbf2fd); }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--purple-700), var(--purple-500)); color: #fff; padding: 7px 13px; border-radius: 999px; font-size: .73rem; font-weight: 900; white-space: nowrap; }
.price { font-size: 2.55rem; font-family: Georgia,serif; margin: 20px 0 6px; color: var(--purple-800); }
.price small { font-size: .9rem; font-family: inherit; color: var(--muted); }
.feature-list { display: grid; gap: 10px; padding: 0; list-style: none; margin: 22px 0; }
.feature-list li::before { content: "✓"; color: var(--purple-600); font-weight: 900; margin-right: 8px; }

.faq { display: grid; gap: 13px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 19px 21px; box-shadow: var(--shadow-xs); }
.faq details[open] { border-color: var(--purple-300); }
.faq summary { cursor: pointer; font-weight: 850; color: var(--ink-soft); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.toast-container { position: fixed; right: 18px; bottom: 18px; z-index: 2000; display: grid; gap: 10px; }
.toast { background: var(--purple-950); color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); max-width: 380px; animation: slideIn .25s ease; }
.toast.error { background: #7d1f2b; }
.toast.success { background: #1e6546; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(26,8,31,.68); display: none; place-items: center; z-index: 1500; padding: 18px; backdrop-filter: blur(6px); }
.modal-backdrop.open { display: grid; }
.modal { width: min(580px,100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: 24px; padding: 29px; box-shadow: var(--shadow-lg); }
.modal-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.modal-close { border: 0; background: var(--surface-purple); color: var(--purple-800); width: 39px; height: 39px; border-radius: 50%; }
.cookie-banner { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 1800; background: linear-gradient(135deg, var(--purple-950), var(--purple-800)); color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 19px; padding: 19px; display: none; align-items: center; justify-content: space-between; gap: 18px; box-shadow: var(--shadow-lg); }
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; color: #e1d5e4; font-size: .88rem; max-width: 820px; }
.cookie-banner a { text-decoration: underline; color: #fff; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.notice { padding: 16px 18px; border-radius: 14px; background: #fff8e5; border: 1px solid #efd797; color: #6f5212; }
.notice.success { background: #eaf7ef; border-color: #b8dec7; color: #235e3f; }
.notice.danger { background: #fff0f0; border-color: #f4c6c6; color: #8a2424; }

.hidden { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .68s ease, transform .68s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: rgba(255,250,253,.98); padding: 25px; display: none; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .menu-open .main-nav { display: flex; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-actions .nav-pro-link { display: none; }
  .hero-grid, .profile-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .hero-card { max-width: 760px; }
  .grid-4, .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .filters { grid-template-columns: 1fr 1fr; position: static; }
  .filters .btn { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2/4; }
  .profile-sidebar { position: static; }
  .dashboard-shell { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; height: auto; }
  .dash-menu { grid-template-columns: repeat(5,auto); overflow: auto; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 740px) {
  :root { --container: min(100% - 22px,1180px); --header-h: 70px; }
  .section { padding: 66px 0; }
  .section-sm { padding: 44px 0; }
  .site-header { height: var(--header-h); }
  .brand span { font-size: .92rem; }
  .brand img { width: 38px; height: 38px; }
  .nav-actions .btn-primary, .nav-actions .btn-soft, .nav-actions .btn-outline-light { display: none; }
  .hero { min-height: auto; padding: 55px 0; }
  .hero-grid { gap: 37px; }
  .hero-copy::before { display: none; }
  .hero-card { padding: 23px; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-2, .grid-3, .grid-4, .pricing-grid, .choice-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head .btn { margin-top: 15px; }
  .banner { padding: 38px 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 29px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { display: block; }
  .filters { grid-template-columns: 1fr; }
  .filters .btn { grid-column: auto; }
  .results-meta { align-items: flex-start; gap: 12px; flex-direction: column; }
  .profile-gallery { min-height: 330px; grid-template-columns: 1fr 1fr; }
  .profile-gallery img:first-child { grid-column: 1/3; grid-row: auto; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { min-height: 280px; padding: 38px 24px; }
  .auth-visual h1 { font-size: 2.8rem; }
  .auth-panel { padding: 26px 12px; }
  .auth-card { padding: 21px; }
  .dashboard-shell { display: block; }
  .dash-sidebar { padding: 14px; overflow: auto; }
  .dash-menu { display: flex; margin: 0; }
  .dash-link { white-space: nowrap; }
  .dash-main { padding: 24px 12px; }
  .dash-top { align-items: flex-start; flex-direction: column; gap: 14px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .cookie-banner { align-items: stretch; flex-direction: column; }
  .cookie-actions { flex-wrap: wrap; }
  .wizard-actions { flex-direction: column-reverse; }
  .wizard-actions .btn { width: 100%; }
}

@media (max-width: 470px) {
  .metric-grid, .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ===== DevisMariage.fr V8 — direction artistique luxe, ivoire, aubergine et champagne ===== */
:root{
  --ink:#211c1f;--ink-soft:#493d42;--muted:#776a6f;--paper:#fbf8f3;--surface:#fffdf9;--surface-soft:#f4eee7;--surface-purple:#f3ecee;--line:#ded3cb;
  --purple-950:#24191f;--purple-900:#35232d;--purple-800:#4c2a3c;--purple-700:#63374d;--purple-600:#7b4b5f;--purple-500:#9a6b79;--purple-300:#d2b8c0;--purple-100:#f1e8eb;
  --gold:#b99252;--gold-light:#ead6aa;--shadow-xs:0 8px 24px rgba(41,29,34,.055);--shadow-sm:0 18px 48px rgba(41,29,34,.09);--shadow-lg:0 36px 100px rgba(41,29,34,.16);--shadow-purple:0 20px 50px rgba(76,42,60,.23);
  --radius-sm:8px;--radius:16px;--radius-lg:28px;--container:min(1240px,calc(100% - 42px));--header-h:78px;
}
body{font-family:"DM Sans",ui-sans-serif,system-ui,sans-serif;background:var(--paper);color:var(--ink);letter-spacing:-.005em}
h1,h2,h3,h4{font-family:"Italiana",Georgia,serif;font-weight:400;letter-spacing:-.015em;line-height:1.04}.eyebrow{font-size:.7rem;letter-spacing:.22em;color:var(--purple-700);font-weight:700}.lead{line-height:1.65}
.site-header{background:rgba(251,248,243,.92);border-bottom:1px solid rgba(76,42,60,.09);box-shadow:none}.header-glow{display:none}.brand{letter-spacing:-.03em}.brand b{color:var(--purple-800)}.main-nav a{font-weight:600;color:#51464a;font-size:.9rem}.main-nav a::after{height:1px;background:var(--gold)}
.btn{border-radius:4px;min-height:48px;padding:13px 22px;font-weight:650;letter-spacing:.01em}.btn-primary{background:var(--purple-800);box-shadow:0 12px 30px rgba(76,42,60,.18)}.btn-primary:hover{background:var(--purple-950);box-shadow:0 16px 38px rgba(36,25,31,.23)}.btn-dark{background:#211c1f;box-shadow:none}.btn-light,.btn-soft{background:transparent;border-color:#cfc3bb;box-shadow:none}.btn-champagne{background:var(--gold-light);color:#2b2326;border-color:rgba(185,146,82,.45);box-shadow:0 14px 34px rgba(41,29,34,.16)}.text-link{display:inline-flex;align-items:center;color:var(--purple-800);font-weight:650;border-bottom:1px solid rgba(76,42,60,.3);padding-bottom:3px}.text-link:hover{border-color:var(--gold);color:#211c1f}
.luxury-hero{min-height:760px;position:relative;display:flex;align-items:flex-end;overflow:hidden;background:#281d23}.hero-photo{position:absolute;inset:0;background-image:url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1900&q=86");background-size:cover;background-position:center 47%;filter:saturate(.72) contrast(.97)}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(29,21,25,.87) 0%,rgba(29,21,25,.67) 48%,rgba(29,21,25,.17) 100%),linear-gradient(0deg,rgba(29,21,25,.42),transparent 48%)}.luxury-hero-content{position:relative;color:#fff;padding:150px 0 82px}.luxury-hero-content h1{max-width:930px;color:#fff;font-size:clamp(3.3rem,7.5vw,7.2rem);margin-bottom:22px}.luxury-hero-content h1 em{color:#ead6aa;font-style:italic}.luxury-hero-content>p{max-width:720px;color:rgba(255,255,255,.82);font-size:1.15rem}.hero-kicker{display:inline-flex;border-bottom:1px solid rgba(234,214,170,.65);padding-bottom:8px;margin-bottom:22px;text-transform:uppercase;letter-spacing:.2em;font-size:.72rem;color:#ead6aa}.hero-search{margin-top:34px;display:grid;grid-template-columns:1fr 1fr auto;gap:0;max-width:1000px;background:rgba(255,253,249,.97);padding:8px;box-shadow:0 26px 80px rgba(0,0,0,.28)}.hero-search .field{padding:7px 17px;border-right:1px solid #e0d7d0}.hero-search label{color:#6e6065;font-size:.7rem;text-transform:uppercase;letter-spacing:.12em}.hero-search select,.hero-search input{border:0;background:transparent;padding:5px 0;outline:0;color:#211c1f;width:100%}.hero-search .btn{min-width:210px}.hero-trust{display:flex;gap:28px;margin-top:25px;color:rgba(255,255,255,.72);font-size:.82rem;text-transform:uppercase;letter-spacing:.12em}.hero-trust span::before{content:"◆";font-size:.45rem;color:var(--gold-light);margin-right:9px}
.category-ribbon{background:#211c1f;color:#fff}.category-scroll{display:grid;grid-template-columns:repeat(6,1fr)}.category-scroll a{padding:24px 18px;border-right:1px solid rgba(255,255,255,.1);display:flex;gap:12px;align-items:center;font-family:"Italiana",serif;font-size:1.12rem}.category-scroll a:first-child{border-left:1px solid rgba(255,255,255,.1)}.category-scroll span{font-family:"DM Sans",sans-serif;font-size:.64rem;color:var(--gold-light);letter-spacing:.1em}.category-scroll a:hover{background:rgba(255,255,255,.055)}
.section{padding:108px 0}.section-sm{padding:70px 0}.section-ivory{background:#f0e9e0;border-block:1px solid #e0d5ca}.section-head{margin-bottom:48px}.section-head h2{max-width:760px}.card{border-radius:8px;border:1px solid #ded5ce;background:var(--surface);box-shadow:none}.card-hover{transition:transform .35s ease,box-shadow .35s ease}.card-hover:hover{transform:translateY(-6px);box-shadow:var(--shadow-sm)}.card-body{padding:26px}.provider-card{overflow:hidden}.provider-image{aspect-ratio:4/3;position:relative;overflow:hidden;background:#eee6df}.provider-image img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease}.provider-card:hover .provider-image img{transform:scale(1.035)}.provider-badge{position:absolute;left:14px;top:14px;background:rgba(255,253,249,.94);color:#392c32;padding:7px 10px;border-radius:2px;font-size:.67rem;text-transform:uppercase;letter-spacing:.1em;font-weight:700}.favorite-btn{border-radius:50%;background:rgba(255,253,249,.95);color:var(--purple-800)}.provider-location{margin:-5px 0 12px;color:#9a7751;font-size:.82rem;text-transform:uppercase;letter-spacing:.1em}.clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.15em}.chip{border-radius:2px;background:#f3eee8;border-color:#e2d8cf;font-size:.72rem}.card-actions{align-items:center}.card-actions .text-link{font-size:.82rem}
.editorial-split{display:grid;grid-template-columns:1.06fr .94fr;min-height:680px;background:#2a2025;color:#fff}.editorial-image{background-size:cover;background-position:center}.editorial-image-one{background-image:url("https://images.unsplash.com/photo-1464366400600-7168b8af9bc3?auto=format&fit=crop&w=1400&q=86")}.editorial-copy{padding:clamp(55px,8vw,120px);display:flex;flex-direction:column;justify-content:center}.editorial-copy h2{color:#fff}.editorial-copy p{color:rgba(255,255,255,.75)}.editorial-copy .eyebrow{color:var(--gold-light)}.editorial-points{display:grid;gap:20px;margin:28px 0 35px}.editorial-points div{display:grid;grid-template-columns:125px 1fr;gap:18px;border-top:1px solid rgba(255,255,255,.13);padding-top:16px}.editorial-points strong{font-family:"Italiana",serif;font-size:1.4rem;color:#fff}.editorial-points span{color:rgba(255,255,255,.68)}
.luxury-categories{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #d8cdc3;border-left:1px solid #d8cdc3}.luxury-categories a{padding:34px;border-right:1px solid #d8cdc3;border-bottom:1px solid #d8cdc3;display:grid;gap:7px;min-height:150px;align-content:center}.luxury-categories b{font-family:"Italiana",serif;font-size:1.55rem;font-weight:400}.luxury-categories span{color:var(--muted)}.luxury-categories a:hover{background:#fffaf4}.inspiration-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:24px}.inspiration-large{display:grid;grid-template-columns:1.08fr .92fr;background:#fff;border:1px solid var(--line)}.inspiration-large>div:last-child{padding:48px;display:flex;flex-direction:column;justify-content:center}.inspiration-photo{min-height:500px;background-size:cover;background-position:center}.inspiration-photo-one{background-image:url("https://images.unsplash.com/photo-1507504031003-b417219a0fde?auto=format&fit=crop&w=1200&q=85")}.quote-editorial{background:var(--purple-800);color:#fff;padding:52px;display:flex;flex-direction:column;justify-content:center}.quote-editorial>span{font-family:"Italiana",serif;font-size:7rem;color:var(--gold-light);height:75px}.quote-editorial p{font-family:"Italiana",serif;font-size:2rem;line-height:1.3}.quote-editorial small{color:rgba(255,255,255,.64);text-transform:uppercase;letter-spacing:.12em}.luxury-banner{display:flex;align-items:center;justify-content:space-between;gap:40px;background:#211c1f;border-radius:0;padding:60px;color:#fff}.luxury-banner h2{color:#fff}.luxury-banner .eyebrow{color:var(--gold-light)}.luxury-banner p{color:rgba(255,255,255,.7);max-width:750px}
.page-hero{padding:92px 0 70px;background:linear-gradient(135deg,#f8f3ed,#eee3da);border-bottom:1px solid #ddd0c5}.page-hero h1{max-width:950px}.page-hero-photo{background:linear-gradient(90deg,rgba(248,243,237,.97),rgba(248,243,237,.87)),url("https://images.unsplash.com/photo-1507504031003-b417219a0fde?auto=format&fit=crop&w=1800&q=80") center/cover}.breadcrumb{font-size:.75rem;text-transform:uppercase;letter-spacing:.09em}.luxury-filters{border-radius:0;padding:12px;background:#fffdf9;border-color:#d8cdc3;box-shadow:var(--shadow-xs)}.project-banner{margin-bottom:22px;border-radius:0}.results-meta{border-bottom:1px solid var(--line);padding-bottom:18px}.profile-hero{padding:80px 0 55px;background:#f4eee7;border-bottom:1px solid var(--line)}.profile-title-row{display:flex;align-items:end;justify-content:space-between;gap:35px}.profile-gallery{gap:8px;min-height:560px}.profile-gallery img{border-radius:0}.editorial-card{background:#f1e8df;padding:48px;border-left:3px solid var(--gold)}.contact-card{padding:30px;border-top:3px solid var(--gold);box-shadow:var(--shadow-sm)}.contact-card .btn{margin-top:10px}.selected-provider{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#2b2226;color:#fff;padding:22px 26px;margin-bottom:20px;border-left:3px solid var(--gold)}.selected-provider h3{color:#fff;margin-bottom:6px}.selected-provider p{margin:0;color:rgba(255,255,255,.65)}.selected-provider .eyebrow{color:var(--gold-light)}.selected-provider .text-link{color:#fff;border-color:rgba(255,255,255,.45)}.luxury-form{padding:clamp(25px,5vw,52px);border-radius:0}.wizard-progress{margin-bottom:22px}.progress-bar{height:4px;background:#e5dcd4}.progress-bar span{background:linear-gradient(90deg,var(--purple-800),var(--gold));}.choice label{border-radius:0;padding:20px;background:#fffdf9}.choice label span{font-size:.67rem;color:var(--gold);letter-spacing:.1em}.choice input:checked+label{background:#f2ebe5;border-color:var(--purple-800);box-shadow:inset 3px 0 0 var(--purple-800);color:var(--ink)}.input,.select,.textarea{border-radius:2px;background:#fffdf9;border-color:#d8cdc3;padding:14px}.auth-visual{background:linear-gradient(rgba(31,23,27,.6),rgba(31,23,27,.75)),url("https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1200&q=85") center/cover}.auth-card{border-radius:8px}.tabs{border-radius:2px;background:#eee7e1}.tab-btn{border-radius:2px}.dashboard-shell{grid-template-columns:250px minmax(0,1fr)}.dash-sidebar{background:#241b20}.dash-main{background:#f6f1eb}.metric,.panel{border-radius:4px}.metric{border-top-color:var(--gold)}.price-card{border-radius:4px}.price-card.featured{background:#fffdf9;border-color:var(--gold);transform:translateY(-6px)}.price-badge{border-radius:2px;background:var(--purple-800)}.banner{border-radius:0;background:#241b20}.footer{background:#1d171a}.footer-brand b{color:var(--gold-light)}
@media(max-width:1080px){.hero-search{grid-template-columns:1fr 1fr}.hero-search .btn{grid-column:1/-1}.category-scroll{grid-template-columns:repeat(3,1fr)}.editorial-split{grid-template-columns:1fr}.editorial-image{min-height:500px}.inspiration-grid{grid-template-columns:1fr}.luxury-banner{align-items:flex-start;flex-direction:column}.profile-title-row{align-items:flex-start;flex-direction:column}.luxury-categories{grid-template-columns:repeat(2,1fr)}}
@media(max-width:740px){:root{--container:min(100% - 24px,1240px)}.luxury-hero{min-height:720px;align-items:center}.luxury-hero-content{padding:110px 0 60px}.hero-overlay{background:linear-gradient(rgba(29,21,25,.76),rgba(29,21,25,.72))}.luxury-hero-content h1{font-size:clamp(3rem,15vw,5rem)}.hero-search{grid-template-columns:1fr;padding:8px}.hero-search .field{border-right:0;border-bottom:1px solid #e0d7d0}.hero-search .btn{grid-column:auto;width:100%}.hero-trust{gap:13px;flex-direction:column}.category-scroll{display:flex;overflow-x:auto}.category-scroll a{min-width:175px}.section{padding:76px 0}.editorial-image{min-height:370px}.editorial-copy{padding:50px 24px}.editorial-points div{grid-template-columns:1fr}.luxury-categories{grid-template-columns:1fr}.inspiration-large{grid-template-columns:1fr}.inspiration-photo{min-height:350px}.inspiration-large>div:last-child,.quote-editorial{padding:34px 24px}.luxury-banner{padding:38px 24px}.filters{grid-template-columns:1fr}.profile-gallery{min-height:390px}.selected-provider{align-items:flex-start;flex-direction:column}.auth-visual{min-height:330px}.dash-main{padding:24px 12px}.footer{padding-top:58px}}

/* =========================================================
   CORRECTIF RESPONSIVE GLOBAL V12
   Navigation mobile, compte utilisateur et portrait étroit
   ========================================================= */

html {
  overflow-x: hidden;
}

body {
  min-width: 0;
  overflow-x: hidden;
}

img,
video,
svg,
canvas {
  max-width: 100%;
}

.nav-actions {
  margin-left: 0;
  flex-shrink: 0;
}

.mobile-menu-head,
.mobile-menu-intro,
.mobile-account-block,
.menu-backdrop {
  display: none;
}

.menu-toggle {
  padding: 0;
  cursor: pointer;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2105;
}

.menu-toggle-lines {
  display: grid;
  gap: 4px;
  width: 19px;
}

.menu-toggle-lines i {
  display: block;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 1080px) {
  .site-header {
    isolation: isolate;
  }

  .nav-wrap {
    gap: 14px;
  }

  .nav-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 2100;
    width: min(420px, calc(100vw - 24px));
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: max(22px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(circle at 88% 7%, rgba(177, 141, 82, .15), transparent 27%),
      linear-gradient(160deg, #fffdf9 0%, #f7f0e9 100%);
    border: 0;
    border-left: 1px solid rgba(76, 42, 60, .12);
    box-shadow: -28px 0 80px rgba(31, 23, 27, .2);
    transform: translate3d(104%, 0, 0);
    visibility: hidden;
    transition: transform .34s cubic-bezier(.22, 1, .36, 1), visibility .34s;
  }

  body.menu-open .main-nav {
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  .main-nav > a {
    width: 100%;
    padding: 17px 2px;
    border-bottom: 1px solid rgba(76, 42, 60, .11);
    color: #30262b;
    font-family: "Italiana", Georgia, serif;
    font-size: clamp(1.45rem, 4.8vw, 1.9rem);
    font-weight: 400;
    line-height: 1.15;
  }

  .main-nav > a::after {
    display: none;
  }

  .main-nav > a:hover,
  .main-nav > a[aria-current="page"] {
    color: var(--purple-800);
    padding-left: 7px;
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(76, 42, 60, .13);
  }

  .mobile-menu-head > span {
    color: #806f76;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
  }

  .menu-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(76, 42, 60, .17);
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    color: var(--purple-900);
    font-size: 1.65rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-menu-intro {
    display: block;
    padding: 27px 0 18px;
  }

  .mobile-menu-intro > span {
    display: block;
    margin-bottom: 7px;
    color: var(--gold);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
  }

  .mobile-menu-intro p {
    margin: 0;
    color: #796a70;
    font-size: .93rem;
    line-height: 1.55;
  }

  .mobile-account-block {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 28px;
  }

  .mobile-account-label {
    margin: 0 0 2px;
    color: #806f76;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  .mobile-account-block .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    border-radius: 2px;
  }

  .mobile-account-block .btn::after {
    display: none;
  }

  .menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 900;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(25, 18, 22, .48);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s;
  }

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

@media (max-width: 740px) {
  :root {
    --container: min(100% - 24px, 1180px);
    --header-h: 68px;
  }

  .site-header {
    height: var(--header-h);
  }

  .nav-wrap {
    width: 100%;
    padding-inline: 12px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand img {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
  }

  .brand span {
    overflow: hidden;
    font-size: .9rem;
    text-overflow: ellipsis;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-actions > .btn,
  .nav-actions .nav-pro-link,
  .desktop-auth-link,
  .desktop-signout {
    display: none !important;
  }

  .menu-toggle {
    position: relative;
    top: auto;
    right: auto;
    width: 43px;
    height: 43px;
    flex-basis: 43px;
    margin-left: auto;
    background: #fffdf9;
    border-color: rgba(76, 42, 60, .16);
    box-shadow: 0 8px 22px rgba(49, 30, 39, .08);
  }

  .main-nav {
    width: min(390px, calc(100vw - 14px));
    padding-inline: 21px;
  }

  .luxury-hero-content,
  .page-hero,
  .profile-hero {
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 4.5rem);
  }

  h2 {
    font-size: clamp(1.95rem, 9vw, 3rem);
  }

  .luxury-hero-content h1 {
    font-size: clamp(2.85rem, 13vw, 4.55rem);
  }

  .hero-search,
  .filters,
  .form-grid,
  .grid,
  .profile-layout,
  .auth-shell,
  .inspiration-grid,
  .inspiration-large,
  .editorial-split,
  .luxury-categories {
    min-width: 0;
  }

  input,
  select,
  textarea,
  .input,
  .select,
  .textarea {
    max-width: 100%;
    font-size: 16px;
  }

  .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .card-body,
  .panel,
  .editorial-card,
  .contact-card,
  .auth-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .table-wrap {
    width: 100%;
    max-width: calc(100vw - 24px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .data-table {
    min-width: 720px;
  }

  .profile-title-row .btn,
  .dash-top .btn,
  .banner .btn,
  .luxury-banner .btn {
    width: 100%;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .cookie-actions > * {
    flex: 1 1 100%;
  }
}

@media (max-width: 390px) {
  :root {
    --container: min(100% - 18px, 1180px);
  }

  .nav-wrap {
    padding-inline: 9px;
  }

  .brand span {
    font-size: .82rem;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    width: 41px;
    height: 41px;
    flex-basis: 41px;
  }

  .main-nav {
    width: calc(100vw - 8px);
    padding-inline: 18px;
  }

  .mobile-menu-intro {
    padding-top: 22px;
  }

  .main-nav > a {
    padding-block: 15px;
    font-size: 1.42rem;
  }

  .metric-grid,
  .stats {
    grid-template-columns: 1fr;
  }
}
