:root {
  --dark: #16140f;
  --dark-2: #24211b;
  --ivory: #fbf9f5;
  --cream: #f2eee7;
  --cream-2: #e7e1d6;
  --white: #ffffff;
  --ink: #2b2823;
  --text: #55504a;
  --muted: #8a8278;
  --gold: #a8875a;
  --gold-dark: #8d6f45;
  --gold-light: #cbb08a;
  --line: #e2ddd3;
  --wa: #25d366;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --script: 'Playfair Display', Georgia, serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--text); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.2; margin: 0 0 14px; }
h1 { font-size: clamp(30px, 3.4vw, 42px); }
h2 { font-size: clamp(26px, 2.6vw, 32px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
strong { font-weight: 500; color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { clip: auto; width: auto; height: auto; padding: 10px 16px; background: var(--gold); color: #fff; z-index: 100; top: 8px; left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ico.wa { fill: currentColor; stroke: none; }
.fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.text-link { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 4px; font-size: 15px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 24px; border: 1px solid var(--gold); border-radius: 2px;
  background: var(--gold); color: #fff; font-size: 15px; font-weight: 400; text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-wa { background: var(--dark); border-color: var(--dark); }
.btn-wa svg { color: var(--wa); }
.btn-wa:hover { background: var(--dark-2); border-color: var(--dark-2); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.actions.center { justify-content: center; }

/* ---------- top bar ---------- */
.topbar { background: var(--dark); color: rgba(255, 255, 255, 0.82); font-size: 13px; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-link { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar-link:hover { color: #fff; }
.topbar .ico { width: 16px; height: 16px; color: var(--gold-light); }
.topbar .ico.wa { color: var(--wa); }
.lang { display: flex; gap: 2px; }
.lang a { color: inherit; text-decoration: none; }
.lang :is(button, a) { background: none; border: 0; cursor: pointer; font-size: 12px; letter-spacing: 0.06em; padding: 4px 6px; opacity: .6; }
.lang :is(button, a).is-active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; gap: 16px; }
.header-note { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 14px; color: var(--muted); }
.header-row .btn-small { justify-self: end; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 36px; height: 25px; color: var(--gold); }
.logo-word { font: italic 600 26px/1 var(--script); white-space: nowrap; }
.site-nav { border-top: 1px solid var(--line); }
.nav-row { display: flex; justify-content: space-evenly; gap: clamp(18px, 3vw, 44px); min-height: 46px; align-items: center; }
.nav-row > a { font-size: 15px; text-decoration: none; color: var(--ink); padding: 12px 0; border-bottom: 2px solid transparent; }
.nav-row > a:hover, .nav-row > a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-lang { display: none; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; text-decoration: none; color: var(--ink); padding: 12px 0; border-bottom: 2px solid transparent; }
.nav-item > a:hover, .nav-item > a[aria-current="page"] { border-bottom-color: var(--gold); }
.chev { width: 10px; height: 7px; transition: transform 200ms ease; }
.subnav {
  position: absolute; top: 100%; left: 50%; z-index: 55; min-width: 210px; padding: 10px 0;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(22, 20, 15, 0.1);
  display: grid; opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}
.subnav a { padding: 10px 22px; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.subnav a:hover, .subnav a:focus-visible { background: var(--cream); color: var(--gold-dark); }
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 180ms ease, transform 180ms ease, visibility 0s; }
.has-sub:hover .chev, .has-sub:focus-within .chev { transform: rotate(180deg); }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; justify-self: end; }
.menu-btn span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- home ---------- */
/* home hero: title on the left, a large live diamond on the right */
.hero-diamond { background: #fafafc; overflow: hidden; }
.hero-diamond-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; min-height: calc(100svh - 167px); min-height: max(520px, calc(100svh - 167px)); }
.hero-diamond-copy h1 { font-size: clamp(36px, 3.6vw, 56px); line-height: 1.08; max-width: 19ch; margin-bottom: 8px; }
.hero-diamond-stage { position: relative; height: min(78svh, 680px); }
.hero-diamond-stage canvas { position: absolute; inset: -8% -14%; width: 128%; height: 116%; opacity: 0; transition: opacity 1200ms ease; }
.hero-diamond-stage.is-live canvas { opacity: 1; }
.hero-diamond-stage { perspective: 1200px; }
.hero-diamond-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  /* feather the photo's edges into the background so no square shows */
  -webkit-mask-image: radial-gradient(ellipse 52% 42% at 50% 47%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 42% at 50% 47%, #000 72%, transparent 100%);
  transform-style: preserve-3d;
}
@keyframes diamond-float {
  0%, 100% { transform: translateY(0) rotateX(6deg) rotateY(-10deg); }
  25% { transform: translateY(-10px) rotateX(2deg) rotateY(0deg); }
  50% { transform: translateY(-16px) rotateX(-4deg) rotateY(10deg); }
  75% { transform: translateY(-8px) rotateX(2deg) rotateY(0deg); }
}
.diamond-shadow { position: absolute; left: 50%; bottom: 17%; width: 46%; height: 26px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(43, 40, 35, 0.18), rgba(43, 40, 35, 0)); }
@keyframes diamond-shadow { 0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 1; } 50% { transform: translateX(-50%) scaleX(0.9); opacity: 0.75; } }
.intro { padding: 64px 0 64px; background: var(--white); }
.intro-text { font-size: 19px; color: var(--ink); max-width: 62ch; margin: 0 auto; }
.usps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.usp { text-align: center; padding: 0 12px; }
.usp .ico { width: 34px; height: 34px; color: var(--gold); margin: 0 auto 12px; stroke-width: 1.1; }
.usp h2 { font-size: 21px; margin-bottom: 6px; }
.usp p { font-size: 14px; color: var(--muted); margin: 0; }

.featured { padding: 72px 0; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.row-head h2 { margin: 0; }

.split { padding: 80px 0; background: var(--white); }
.split.alt { background: var(--cream); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-grid.reverse .split-media { order: 2; }
.split-media { background: var(--white); aspect-ratio: 4 / 4.4; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { max-width: 520px; }
.split-copy .btn { margin-top: 10px; }
.facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.story .facts li { grid-template-columns: 210px 1fr; }
.story .split-media { background: #fafafc; }
.story .split-media img { object-fit: contain; }
.story .split-copy p { color: var(--ink); }

.steps { padding: 80px 0; background: var(--cream); }
.steps-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps-list li { background: var(--white); padding: 28px; border: 1px solid var(--line); }
.steps-list h3 { font-size: 21px; }
.steps-list p { margin: 0; font-size: 15px; }

/* ---------- inner page head ---------- */
.page-head { background: var(--cream); padding: 26px 0 26px; border-bottom: 1px solid var(--line); }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-intro { max-width: none; margin: 0; text-wrap: pretty; }

/* ---------- catalogue ---------- */
.catalog { padding: 36px 0 72px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tabs a { padding: 8px 16px; border: 1px solid var(--line); background: var(--white); border-radius: 2px; text-decoration: none; font-size: 14px; color: var(--ink); }
.tabs a:hover { border-color: var(--gold); }
.cat { margin-bottom: 56px; }
.cat h2 { margin-bottom: 20px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .25s; }
.card:hover { box-shadow: 0 8px 24px rgba(43, 40, 35, 0.08); }
.card-media { aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--line); }
.card h3 { font-family: var(--sans); font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.card .spec { font-size: 14px; line-height: 1.55; color: var(--text); margin-bottom: 10px; }
.card .price { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.card-link { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 2px; background: var(--gold); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color 200ms ease, transform 150ms ease; }
.card-link svg { width: 18px; height: 18px; color: #fff; }
.card-link:hover { background: var(--gold-dark); }
.card-link:active { transform: scale(0.98); }

/* ---------- composer ---------- */
.composer { background: var(--cream); padding: 72px 0; border-top: 1px solid var(--line); }
.composer-head { max-width: 720px; margin-bottom: 32px; }
.composer-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.composer-stage { position: sticky; top: 140px; }
.stage-box { position: relative; background: var(--white); aspect-ratio: 1 / 1; border: 1px solid var(--line); }
.stage-box canvas { width: 100%; height: 100%; cursor: grab; }
.stage-hint { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; margin: 0; font-size: 13px; color: var(--muted); }
.spec-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border: 1px solid var(--line); border-top: 0; background: var(--white); }
.spec-strip div { padding: 12px 14px; border-left: 1px solid var(--line); }
.spec-strip div:first-child { border-left: 0; }
.spec-strip dt { font-size: 12px; color: var(--muted); }
.spec-strip dd { margin: 0; font-size: 17px; color: var(--ink); }

.composer-panel { background: var(--white); border: 1px solid var(--line); padding: 8px 24px 24px; }
.group { border-top: 1px solid var(--line); padding: 18px 0 20px; }
.cfg .group:first-child { border-top: 0; }
.group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.group-head h3 { font: 500 15px/1.4 var(--sans); margin: 0 0 2px; }
.group-head output { font-size: 15px; color: var(--gold-dark); white-space: nowrap; }
.hint { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px;
  border: 1px solid var(--line); background: var(--white); border-radius: 2px; cursor: pointer; font-size: 14px; transition: border-color .2s;
}
.opt span:hover { border-color: var(--muted); }
.opt input:checked + span { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: #fdfaf4; }
.opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.opts.grades .opt span { min-width: 44px; justify-content: center; padding: 0 8px; }
.opts.shapes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.opts.shapes .opt span { flex-direction: column; justify-content: center; gap: 4px; padding: 10px 4px 8px; font-size: 12px; width: 100%; min-height: 84px; }
.opts.shapes svg { width: 30px; height: 30px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.color-scale { height: 6px; margin: 12px 0 0; background: linear-gradient(90deg, #ffffff, #fbf4df 70%, #f3e2ae); border: 1px solid var(--line); }
.range { width: 100%; margin: 6px 0 10px; accent-color: var(--gold); height: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { background: var(--white); border: 1px solid var(--line); border-radius: 2px; padding: 5px 11px; font-size: 13px; cursor: pointer; }
.chips button:hover { border-color: var(--gold); }
.select { width: 100%; min-height: 44px; padding: 0 12px; background: var(--white); border: 1px solid var(--line); border-radius: 2px; }

.summary { margin-top: 8px; padding: 22px; background: var(--ivory); border: 1px solid var(--line); }
.summary h3 { font-size: 24px; }
.summary ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; font-size: 14px; }
.summary li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.summary li span:first-child { color: var(--muted); }
.summary li span:last-child { color: var(--ink); text-align: right; }
.summary-actions { display: grid; gap: 10px; }

/* ---------- house ---------- */
.reviews { padding: 80px 0; background: var(--white); }
.score { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--ink); margin: 0; }
.score span { font-size: 28px; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 0.15em; font-size: 20px; margin: 6px 0 4px; }
.reviews .btn { margin-top: 18px; }

/* ---------- contact ---------- */
.contact { padding: 48px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-form { background: var(--white); border: 1px solid var(--line); padding: clamp(22px, 3.5vw, 40px); }
.contact-form h2 { margin-bottom: 4px; }
.contact-form .fine:first-of-type { margin: 0 0 24px; }
.field { display: grid; gap: 6px; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--ink); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; background: var(--white);
  border: 1px solid #d3cdc2; border-radius: 2px; font-size: 16px;
}
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.budget { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.budget legend { margin-bottom: 8px; }
.radio, .check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.radio input, .check input { margin-top: 5px; accent-color: var(--gold); }
.check { color: var(--text); font-size: 14px; margin-bottom: 18px; }
.form-error { color: #9b3b2a; font-size: 14px; }
.contact-form .btn { width: 100%; }
.contact-info { position: sticky; top: 140px; }
.details { margin: 0 0 20px; display: grid; }
.details div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.details dt { font-size: 14px; color: var(--muted); }
.details dd { margin: 0; color: var(--ink); }
.details a { text-decoration: none; }
.map { aspect-ratio: 4 / 3; margin-bottom: 14px; background: var(--cream); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-gate { height: 100%; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; font-size: 14px; color: var(--muted); }
.map-gate p { max-width: 40ch; margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.72); font-size: 14px; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.7fr; gap: 32px; padding-bottom: 40px; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo-mark { color: var(--gold-light); }
.site-footer h2 { font: 500 14px/1.4 var(--sans); color: #fff; margin-bottom: 12px; }
.footer-grid a { display: block; text-decoration: none; padding: 3px 0; }
.footer-grid a:hover { color: #fff; }
.footer-grid .lang :is(button, a) { color: rgba(255, 255, 255, 0.85); padding-left: 0; padding-right: 10px; }
.footer-address { margin: 0; }
.footer-fine { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.footer-fine p { margin: 0; }

/* ---------- whatsapp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 31px; height: 31px; }
.wa-float.is-active { transform: scale(0.94); }

/* closed overlays must not catch clicks: hidden wins over their display value */
.welcome[hidden], .bot[hidden] { display: none; }

/* welcome offer pop-up */
.welcome { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(22, 20, 15, 0.55); opacity: 0; transition: opacity 250ms ease; }
.welcome.is-open { opacity: 1; }
.welcome-card { position: relative; display: grid; grid-template-columns: 0.9fr 1fr; width: min(820px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--ivory); border-radius: 12px; box-shadow: 0 30px 80px rgba(22, 20, 15, 0.35); transform: translateY(16px) scale(0.98); transition: transform 300ms ease; }
.welcome.is-open .welcome-card { transform: none; }
.welcome-media { background: #fff; min-height: 100%; display: grid; place-items: center; }
.welcome-media img { width: 100%; height: 100%; object-fit: cover; }
.welcome-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.welcome-kicker { margin: 0 0 10px; font: italic 600 18px/1 var(--script); color: var(--gold-dark); }
.welcome-body h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 12px; }
.welcome-text { color: var(--text); margin-bottom: 18px; }
.welcome-form { display: grid; gap: 14px; }
.welcome-form input[type="email"] { width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid #d3cdc2; border-radius: 2px; background: var(--white); font-size: 16px; }
.welcome-form input[type="email"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.welcome-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--text); cursor: pointer; }
.welcome-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--gold); }
.welcome-error { margin: 0; color: #9b3b2a; font-size: 14px; }
.welcome-submit { width: 100%; min-height: 50px; }
.welcome-submit:disabled { opacity: 0.7; cursor: wait; }
.welcome-later { justify-self: center; align-self: center; margin-top: 12px; border: 0; background: none; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.welcome-fine { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.welcome-code { margin: 0 0 16px; padding: 14px; border: 1px dashed var(--gold); background: var(--white); text-align: center; font: 600 28px/1 var(--sans); letter-spacing: 0.12em; color: var(--ink); }
.welcome-close { position: absolute; top: 10px; right: 10px; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.85); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.welcome-close:hover { background: var(--white); }

/* guided chat behind the WhatsApp button */
.bot {
  position: fixed; right: 20px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 61;
  width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100svh - 140px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(22, 20, 15, 0.22);
  opacity: 0; transform: translateY(12px) scale(0.98); transform-origin: bottom right;
  transition: opacity 220ms ease, transform 220ms ease;
}
.bot.is-open { opacity: 1; transform: none; }
.bot-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: #3b3631; color: #fff; }
.bot-mark { width: 30px; height: 21px; color: var(--gold-light); flex: none; }
.bot-titles { flex: 1; min-width: 0; }
.bot-title { margin: 0; font: italic 600 18px/1.2 var(--script); }
.bot-sub { margin: 2px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.bot-close { width: 40px; height: 40px; border: 0; background: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; border-radius: 50%; }
.bot-close:hover { background: rgba(255, 255, 255, 0.1); }
.bot-log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.bot-msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; animation: bot-in 260ms ease both; }
.bot-msg-bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.bot-msg-user { align-self: flex-end; background: var(--gold); color: #fff; border-bottom-right-radius: 4px; }
.bot-summary { margin: 0; white-space: pre-wrap; font: 14px/1.5 var(--sans); color: var(--text); }
.bot-dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.bot-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bot-dot 1s infinite ease-in-out; }
.bot-dots i:nth-child(2) { animation-delay: 150ms; }
.bot-dots i:nth-child(3) { animation-delay: 300ms; }
@keyframes bot-dot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes bot-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bot-input { padding: 12px 14px 14px; border-top: 1px solid var(--line); background: var(--white); display: grid; gap: 8px; }
.bot-input:empty { display: none; }
.bot-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bot-chip { min-height: 40px; padding: 0 14px; border: 1px solid var(--gold); border-radius: 999px; background: var(--white); color: var(--gold-dark); font-size: 14px; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.bot-chip:hover, .bot-chip:focus-visible { background: var(--gold); color: #fff; }
.bot-form { display: flex; gap: 8px; }
.bot-field { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border: 1px solid #d3cdc2; border-radius: 999px; font-size: 16px; background: var(--white); }
.bot-field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.bot-field.is-empty { border-color: #9b3b2a; }
.bot-send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--gold); color: #fff; cursor: pointer; display: grid; place-items: center; }
.bot-send svg { width: 20px; height: 20px; }
.bot-send:hover { background: var(--gold-dark); }
.bot-skip { justify-self: start; border: 0; background: none; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px 2px; }
.bot-wa { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 999px; background: var(--wa); color: #fff; font-size: 16px; font-weight: 500; text-decoration: none; }
.bot-wa svg { width: 22px; height: 22px; }
.bot-wa:hover { filter: brightness(0.95); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 80px; }
  .topbar-link:first-child span { display: none; }
  .topbar-right .lang { display: none; }
  .header-row { grid-template-columns: 1fr auto; min-height: 64px; }
  .header-note, .header-row .btn-small { display: none; }
  .menu-btn { display: block; }
  .site-nav { max-height: 0; overflow: hidden; border-top: 0; transition: max-height .35s ease; }
  .site-header.is-open .site-nav { max-height: 640px; border-top: 1px solid var(--line); }
  .nav-row { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .nav-row > a { border-bottom: 1px solid var(--line); padding: 14px 0; }
  .nav-row > a[aria-current="page"] { border-bottom-color: var(--line); color: var(--gold-dark); }
  .nav-item { display: block; border-bottom: 1px solid var(--line); }
  .nav-item > a { display: flex; padding: 14px 0; border-bottom: 0; }
  .nav-item > a[aria-current="page"] { color: var(--gold-dark); }
  .chev { display: none; }
  .subnav { position: static; display: grid; min-width: 0; padding: 0 0 10px 16px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .subnav a { padding: 8px 0; color: var(--text); }
  .nav-lang { display: block; padding-top: 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .usps { grid-template-columns: 1fr; gap: 28px; }
  .hero-diamond-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; padding-bottom: 40px; }
  .hero-diamond-stage { order: -1; height: 46svh; min-height: 300px; }
  .hero-diamond-stage canvas { inset: 0; width: 100%; height: 100%; }
  .hero-diamond-copy h1 { max-width: none; }
  .split-grid { grid-template-columns: 1fr; }
  .split-grid.reverse .split-media { order: 0; }
  .split { padding: 56px 0; }
  .steps-list { grid-template-columns: 1fr; }
  .composer-grid, .contact-grid { grid-template-columns: 1fr; }
  .composer-stage { top: 64px; z-index: 5; }
  .stage-box { aspect-ratio: 16 / 10; }
  .spec-strip { display: none; }
  .contact-info { position: static; }
}
@media (max-width: 560px) {
  .logo-word { font-size: 22px; }
  .logo-mark { width: 30px; height: 21px; }
  .intro { padding: 36px 0 48px; }
  .hero-diamond-copy h1 { font-size: 30px; }
  .actions .btn { width: 100%; }
  .card-body { padding: 12px; }
  .card h3 { font-size: 15px; }
  .card .spec, .card .price, .card-link { font-size: 13px; }
  .opts.shapes { gap: 6px; }
  .opts.shapes .opt span { min-height: 70px; font-size: 10px; padding: 8px 2px; }
  .opts.shapes svg { width: 24px; height: 24px; }
  .composer-panel { padding: 4px 16px 16px; }
  .summary { padding: 18px 14px; }
  .summary ul { grid-template-columns: 1fr; }
  .field-row, .budget { grid-template-columns: 1fr; gap: 0 16px; }
  .budget { gap: 8px; }
  .details div { grid-template-columns: 1fr; gap: 2px; }
  .facts li, .story .facts li { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .welcome { align-items: end; padding: 0; }
  .welcome-card { grid-template-columns: 1fr; border-radius: 16px 16px 0 0; max-height: 92svh; }
  .welcome-media { min-height: 0; height: 150px; }
  .welcome-media img { object-position: center 45%; }
  .bot { right: 8px; left: 8px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); height: min(560px, calc(100svh - 110px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bot, .bot-msg, .bot-dots i, .welcome, .welcome-card { transition: none; animation: none; }
  .diamond-shadow, .hero-diamond-img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* collection cards: a slight 3D tilt that follows the mouse */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .grid { perspective: 1100px; }
  .card { position: relative; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 350ms cubic-bezier(.2, .7, .2, 1), box-shadow 350ms ease; will-change: transform; }
  .card.is-held { transition: transform 120ms linear, box-shadow 350ms ease; box-shadow: 0 18px 40px rgba(22, 20, 15, 0.12); cursor: grabbing; }
  .card .card-media { position: relative; }
  .card .card-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms ease; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 55%); }
  .card.is-held .card-media::after { opacity: 1; }
  .card.is-held .card-media img { transform: scale(1.04); }
  .card-media img { transition: transform 600ms cubic-bezier(.2, .7, .2, 1); }
}

/* La Maison: one screen */
.maison { padding: clamp(24px, 4vh, 48px) 0; }
.maison-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.maison-media { margin: 0; aspect-ratio: 1 / 1; max-height: calc(100svh - 240px); overflow: hidden; background: var(--cream); }
.maison-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.kicker { color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; margin: 0 0 12px; }
.maison-copy h1 { margin: 0 0 16px; }
.maison-text { font-size: 17px; line-height: 1.6; margin: 0 0 24px; max-width: 34em; }
.maison-facts { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.maison-facts li { border-top: 1px solid var(--line); padding: 12px 0; display: grid; gap: 2px; }
.maison-facts strong { font-family: var(--serif, inherit); font-size: 20px; font-weight: 500; }
.maison-facts span { font-size: 14px; color: var(--muted, #6b6559); line-height: 1.4; }
@media (max-width: 860px) {
  .maison-grid { grid-template-columns: 1fr; gap: 24px; }
  .maison-media { max-height: none; aspect-ratio: 4 / 3; }
}
.vitrine { margin-top: 28px; margin-bottom: 8px; }
.vitrine img { width: 100%; height: clamp(180px, 26vw, 320px); object-fit: cover; object-position: 50% 55%; display: block; }
.vitrine figcaption { font-size: 13px; color: var(--muted, #6b6559); padding-top: 8px; }
.footer-hours { display: block; opacity: .85; }
.maison-facts .star { color: var(--gold); font-size: 0.8em; }

/* Contact: the shop's information card */
.info-card { background: #3b3631; color: var(--ivory); padding: clamp(24px, 3vw, 36px); border-top: 3px solid var(--gold); }
.info-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid rgba(203, 176, 138, 0.25); }
.info-mark { width: 46px; height: 32px; color: var(--gold-light); flex: none; }
.info-name { font-family: var(--script); font-style: italic; font-size: 24px; margin: 0; color: #fff; }
.info-sub { margin: 2px 0 0; font-size: 13px; letter-spacing: 0.04em; color: var(--gold-light); }
.info-list { list-style: none; margin: 0; padding: 6px 0; }
.info-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ico { width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--gold-light); stroke-width: 1.4; }
.info-list svg[viewBox="0 0 32 32"].ico { fill: var(--gold-light); stroke: none; }
.info-list div { display: grid; gap: 2px; }
.info-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-light); }
.info-list span:not(.info-label), .info-list a { font-size: 16px; color: #fff; text-decoration: none; }
.info-list a:hover { color: var(--gold-light); }
.info-card .map { aspect-ratio: 16 / 10; margin: 10px 0 18px; border: 0; background: #48423b; }
.info-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.info-actions .btn { justify-content: center; text-align: center; }
.btn-line { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn-line:hover { border-color: var(--gold-light); color: var(--gold-light); background: transparent; }

/* budget: tidy selectable boxes, one line each */
.budget .radio { align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); background: var(--white); line-height: 1.2; white-space: nowrap; transition: border-color .2s, background-color .2s; }
.budget .radio input { margin: 0; width: 16px; height: 16px; flex: none; }
.budget .radio:hover { border-color: var(--gold-light); }
.budget .radio:has(input:checked) { border-color: var(--gold); background: var(--ivory); }
.budget .radio:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.budget .radio { align-self: start; min-height: 0; height: auto; }
.budget .radio input { min-height: 0; height: 16px; padding: 0; }
.budget .radio { min-height: 46px; }
.page-head h1.kicker { font-family: var(--sans); font-weight: 400; line-height: 1.4; margin: 0 0 8px; }
.page-head .page-intro { font-size: 18px; color: var(--ink); }

/* contact page: form and card fit on one screen */
.contact { padding: 28px 0 56px; }
.contact-grid { grid-template-columns: 1.45fr 1fr; gap: clamp(24px, 3vw, 40px); }
.contact-form { padding: clamp(20px, 2.6vw, 30px); }
.contact-form h2 { margin: 0 0 16px; font-size: clamp(24px, 2.2vw, 30px); }
.contact-form .field { margin-bottom: 12px; }
.contact-form input, .contact-form select, .contact-form textarea { min-height: 42px; }
.field-row-3 { grid-template-columns: 1.3fr 1fr 1fr; }
.budget { grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px; }
.budget legend { margin-bottom: 6px; }
.budget .radio { min-height: 42px; padding: 0 14px; }
.contact-form .check { margin-bottom: 12px; }
.contact-form .fine { margin: 8px 0 0; }
.info-card { padding: clamp(20px, 2.4vw, 28px); }
.info-head { padding-bottom: 14px; }
.info-list li { padding: 9px 0; }
.info-card .map { aspect-ratio: 2 / 1; margin: 6px 0 14px; }
@media (max-width: 1100px) { .budget { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .field-row-3 { grid-template-columns: 1fr; } .contact-grid { grid-template-columns: 1fr; } }
.check input { min-height: 0; width: 16px; height: 16px; margin-top: 3px; flex: none; }
@media (max-width: 560px) { .budget { grid-template-columns: 1fr 1fr; } .budget .radio { white-space: normal; padding: 8px 10px; font-size: 14px; } .contact-grid > * { min-width: 0; } }
.footer-ig { display: inline-flex; align-items: center; gap: 8px; } .footer-ig .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* assistant avatar, free text field and the invitation next to the button */
.bot-avatar { position: relative; flex: none; width: 44px; height: 44px; }
.bot-avatar img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 2px rgba(203, 176, 138, 0.7); }
.bot-avatar::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #3ccf6e; border: 2px solid #3b3631; }
.bot-title { font: 500 16px/1.2 var(--sans); }
.bot-step:empty { display: none; }
.bot-step { display: grid; gap: 8px; }
.bot-nudge { position: fixed; right: 20px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: flex-start; gap: 4px; max-width: min(300px, calc(100vw - 40px)); opacity: 0; transform: translateY(8px); transition: opacity 220ms ease, transform 220ms ease; }
.bot-nudge.is-open { opacity: 1; transform: none; }
.bot-nudge[hidden] { display: none; }
.bot-nudge-open { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: 16px 16px 4px 16px; background: var(--white); box-shadow: 0 12px 30px rgba(22, 20, 15, 0.16); text-align: left; font-size: 14px; line-height: 1.35; color: var(--ink); cursor: pointer; }
.bot-nudge-open img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.bot-nudge-close { width: 26px; height: 26px; flex: none; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 2px 8px rgba(22, 20, 15, 0.15); color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
/* La Maison fills the first screen, so the dark footer only appears on scroll */
.maison { min-height: calc(100svh - 168px); display: flex; align-items: center; }
.maison > .wrap { width: 100%; }
@media (max-width: 900px) { .maison { min-height: calc(100svh - 103px); } }

/* left-edge tab that reopens the welcome offer */
.welcome-tab { position: fixed; left: 0; top: 50%; z-index: 55; transform: translateY(-50%); writing-mode: vertical-rl; rotate: 180deg; padding: 16px 9px; border: 0; border-radius: 0 8px 8px 0; background: #3b3631; color: #fff; font: 500 13px/1 var(--sans); letter-spacing: 0.06em; cursor: pointer; box-shadow: 0 6px 18px rgba(22, 20, 15, 0.18); border-right: 3px solid var(--gold); transition: padding 200ms ease, background-color 200ms ease; }
.welcome-tab { border-radius: 8px 0 0 8px; border-right: 0; border-left: 3px solid var(--gold); }
.welcome-tab:hover { background: var(--gold-dark); padding-right: 12px; }
@media (max-width: 600px) { .welcome-tab { font-size: 12px; padding: 12px 7px; top: 58%; } }
