:root {font-family: Inter, -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#222521;background:#f5f4f1;}
    * {box-sizing:border-box;} body{margin:0;} button{font:inherit; cursor:pointer;} button:focus-visible,a:focus-visible{outline:3px solid #597e9b;outline-offset:4px;}
    header{max-width:1450px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:28px 38px;border-bottom:1px solid #e2e0dc;}
    .brand{font-size:20px;letter-spacing:.28em;font-weight:750;}.header-left{display:flex;align-items:center;gap:30px;flex-wrap:wrap}.back-link{display:inline-flex;align-items:center;gap:9px;color:#53564f;text-decoration:none;font-size:11px;font-weight:650;letter-spacing:.08em;padding:10px 12px 10px 0;white-space:nowrap}.back-link:hover{text-decoration:underline}.topnote{color:#777b75;font-size:12px;letter-spacing:.12em;}
    main{max-width:1450px;margin:auto;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(340px,.85fr);min-height:min(820px,85vh);}
    .stage{position:relative;min-height:680px;background:radial-gradient(ellipse at 52% 34%,#ffffff 0%,#f2f0ec 60%,#e8e6e1 100%);overflow:hidden;}
    model-viewer{display:block;width:100%;height:100%;min-height:680px;background:transparent;--progress-bar-color:#847465;}
    .eyebrow{position:absolute;left:36px;top:34px;letter-spacing:.17em;font-size:11px;color:#89877e;pointer-events:none;}
    .controls-hint{position:absolute;left:36px;bottom:30px;color:#777970;font-size:13px;background:#ffffffb3;padding:10px 13px;border-radius:8px;pointer-events:none;}
    .viewer-status{position:absolute;top:45%;left:50%;transform:translate(-50%,-50%);pointer-events:none;background:#ffffffcf;padding:10px 14px;border-radius:10px;font-size:13px;color:#706c65;}
    aside{padding:60px clamp(28px,4vw,72px) 38px;background:#fcfbf9;border-left:1px solid #e7e5e0;}
    .label{letter-spacing:.2em;color:#858078;font-size:11px;font-weight:700;}
    h1{font-size:clamp(31px,3.3vw,49px);letter-spacing:-.035em;font-weight:500;margin:13px 0 10px;}
    .intro{font-size:14px;color:#73756d;line-height:1.7;margin:0 0 35px;}
    .section{border-top:1px solid #e5e2dc;padding:25px 0 23px;}
    .section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:17px;}
    .section-head strong{font-size:14px;font-weight:650;}.chosen{font-size:12px;color:#8c877f;}
    .swatches{display:flex;flex-wrap:wrap;gap:13px;}
    .swatch{height:42px;width:42px;border-radius:50%;border:1px solid #d1cfc8;background:var(--swatch);box-shadow:inset 0 0 0 1px #ffffff47;position:relative;transition:transform .15s ease;}
    .swatch:hover{transform:scale(1.08)}.swatch.selected::after{position:absolute;content:"";inset:-5px;border:1px solid #252824;border-radius:50%;}
    .infobox{font-size:12px;line-height:1.65;background:#f3f0ea;color:#716c62;padding:16px 18px;border-radius:9px;margin-top:23px;}
    .summary{font-size:12px;line-height:1.8;color:#71766f;padding:18px 0;}
    .cta{width:100%;background:#2a2b27;color:#fff;border:0;border-radius:4px;padding:16px;font-size:12px;font-weight:650;letter-spacing:.12em;}
    .cta:hover{background:#4b4b43}.cta:disabled{opacity:.55;cursor:wait}.cta-whatsapp{background:#1f7554;display:flex;align-items:center;justify-content:center;gap:10px;text-decoration:none}.cta-whatsapp:hover{background:#155d40}.cta-outline{background:transparent;color:#2a2b27;border:1px solid #77766f;display:flex;align-items:center;justify-content:center;gap:10px}.cta-outline:hover{background:#efece6}.action-stack{display:grid;gap:12px;margin-top:4px}.copy-link{border:0;background:none;text-decoration:underline;color:#696b64;font-size:11px;letter-spacing:.07em;padding:9px}.feedback{margin:8px 0 0;color:#56675b;font-size:12px;min-height:17px;line-height:1.5}.err{color:#a73636}
    footer{max-width:1450px;margin:auto;border-top:1px solid #e6e3de;padding:17px 35px;color:#969189;font-size:11px;}
    @media(max-width:890px){header{padding:22px}.topnote{display:none}main{grid-template-columns:1fr}.stage{min-height:490px}model-viewer{height:490px;min-height:490px}aside{padding:31px 26px}.eyebrow{left:22px;top:24px}.controls-hint{bottom:19px;left:22px;font-size:12px}footer{padding:20px 25px}}
    @media(max-width:440px){.stage{min-height:420px}model-viewer{height:420px;min-height:420px}.brand{font-size:17px}.header-left{gap:12px}.back-link{font-size:10px}header{align-items:flex-start}}
/* Custom page additions */
.brand{letter-spacing:.13em} .sar-ar-note{margin:16px 0 0;display:block;font-size:11px;color:#929087} .sar-quiet{margin:4px 0 22px;color:#98958d;font-size:11px} .swatch:focus-visible{outline:3px solid #597e9b;outline-offset:6px} .swatch{flex:0 0 42px} .viewer-status[hidden]{display:none} .no-colors{font-size:13px;color:#9d837a}

.sar-ar-button{position:absolute;bottom:80px;right:25px;z-index:5;background:#fff;border:1px solid #d4d7cf;border-radius:4px;color:#333a32;padding:11px 15px;font-size:11px;letter-spacing:.08em;font-weight:650;box-shadow:0 4px 14px #00000012}
.sar-ar-button:hover{background:#f1f0ec}

/* v1.0.2 - Show original white Sancrea logo as dark wordmark on light surfaces.
 * Multiply hides an opaque white background should the source PNG have one. */
.brand{display:flex;align-items:center;gap:10px;letter-spacing:normal;white-space:nowrap}
.brand-logo{display:block;width:186px;height:auto;max-width:100%;filter:invert(1);mix-blend-mode:multiply}
.ar-mark{font-size:12px;letter-spacing:.10em;font-weight:650;color:#7c7b73;border-left:1px solid #c8c5c0;padding-left:10px}
footer{display:flex;align-items:center;justify-content:space-between;gap:20px}
.footer-logo{display:block;width:128px;height:auto;filter:invert(1);mix-blend-mode:multiply}
footer span{font-size:11px;letter-spacing:.10em;color:#969189}
@media(max-width:640px){.brand-logo{width:128px}.ar-mark{font-size:10px;padding-left:7px}.brand{gap:7px}.footer-logo{width:110px}footer span{font-size:9px;letter-spacing:.05em}}
@media(max-width:380px){.brand-logo{width:108px}.header-left{gap:7px}}

/* v1.0.4: wood/fabric photo swatches */
.swatch.has-texture{background-position:center;background-repeat:no-repeat;background-size:cover}
.swatch.has-texture::before{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:inset 0 0 0 1px #0000000a;pointer-events:none}

/* v1.0.6: uploaded JPG textures only, never flat RGB swatches. */
.swatch{background-color:#ecebe8;background-image:none}
.swatch.has-texture{background-size:cover;background-position:center}
.cta-whatsapp[aria-disabled="true"]{opacity:.45;pointer-events:none;cursor:not-allowed}

/* v1.0.9: first finish always restores the original GLB material. */
.sar-original-swatch{background:#e9e5df !important;background-image:linear-gradient(140deg,#f4f2ed,#dedbd5) !important;color:#454641;font-size:11px;font-weight:750;letter-spacing:-.03em;display:flex;align-items:center;justify-content:center;}
.sar-original-swatch:hover{background-image:linear-gradient(140deg,#fff,#d5d0c8) !important;}
