
:root{--bg:#f8f5f0;--paper:#fffdfa;--ink:#302d2e;--muted:#786f6b;--line:#e8ded6;--dark:#39323d;--wine:#8b483f;--rose:#b0735b;--pale:#f2e7de;--green:#38654d;--shadow:0 12px 30px #392f320d;}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.45 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e1ab88;outline-offset:2px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.15}h1,h2,.serif{font-family:Georgia,'Times New Roman',serif;font-weight:400}h1{font-size:clamp(32px,4.2vw,50px)}h2{font-size:clamp(25px,3vw,34px)}h3{font-size:19px}small{font-size:12px;color:var(--muted)}.wrap{max-width:1050px;margin:auto;padding:0 18px}.header{border-bottom:1px solid var(--line);background:#fffcf8;position:relative;z-index:4}.header-in{height:61px;display:flex;align-items:center;justify-content:space-between;gap:10px}.logo{font:bold 29px Georgia,serif;letter-spacing:.05em;color:var(--dark);text-decoration:none}.logo span{color:var(--wine)}.top-note{font-size:12px;color:var(--muted)}.top-right{display:flex;align-items:center;gap:18px}.navlink{border:0;background:none;text-decoration:none;color:var(--wine);font-size:13px;font-weight:700;cursor:pointer}.page{display:none;padding-top:18px;padding-bottom:110px}.page.active{display:block}.kicker{font-size:11px;color:var(--wine);letter-spacing:.16em;font-weight:750;text-transform:uppercase}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:100px;background:var(--dark);color:#fff;min-height:43px;padding:10px 18px;text-decoration:none;font-size:13px;font-weight:750;transition:transform .15s,background .15s}.btn:hover{background:#5a4b5c;transform:translateY(-1px)}.btn.white{background:#fff;color:var(--dark)}.btn.cream{background:#f3ebe4;color:var(--dark)}.btn.border{border:1px solid #c9bcb5;background:transparent;color:var(--dark)}.btn.tiny{padding:6px 12px;min-height:31px;font-size:12px}.btn:disabled{opacity:.45;cursor:not-allowed}.hero{background:var(--dark);color:white;padding:32px 35px;border-radius:23px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:245px}.hero:before{content:'';position:absolute;width:320px;height:320px;border-radius:50%;border:1px solid #ffffff18;right:-150px;top:-120px}.hero:after{content:'';position:absolute;width:230px;height:230px;border-radius:50%;border:1px solid #ffffff15;right:-85px;top:-65px}.hero .kicker{color:#deb6a2}.hero-body{max-width:650px;position:relative;z-index:1}.hero h1{margin:9px 0 7px}.hero h1 b{font:bold 35px/1.1 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;letter-spacing:-.03em;white-space:nowrap}.hero p{color:#e8dfe4;font-size:14px;max-width:540px;margin:7px 0 18px}.hero-aside{position:relative;z-index:1;flex:0 0 145px;font:normal 76px Georgia,serif;color:#ffffff23;text-align:center}.brief{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f0e7de;border:1px solid #eadbce;border-radius:15px;padding:15px 18px;margin:13px 0 21px}.brief strong{font-size:14px}.brief p{font-size:12px;color:#655b58;margin:3px 0 0}.mini-link{background:none;border:none;color:var(--wine);font-size:12px;font-weight:800;white-space:nowrap}.section-intro{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:12px 0}.section-intro p{font-size:13px;color:var(--muted);margin-top:5px}.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.tile{border:1px solid var(--line);background:var(--paper);border-radius:15px;padding:17px 15px;min-height:140px;text-align:left;position:relative;display:flex;flex-direction:column;align-items:flex-start;color:var(--ink);box-shadow:var(--shadow)}.tile:hover{border-color:#ba8b74;background:#fff8f1}.symbol{font:normal 29px Georgia,serif;color:var(--wine);height:31px}.tile strong{margin-top:8px;font-size:14px}.tile small{display:block;margin-top:3px;line-height:1.3}.tile .arrow{position:absolute;right:13px;bottom:13px;color:var(--wine)}.callout{margin:22px 0 0;border:1px solid var(--line);background:#fffdf9;border-radius:18px;padding:20px}.callout p{font-size:13px;color:var(--muted);margin-top:6px;max-width:680px}.callout .btn{margin-top:12px}.subtle{color:var(--muted)}.back{display:inline-flex;align-items:center;gap:7px;border:none;background:none;color:var(--wine);font-size:13px;font-weight:750;padding:2px 0;margin-bottom:18px}.detail-head{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;align-items:start}.detail-hero{padding:28px 30px;background:var(--dark);color:white;border-radius:18px;min-height:190px}.detail-hero .kicker{color:#dfbba7}.detail-hero h1{margin:10px 0}.detail-hero p{color:#eadfe4;font-size:13px;max-width:530px}.card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:19px;box-shadow:var(--shadow)}.calc-card{position:relative}.calc-card label,.field label{font-size:12px;font-weight:700;display:block;margin-bottom:7px}.input{width:100%;height:45px;border-radius:10px;border:1px solid #d4c6ba;padding:9px 12px;background:white;color:var(--ink);font-size:15px}.big-result{font-size:31px;letter-spacing:-.04em;font-weight:800;line-height:1.2;margin:8px 0 4px}.result-caption{font-size:12px;color:var(--muted)}.notice{background:#f6eee7;border:1px solid #e8d9ca;padding:12px;border-radius:11px;font-size:12px;color:#6b564d;margin-top:12px}.section-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:28px 0 13px}.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.feature{background:white;border:1px solid var(--line);border-radius:13px;padding:17px}.feature b{font-size:15px}.feature p{font-size:13px;color:var(--muted);margin-top:7px}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.example{background:white;border:1px solid var(--line);border-radius:13px;padding:8px;text-align:center}.example svg{width:100%;height:auto;aspect-ratio:1.48;background:#fff}.example span{display:block;font-size:12px;color:var(--muted);margin-top:4px}.muted-list{font-size:13px;color:var(--muted);line-height:1.6}.quote-line{display:flex;justify-content:space-between;align-items:center;gap:10px}.top-service{background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:22px;box-shadow:var(--shadow)}.top-service h1{margin:7px 0;font-size:34px}.top-service p{font-size:13px;color:var(--muted)}.steps{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.steps span{font-size:12px;color:#685b56;background:#f2e7dd;border-radius:50px;padding:6px 10px}.questionnaire{padding:18px;margin-top:13px;background:#fffdfa;border:1px solid var(--line);border-radius:17px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{min-width:0}.choice-row{display:flex;flex-wrap:wrap;gap:8px}.choice{border:1px solid #dacbc1;padding:10px 12px;border-radius:11px;background:white;color:var(--ink);font-size:13px;font-weight:650}.choice.sel{border-color:var(--wine);background:#f7eae3;color:#763d37}.conditional{margin-top:13px;padding-top:13px;border-top:1px solid var(--line)}.conditional[hidden]{display:none}.simple-count{display:flex;align-items:center;gap:11px}.simple-count input{width:85px}.small-note{color:var(--muted);font-size:11px;margin:7px 0 0}.list-count{display:flex;gap:14px;flex-wrap:wrap}.inline-check{display:inline-flex;align-items:center;gap:7px;color:#4d4543;font-size:13px}.inline-check input{accent-color:var(--wine);width:17px;height:17px}.note-line{display:flex;align-items:flex-start;gap:9px;background:#f7ede3;border:1px solid #e7d8c9;padding:12px 13px;border-radius:12px;font-size:12px;color:#66554b}.section-choice{margin-top:20px}.section-choice .section-intro{margin-bottom:11px}.service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.service-card{border:1px solid var(--line);background:white;border-radius:12px;padding:13px 10px;text-align:left;min-height:95px;display:flex;flex-direction:column;justify-content:space-between;gap:8px}.service-card strong{font-size:13px}.service-card small{font-size:11px}.service-card.open{background:#f9eee5;border-color:#bd8a75}.plan-card{cursor:pointer;user-select:none;justify-content:flex-start;gap:9px}.plan-card-heading{display:flex;align-items:flex-start;gap:9px}.plan-card-heading input{width:19px;height:19px;accent-color:var(--wine);flex:none;margin:0;cursor:pointer}.plan-card-heading strong{line-height:1.3}.plan-card small{margin-top:auto}.plan-card-caption{font-size:11px;font-weight:700;color:var(--wine)}.plan-card.selected{border-color:#bd8a75;background:#f9eee5}.plan-card input:disabled{cursor:not-allowed}.service-card .tiny-arrow{color:var(--wine)}.service-panel{background:white;border:1px solid #ddc9ba;border-radius:14px;padding:17px;margin-top:10px}.service-panel[hidden]{display:none}.option{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:13px 12px;background:#fcf8f3;border:1px solid var(--line);border-radius:12px;margin-top:8px}.option label{display:flex;align-items:flex-start;gap:10px;flex:1;min-width:0;cursor:pointer}.option input[type=checkbox],.option input[type=radio],.doc input{accent-color:var(--wine);width:18px;height:18px;flex:none;margin-top:2px}.option b{font-size:13px}.option p{font-size:12px;color:var(--muted);margin-top:4px}.option-rate{white-space:nowrap;font-size:12px;font-weight:800;color:var(--dark)}.opt-hint{font-size:12px;color:var(--muted);margin-top:9px}.doc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.doc{display:flex;align-items:start;gap:7px;padding:11px;border:1px solid var(--line);border-radius:10px;min-width:0;background:#fcf9f5}.doc .doc-info{flex:1;min-width:0}.doc b{font-size:12px;display:block}.doc small{font-size:11px;display:block;margin-top:3px}.doc button{padding:0;border:none;background:none;color:var(--wine);text-decoration:underline;font-size:11px;margin-top:3px;text-align:left}.doc-rate{font-size:11px;font-weight:800;white-space:nowrap}.extras{margin-top:21px;background:#f3ebe2;border:1px solid #ecded1;border-radius:14px;padding:15px}.extras>button{background:none;border:0;padding:0;color:var(--ink);font-weight:750;font-size:14px;width:100%;display:flex;justify-content:space-between;text-align:left}.extras-body{margin-top:12px}.extras-body[hidden]{display:none}.consult-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.consult-grid label{font-size:12px;font-weight:650}.consult-grid input{margin-top:5px}.summary{margin-top:16px;border:1px solid #dec8ba;background:#fffdf9;border-radius:17px;padding:19px;scroll-margin-top:12px}.summary h3{font:normal 23px Georgia,serif}.sumrow{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #ece4dd;font-size:13px}.sumrow:last-of-type{border:0}.sumrow b{white-space:nowrap;font-size:13px}.sumbottom{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:13px}.sumbottom .big-result{font-size:33px}.green{color:var(--green)}.footer{border-top:1px solid var(--line);padding:23px 0 85px;color:var(--muted);font-size:12px}.sticky{display:none}.sticky[hidden]{display:none!important}.dialog-overlay{position:fixed;inset:0;background:#262027b8;display:none;justify-content:center;align-items:center;padding:16px;z-index:100}.dialog-overlay.open{display:flex}.dialog{background:var(--paper);border-radius:16px;max-width:610px;width:100%;max-height:90vh;overflow:auto;padding:20px}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.close{border:0;border-radius:100%;width:35px;height:35px;background:#f0e8df;font-size:20px}.dialog svg{width:100%;height:auto;display:block;margin:12px auto;max-height:360px}.dialog p{font-size:13px;color:var(--muted);margin-top:8px}
@media(max-width:800px){.hero-aside{display:none}.hero{padding:25px;min-height:220px}.tiles,.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-head{grid-template-columns:1fr}.detail-hero{min-height:0}.gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.wrap{padding:0 13px}.header-in{height:52px}.logo{font-size:26px}.top-note{display:none}.page{padding-top:13px;padding-bottom:105px}.hero{padding:21px 20px;border-radius:17px;min-height:0}.hero h1{font-size:31px}.hero h1 b{font-size:33px}.hero p{font-size:12px;margin:9px 0 14px}.brief{padding:12px 13px;margin:10px 0 19px;align-items:flex-start;gap:8px}.brief strong{font-size:12px}.brief p{font-size:11px}.mini-link{font-size:11px;white-space:normal}.section-intro h2{font-size:24px}.tiles{gap:9px}.tile{min-height:114px;padding:13px}.tile strong{font-size:13px;margin-top:4px}.tile .symbol{font-size:24px;height:28px}.tile small{font-size:11px;padding-right:8px}.callout{padding:15px}.detail-hero{padding:19px}.detail-hero h1{font-size:30px}.card,.top-service{padding:16px}.feature-grid{grid-template-columns:1fr}.gallery{grid-template-columns:1fr 1fr}.gallery .example:last-child{display:none}.grid2{grid-template-columns:1fr}.questionnaire{padding:15px}.service-grid{gap:8px}.service-card{min-height:91px;padding:11px}.service-panel{padding:12px}.option{padding:11px}.doc-grid{grid-template-columns:1fr}.consult-grid{grid-template-columns:1fr}.sticky{display:flex;position:fixed;bottom:0;left:0;right:0;padding:10px 13px calc(10px + env(safe-area-inset-bottom));z-index:20;background:#fffcf9;border-top:1px solid #e7ded4;justify-content:space-between;align-items:center;gap:10px;box-shadow:0 -8px 22px #382d2f15}.sticky .btn{min-height:39px}.sticky small{font-size:10px}.sticky .sticky-total{font-size:19px;font-weight:850}.summary{padding:14px}}
.small-object-choice{margin-top:11px}.small-object-choice .small-label{font-size:12px;color:var(--muted);display:block;margin-bottom:7px}.small-object-choice .choice{font-size:12px;padding:8px}.min-details{margin-top:8px;max-width:620px}.min-details summary{color:var(--wine);font-weight:700;cursor:pointer;margin-bottom:7px}.min-price-list{border-top:1px solid #e1cfc3;padding-top:7px;margin:4px 0 10px}.min-price-list>div{display:flex;justify-content:space-between;gap:15px;font-size:12px;padding:5px 0}.min-price-list b{white-space:nowrap;color:var(--ink)}.min-price-list .min-total{border-top:1px solid #e1cfc3;font-weight:750;padding-top:10px}.minimum-label{display:block;margin-top:3px;font-size:11px;font-weight:600;color:var(--wine)}.project-full strong{font-size:15px}.project-full small{display:block;margin-top:5px;line-height:1.35;max-width:370px}.project-full{align-items:start}.project-full b{white-space:nowrap}.summary .sumrow span{min-width:0}.min-inline{display:block;margin-top:5px;font-size:11px;line-height:1.28;font-weight:750;color:var(--wine);white-space:normal}.option-rate{min-width:110px;max-width:140px;text-align:right;white-space:normal;line-height:1.3}.option-rate .min-inline{font-size:11px}.doc-rate{min-width:94px;max-width:155px;text-align:right;white-space:normal}.doc-rate .min-inline{font-size:10px;font-weight:650}.service-card .min-inline{font-size:10px}.service-card small{min-height:14px}.service-card .min-inline[hidden],.option-rate .min-inline[hidden],.doc-rate .min-inline[hidden]{display:none}@media(max-width:480px){.option{gap:7px}.option-rate{min-width:105px;max-width:108px}.doc-rate{min-width:82px;max-width:110px}.doc{gap:5px;padding:9px}.service-card .min-inline{font-size:10px}}
.doc .min-inline{font-size:10px;line-height:1.35;color:var(--wine);font-weight:750}
.doc-receipt{display:block;margin-top:6px;font-size:11px;line-height:1.55;color:var(--muted);font-weight:450}
.docs-bundle{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-top:12px}
.docs-bundle span{flex:1;min-width:190px}
.docs-bundle .btn{padding:8px 12px}
@media(max-width:480px){.docs-bundle{display:block}.docs-bundle .btn{margin-top:8px}.doc-rate{max-width:125px}}

/* DOMA v10 — more distinctive editorial palette. */
:root {--bg:#f6f3ee;--paper:#fffefb;--ink:#292e2c;--muted:#6c716a;--line:#dcded5;--dark:#283b34;--wine:#9a4e40;--rose:#bb765e;--pale:#eee9dc;--green:#35644e;--shadow:0 6px 24px #293a3210;}
body{background:var(--bg)}
.header{background:#fdfbf6}.hero{background:linear-gradient(135deg,#263d35,#384b38 71%,#655d43);border-radius:13px}.hero:before,.hero:after{border-color:#ffffff0b}
.tile,.card,.service-panel,.summary,.questionnaire,.feature,.service-card,.option,.doc,.brief,.callout{border-radius:11px}
.tile{border-top:3px solid #8d563e}.tile .symbol{color:var(--wine)}
.tile strong{font-family:Georgia,'Times New Roman',serif;font-size:18px;font-weight:500}
.service-card .tiny-arrow,.navlink,.mini-link,.back{color:var(--wine)}
.section-intro{margin:18px 0 13px}.section-intro h2{letter-spacing:-.025em}
.btn{background:var(--dark)}.btn:hover{background:#42594a}.btn.border{border-color:#b6c2ba}
.logo{color:var(--dark)}
/* Lead form */
.order-cta{margin-top:16px}.order-cta .btn{width:100%;font-size:15px;min-height:48px}.order-cta small{display:block;margin-top:8px;font-size:12px;text-align:center;line-height:1.4}
.summary-order{border-top:1px solid var(--line);padding-top:15px;margin-top:15px;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center}
.summary-order strong{display:block;font-size:15px}.summary-order p{font-size:12px;color:var(--muted);margin-top:5px}
.summary-order .btn{min-width:185px}
.order-overlay{display:none;position:fixed;inset:0;background:#1b2720aa;z-index:40;overflow:auto;padding:20px 12px;align-items:center;justify-content:center}
.order-overlay.open{display:flex}
.order-dialog{width:min(590px,100%);border-radius:18px;background:var(--paper);box-shadow:0 16px 70px #101b17aa;padding:28px;max-height:min(95vh,860px);overflow:auto}
.order-dialog .modal-header{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:12px}
.order-dialog .modal-header h2{font-size:30px;margin:4px 0 0}
.order-dialog .close{border:1px solid var(--line);color:var(--ink);border-radius:100%;height:37px;width:37px;background:#fff;flex-shrink:0;font-size:22px}
.order-short{border-left:3px solid var(--wine);background:#f0eee6;padding:12px 14px;margin:14px 0 18px;white-space:pre-wrap;font-size:12px;line-height:1.6;max-height:180px;overflow:auto}
.order-fields{display:grid;gap:12px}
.order-fields label:not(.checklabel){display:block;font-size:13px;font-weight:700;margin-bottom:5px}
.order-fields input,.order-fields select,.order-fields textarea{width:100%;font:inherit;background:#fff;border:1px solid #b9c2b8;border-radius:8px;padding:11px 12px;color:var(--ink)}
.order-fields textarea{min-height:80px;resize:vertical}.order-fields .split{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.order-fields .checklabel{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:var(--muted)}
.order-fields .checklabel input{width:18px;height:18px;flex-shrink:0;margin:0}
.order-status{font-size:13px;padding:12px;border-radius:8px;background:#f0eee6;color:var(--ink)}
.order-success{padding:20px;border:1px solid #b7cdbf;background:#f1f5ef;border-radius:10px}
.order-success h3{font:normal 27px Georgia,serif;margin-bottom:8px}
.order-send{width:100%;font-size:15px;min-height:48px}
@media(max-width:520px){.order-dialog{padding:19px;border-radius:14px}.order-fields .split{grid-template-columns:1fr}.summary-order{grid-template-columns:1fr}.summary-order .btn{width:100%}.order-overlay{padding:7px}.tile strong{font-size:16px}}


/* ===== DOMA editorial redesign v11 ===== */
:root{--bg:#f3efe7;--paper:#fffdf9;--ink:#27201c;--muted:#796e66;--line:#dfd3c8;--dark:#351f1b;--wine:#8c3c2d;--rose:#a87355;--pale:#ede2d6;--green:#315842;--shadow:0 8px 25px #2f201b0a}
body{background:#f3efe7;color:var(--ink);font-family:'Helvetica Neue',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;line-height:1.47}
h1,h2,h3,.serif{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.033em}
h1 em,h2 em,h3 em{font-weight:400}
h1{font-size:clamp(34px,5vw,61px)} h2{font-size:clamp(28px,3.2vw,42px)}
.wrap{max-width:1210px;padding:0 clamp(15px,3vw,42px)}
.header{background:#f5f0e7;border-bottom:1px solid #e0d3c7}
.header-in{height:70px}.logo{font:500 32px Georgia,serif;letter-spacing:.025em;color:#271d1b}
.logo span{color:#863c31}.top-note{font-size:10px;letter-spacing:.16em;text-transform:uppercase}
.navlink,.back{color:#763529}.btn{border-radius:4px;font-weight:650;letter-spacing:.015em}
.btn.white{background:#f7f0e5;color:#251a17}.btn:hover{background:#5c322a}
.page{padding-top:18px}
.editorial-hero{min-height:545px;background-color:#48332b;background-image:url("doma-main-hero-fallback.jpg");background-size:cover;background-position:center 48%;color:#fff;display:block;padding:26px clamp(23px,4vw,55px) 33px;border-radius:0;box-shadow:none}
.editorial-hero:before,.editorial-hero:after{display:none}
.hero-meta{display:flex;justify-content:space-between;gap:16px;letter-spacing:.16em;font-size:10px;color:#f4e6d7;position:relative;z-index:2}
.editorial-wordmark{position:relative;z-index:1;font:400 clamp(94px,20vw,290px)/.87 Georgia,'Times New Roman',serif;letter-spacing:-.07em;text-align:center;white-space:nowrap;margin:12px auto -28px;color:rgba(249,241,231,.9)}
.editorial-hero .hero-body{margin-top:25px;max-width:680px;position:relative;z-index:3}
.editorial-hero .kicker{color:#f4d0b8;letter-spacing:.23em;font-size:10px}
.editorial-hero h1{font-size:clamp(30px,4vw,56px);font-weight:400;line-height:1.12;margin:11px 0}
.editorial-hero p{color:#efe6dd;max-width:500px;font-size:14px;line-height:1.6}
.hero-buttons{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:20px}
.hero-secondary{font-size:13px;color:#f8e9da;text-decoration:none;border-bottom:1px solid #f8e9da;padding-bottom:3px}
.hero-credit{position:absolute;right:25px;bottom:18px;font-size:10px;color:#f6ece17f;z-index:2}
.brief{background:#e8dbcc;border:0;border-radius:0;padding:16px 22px;margin:0 0 23px}.brief p{line-height:1.5}
.section-intro{margin-top:32px;margin-bottom:19px;align-items:end}
.section-intro .kicker{margin-bottom:7px}.section-intro h2{font-size:clamp(31px,4.5vw,50px)}
.section-jump{color:var(--wine);white-space:nowrap;font-size:12px;letter-spacing:.03em}
.tiles{background:#251b17;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid #33251e}
.tile{background:#251b17;border:0;border-right:1px solid #564239;border-radius:0;box-shadow:none;min-height:190px;color:#f8f1e7;padding:22px;display:flex;align-items:flex-start}
.tile:last-child{border-right:0}.tile:hover{background:#3b2a22;border-color:#665043}
.tile .symbol{font-size:32px;color:#d6b295}.tile strong{font-family:Georgia,serif;font-weight:400;font-size:22px;line-height:1.15;margin-top:15px}.tile small{color:#cbbbaf;margin-top:10px;font-size:12px}.tile .arrow{color:#dfc0a7}
.editorial-gallery{display:grid;grid-template-columns:1fr 1.12fr;min-height:270px;margin:17px 0 24px;background:#e9ddd0}
.gallery-copy{display:flex;flex-direction:column;justify-content:center;padding:28px clamp(20px,4vw,60px)}
.gallery-copy h2{font-size:clamp(28px,3vw,44px);max-width:380px;margin:11px 0}
.gallery-copy p{max-width:390px;font-size:14px;color:#615852}.gallery-copy span{font-size:10px;color:#867971;margin-top:23px}
.gallery-photo{overflow:hidden;min-height:260px;background:linear-gradient(115deg,#7c5a44,#c9a889)}.gallery-photo img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.75) contrast(.96)}
.callout{border-radius:0;background:#fdfaf4;border-color:var(--line);padding:25px 28px;margin:0 0 26px}
.callout h3{font-size:28px}.callout p{line-height:1.65}
.detail-hero{background:linear-gradient(100deg,#3b211d,#5c3028);border-radius:0;min-height:230px;padding:32px}
.detail-hero h1{font-size:clamp(35px,4vw,58px)}
.card,.feature,.top-service,.choice,.notice,.example,.tile,.order-dialog{box-shadow:none}
.card,.feature,.top-service,.example{border-radius:0;background:#fffcf8}
.top-service{border-radius:0;background:#f9f4eb;padding:26px}
.top-service h1{font-size:clamp(35px,5vw,55px)}
.steps span{background:#e9d9cb;border-radius:0}
.choice{border-radius:5px}
.input{border-radius:4px;border-color:#cbb9a9;height:49px}
.feature-grid{gap:1px;background:#d9c9ba}
.feature{border:0;min-height:165px;padding:24px 22px}
.feature b{font-family:Georgia,serif;font-size:21px;font-weight:400}
.feature p{line-height:1.6}
.section-header{margin-top:35px}
.service-body,.service-panel,.choice,.option,.drawing,.drawing-card{border-radius:7px}
.order-cta .btn,.order-send{border-radius:5px}
.order-dialog{border-radius:8px}
.order-overlay .kicker{letter-spacing:.15em}
.order-dialog h2{font-family:Georgia,serif;font-size:clamp(27px,4vw,40px)}
.bottom-bar,.fixed-total{background:#faf5ed;border-top:1px solid #dfd1c4}
@media(max-width:800px){
 .editorial-hero{min-height:550px;padding:20px 20px 28px;background-position:57% center}
 .editorial-wordmark{font-size:clamp(81px,21vw,175px);margin:45px -7px 12px;letter-spacing:-.075em}
 .hero-meta{font-size:8px}.hero-meta span:last-child{display:none}
 .editorial-hero .hero-body{margin-top:30px;max-width:550px}
 .editorial-hero h1{font-size:38px}.editorial-hero p{font-size:14px;max-width:440px}
 .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tile{border-bottom:1px solid #564239;min-height:155px;padding:17px}
 .tile:nth-child(even){border-right:0}.tile:nth-child(n+3){border-bottom:0}
 .tile strong{font-size:20px;margin-top:8px}
 .editorial-gallery{grid-template-columns:1fr}.gallery-photo{min-height:220px;max-height:350px}
 .gallery-copy{padding:30px 24px}.section-intro{margin-top:26px}
}
@media(max-width:500px){
 .header-in{height:62px}.logo{font-size:28px}.top-note{display:none}
 .page{padding-top:9px}
 .editorial-hero{min-height:510px;padding:16px 18px 30px;background-position:53% center}
 .editorial-wordmark{font-size:clamp(72px,23vw,110px);margin:44px -6px 38px}
 .editorial-hero .hero-body{margin-top:0}
 .editorial-hero h1{font-size:32px;margin:11px 0}
 .editorial-hero p{font-size:12px;line-height:1.55}
 .hero-buttons{gap:14px;margin-top:17px}
 .hero-buttons .btn{font-size:12px;padding:12px;min-height:40px}
 .hero-secondary{font-size:12px}
 .hero-credit{font-size:9px;bottom:7px;right:13px}
 .brief{padding:14px 12px;margin:0 0 20px}
 .brief strong{font-size:13px}.brief p{font-size:11px}
 .section-intro .kicker{font-size:9px}.section-intro h2{font-size:33px}
 .section-intro p{font-size:12px}.section-jump{display:none}
 .tile{min-height:135px;padding:14px}.tile strong{font-size:19px}.tile small{font-size:11px}
 .tile .symbol{font-size:27px}.callout h3{font-size:25px}
 .editorial-gallery{margin:14px 0 21px}
 .feature b{font-size:19px}.feature{padding:18px}
 .detail-hero{padding:24px}.detail-hero h1{font-size:36px}
 .top-service{padding:20px}
}

/* DOMA v12 — delicate editorial typography. Layout and pricing logic unchanged. */
:root{--font-display:'Baskerville','Iowan Old Style',Georgia,serif;--font-body:'Helvetica Neue',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
body{font-family:var(--font-body);font-size:14px;line-height:1.62;font-weight:400;letter-spacing:-.008em}
h1,h2,h3,.serif{font-family:var(--font-display);font-weight:400;letter-spacing:-.027em;line-height:1.015}
h1{font-size:clamp(47px,6.2vw,82px)}
h2{font-size:clamp(39px,4.6vw,63px)}
h3{font-size:clamp(26px,3vw,38px)}
.logo{font-family:var(--font-display);font-size:39px;font-weight:500;line-height:1;letter-spacing:.095em}
.editorial-wordmark{font-family:var(--font-display);font-weight:300;font-size:clamp(112px,22vw,310px);letter-spacing:-.075em;line-height:.74;margin-bottom:0}
.editorial-hero h1{font-family:var(--font-display);font-size:clamp(48px,5.5vw,76px);font-weight:400;line-height:.98;letter-spacing:-.025em}
.editorial-hero .hero-body{margin-top:30px}
.editorial-hero p,.gallery-copy p,.feature p{font-family:var(--font-body);line-height:1.7;letter-spacing:0}
.section-intro h2{font-family:var(--font-display);font-size:clamp(42px,5vw,65px);letter-spacing:-.033em;line-height:1.02}
.gallery-copy h2{font-family:var(--font-display);font-size:clamp(44px,4.4vw,67px);line-height:.96;letter-spacing:-.025em}
.callout h3{font-family:var(--font-display);font-size:38px;letter-spacing:-.025em}
.tile strong{font-family:var(--font-display);font-size:29px;font-weight:500;line-height:1.02;letter-spacing:-.015em}
.tile small{line-height:1.5}
.feature b{font-family:var(--font-display);font-weight:500;font-size:29px;line-height:1.02;letter-spacing:-.015em}
.detail-hero h1{font-family:var(--font-display);font-size:clamp(50px,5.6vw,80px);font-weight:400;line-height:.99}
.top-service h1{font-family:var(--font-display);font-size:clamp(47px,5.7vw,77px);line-height:.96}
.summary h3,.order-dialog h2,.order-success h3{font-family:var(--font-display);font-weight:500;font-size:clamp(31px,3.6vw,47px);line-height:1.03}
.big-result,.sumbottom .big-result{font-family:var(--font-body);font-weight:600;letter-spacing:-.055em}
.kicker,.top-note,.hero-meta{font-family:var(--font-body);font-size:10px;letter-spacing:.22em;font-weight:600}
.btn,.choice,.navlink,.back,.mini-link{font-family:var(--font-body);font-weight:600;letter-spacing:.015em}
.option b,.doc b,.service-card strong,.feature p,.order-fields label:not(.checklabel){font-weight:600}
@media(max-width:800px){
 .editorial-wordmark{font-size:clamp(88px,22vw,190px);letter-spacing:-.075em;margin-bottom:10px}
 .editorial-hero h1{font-size:clamp(43px,6vw,68px)}
 .tile strong{font-size:27px}
}
@media(max-width:500px){
 body{font-size:14px}
 .logo{font-size:37px}
 .editorial-hero{min-height:525px}
 .editorial-wordmark{font-size:clamp(81px,23vw,125px);margin:44px -6px 34px;letter-spacing:-.074em}
 .editorial-hero .hero-body{margin-top:0}
 .editorial-hero h1{font-size:clamp(45px,11vw,58px);line-height:.97;margin:12px 0}
 .editorial-hero p{font-size:12px;line-height:1.6}
 .section-intro h2{font-size:43px;line-height:1}
 .tile strong{font-size:25px;line-height:1.0}
 .feature b{font-size:25px}
 .callout h3{font-size:33px}
 .gallery-copy h2{font-size:47px}
 .detail-hero h1,.top-service h1{font-size:52px;line-height:.97}
 .order-dialog h2{font-size:39px}
}


/* DOMA v13 — рукописные акценты Gogol от ParaType. Только внешний вид; логика калькулятора не изменена. */
/* DOMA: не загружаем внешние шрифты */
:root{--font-script:'Baskerville','Iowan Old Style',Georgia,serif}
.editorial-hero h1 em,.section-intro h2 em,.callout h3 em{
  font-family:var(--font-script);font-style:italic;font-weight:400;
  letter-spacing:0;line-height:1.12;
  text-transform:none;
}
.editorial-hero h1 em{font-size:1.05em;display:inline-block;margin-top:.08em}
.section-intro h2 em{font-size:1.17em;display:inline-block}
.callout h3 em{font-size:1.18em;display:inline-block}
@media(max-width:520px){
 .editorial-hero h1{font-size:clamp(36px,10vw,52px)}
 .editorial-hero h1 em{font-size:1.02em;max-width:100%;overflow-wrap:break-word}
 .section-intro h2 em{font-size:1.08em}
 .callout h3 em{font-size:1.12em}
}


/* v15: separate 1–25 m² calculators with independently editable price grids. */
.small-hero{padding:33px 36px;background:#35221c;color:#fff8ef;margin:8px 0 19px}
.small-hero h1{font-size:clamp(33px,5vw,55px);line-height:1.12;margin:12px 0}
.small-hero h1 em{font-weight:400;color:#e4bca2;font-style:italic}
.small-hero p{font-size:14px;max-width:620px;color:#e7d7ca;line-height:1.6}
.small-switch{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:21px;color:#e8d2bf;font-size:12px}
.small-switch .choice{padding:8px 14px;color:#3d2921;background:#f4ede3;border:0;min-height:36px}
.small-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,0.84fr);gap:20px;align-items:start;margin-bottom:50px}
.small-options{display:grid;gap:16px}
.small-card{padding:25px;background:#fffdf9;border:1px solid #e2d6cb}
.small-card>label{font-size:13px;font-weight:700;display:block;margin:0 0 9px}
.small-area-input{width:100%;max-width:250px}
.small-card .small-note,.small-summary .small-note{font-size:12px;line-height:1.6;color:#81766f;margin-top:10px}
.small-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:13px 0}
.small-mode-switch .choice{width:100%;padding:12px;min-height:54px;text-align:center}
.small-mode-switch .choice.sel{background:#472e25;color:#fff;border-color:#472e25}
.small-hint{color:#75695f;font-size:13px;line-height:1.55;margin:10px 0 14px}
.small-custom-options{border-top:1px solid #e6d9ce;padding-top:5px}
.small-opt{display:grid;grid-template-columns:21px minmax(0,1fr) auto;gap:11px;align-items:center;padding:16px 0;border-bottom:1px solid #ece3db;cursor:pointer;font-size:13px}
.small-opt input,.small-doc-option input{width:18px;height:18px;accent-color:#8c3c2d}
.small-opt>span strong{display:block;font-size:14px;font-weight:650;color:#2b201b;line-height:1.35}
.small-opt>span small{display:block;font-size:11px;color:#7a7068;margin-top:3px;line-height:1.4}
.small-opt>b{font-size:13px;font-weight:700;white-space:nowrap}
.small-ready{display:flex;gap:11px;align-items:center;font-size:12px;color:#6b5a51;padding:9px 0 17px 33px}
.small-ready input{accent-color:#8c3c2d;width:17px;height:17px}
.small-subhead{font:normal 22px Georgia,serif;margin-top:18px;padding-top:10px}
.small-opt-clear{grid-template-columns:21px minmax(0,1fr);padding:10px 0;color:#8c8178}
.small-doc-list{border:1px solid #e4d8cd;background:#faf5ee;padding:3px 13px;margin:8px 0 15px}
.small-doc-option{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:10px;align-items:center;border-bottom:1px solid #e4d8cd;padding:11px 0;font-size:12px;cursor:pointer}
.small-doc-option:last-child{border-bottom:0}.small-doc-option b{font-size:12px;white-space:nowrap}
.small-summary{padding:26px;position:sticky;top:88px;background:#fffaf4;border:1px solid #e3d5c8}
.small-summary-rows{margin:20px 0 22px}.small-sum-row{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid #e9dcd2;font-size:13px}
.small-sum-row b{white-space:nowrap}.small-sum-caption{font-size:12px;color:#7d7268;margin-bottom:2px}
.small-summary .big-result{margin:5px 0 12px}.small-order-button{width:100%;min-height:49px;margin-top:15px}
.small-order-button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:790px){.small-layout{grid-template-columns:1fr}.small-summary{position:static}.small-hero{padding:27px 20px}.small-card{padding:19px}.small-mode-switch{grid-template-columns:1fr 1fr}}
@media(max-width:420px){.small-mode-switch{grid-template-columns:1fr}.small-opt{grid-template-columns:20px minmax(0,1fr);gap:9px}.small-opt>b{grid-column:2;justify-self:start}.small-doc-option{font-size:11px}.small-hero h1{font-size:34px}}


.small-discount-row{color:var(--wine)}.small-cap-note{color:var(--wine);font-weight:600;margin:9px 0 0}

/* DOMA v21 A: two author-project previews below the original cover */
.editorial-gallery.portfolio-duo{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);min-height:360px}
.portfolio-pair{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:13px;padding:18px;min-width:0}
.portfolio-pair figure{margin:0;background:#f9f4ed;min-width:0;overflow:hidden;display:flex;flex-direction:column}
.portfolio-pair img{display:block;width:100%;height:315px;object-fit:cover}
.portfolio-pair figure:first-child img{object-position:center 38%}
.portfolio-pair figure:last-child img{object-position:center center}
.portfolio-pair figcaption{font-size:12px;color:#51463e;letter-spacing:.015em;padding:10px 12px 11px;line-height:1.4}
@media(max-width:920px){.editorial-gallery.portfolio-duo{grid-template-columns:1fr}.portfolio-pair{padding:0 21px 21px}.portfolio-pair img{height:270px}}
@media(max-width:550px){.editorial-gallery.portfolio-duo{grid-template-columns:1fr}.portfolio-pair{grid-template-columns:1fr;gap:14px;padding:0 14px 17px}.portfolio-pair figure:first-child img{height:310px;object-position:center 33%}.portfolio-pair figure:last-child img{height:235px}.portfolio-pair figcaption{font-size:12px}}


/* DOMA v22A: original Unsplash hero photo with a built-in image fallback for offline previews.
   Preserve all two-project portfolio content, pricing and order logic from variant A. */
.editorial-hero .hero-original-photo {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 48%;opacity:0;z-index:0;pointer-events:none;display:block}
.editorial-hero.has-original-photo .hero-original-photo {opacity:1}
.editorial-hero.has-original-photo::before {content:'';display:block;position:absolute;inset:0;width:auto;height:auto;right:auto;top:auto;border:0;border-radius:0;background:linear-gradient(90deg,rgba(30,20,17,.71) 0%,rgba(28,19,16,.30) 56%,rgba(20,14,12,.43) 100%);z-index:1;pointer-events:none}
.editorial-hero .editorial-wordmark,.editorial-hero .hero-meta {z-index:2}
.editorial-hero .hero-body,.editorial-hero .hero-credit{z-index:3}
@media(max-width:800px){.editorial-hero .hero-original-photo{object-position:57% center}}
@media(max-width:500px){.editorial-hero .hero-original-photo{object-position:53% center}}

/* DOMA v23: real, anonymized work examples linked to each checkbox */
.doc-card{min-width:0;border-radius:10px;border:1px solid var(--line);background:#fcf9f5;overflow:hidden}
.doc-card .doc{border:0;border-radius:0;background:transparent}
.doc .doc-info button,.doma-small-link{font-size:11px;color:var(--wine);font-weight:650;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.doma-inline-preview{border-top:1px solid #e8ded4;padding:12px;background:#fffdf9}
.doma-inline-preview[hidden]{display:none!important}
.doma-example-content p{font-size:12px;color:#63584f;line-height:1.55;margin:0 0 10px}
.doma-example-note{display:block;font-weight:650;color:#8b5034;font-size:11px;margin-bottom:6px}
.doma-preview-image{padding:0;border:1px solid #e4d7ca;background:#fff;cursor:zoom-in;width:100%;display:block;border-radius:6px;overflow:hidden}
.doma-preview-image img{width:100%;height:auto;aspect-ratio:1.43;object-fit:contain;display:block}
.doma-example-caption{font-size:10px;color:#7e7268;line-height:1.45;margin-top:7px}
.doma-additional{border:0;background:transparent;font-size:11px;text-decoration:underline;color:var(--wine);padding:7px 0 0;cursor:pointer}
.doma-small-doc-entry{border-bottom:1px solid #e4d8cd;padding-bottom:9px}
.doma-small-doc-entry:last-child{border-bottom:0}
.doma-small-doc-entry .small-doc-option{border-bottom:0;padding-bottom:5px}
.doma-small-link{margin:0 0 3px 28px;background:none;border:0;display:inline-block;padding:3px 0 5px}
.doma-small-doc-entry .doma-inline-preview{margin-top:5px}
.doma-gallery-example button{border:0;background:#fff;padding:0;cursor:zoom-in;width:100%;display:block}
.doma-gallery-example img{width:100%;height:155px;object-fit:contain;display:block;background:#fff}
.dialog-overlay.real-doc-mode{padding:8px}
.dialog-overlay.real-doc-mode .dialog{max-width:min(1450px,97vw);max-height:97vh;padding:16px;overflow:auto}
.real-doc-viewer p{font-size:13px;color:#665b54;margin:5px 0 11px;line-height:1.55}
.doma-zoom-frame{border:1px solid #e2d8d0;background:#fff;max-height:70vh;overflow:auto;text-align:center;border-radius:7px}
.doma-main-image{display:block;width:100%;height:auto;max-width:100%;margin:0 auto;cursor:zoom-in}
.doma-main-image.zoomed{max-width:none;width:max(1150px,150%);cursor:zoom-out}
.doma-image-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;font-size:12px;color:#60534c}
.doma-image-bar button,.doma-viewer-switch button{background:#f6eee6;border:1px solid #e3d1c1;padding:7px 10px;border-radius:6px;cursor:pointer;color:#6d3f35;font-size:12px}
.doma-viewer-switch{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.doma-viewer-switch button.active{background:#8d463d;color:#fff}
@media(max-width:760px){.doc-card .doc{padding:12px}.doma-gallery-example img{height:95px}.dialog-overlay.real-doc-mode .dialog{padding:9px}.doma-zoom-frame{max-height:72vh}.doma-image-bar{font-size:11px}}

.doma-auto-full-note{background:#f4e8dd;border-left:3px solid var(--wine);padding:12px 13px;margin:10px 0 14px;border-radius:0 5px 5px 0;color:#493029;font-size:12px;line-height:1.55}
.doma-auto-full-note[hidden]{display:none!important}
.doma-auto-full-note strong{display:block;font-size:14px;margin-bottom:3px}

.visual-examples-box{margin-top:12px;border:1px solid #e8ddd3;border-radius:10px;background:#fffdf9;padding:12px}
.visual-examples-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.visual-examples-head p{font-size:12px;color:#63584f;line-height:1.55;margin:0}
.visual-open-all{white-space:nowrap;align-self:flex-start}
.visual-thumb-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}
.visual-sample{padding:0;border:1px solid #e4d7ca;background:#fff;border-radius:6px;overflow:hidden;cursor:zoom-in;text-align:left}
.visual-sample img{width:100%;height:120px;object-fit:cover;display:block;background:#fff}
.visual-sample span{display:block;padding:7px 8px 8px;font-size:10px;line-height:1.4;color:#6b5b51}
@media(max-width:760px){.visual-examples-head{flex-direction:column}.visual-open-all{white-space:normal}.visual-thumb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.visual-sample img{height:105px}}


.planning-choice-hint{margin:1px 0 9px 0!important;font-size:11px!important;color:var(--muted)}


/* DOMA footer v37 — styles only, calculator and applications untouched. */
.doma-footer{background:#312c30;color:#f4eae3;border-top:0;padding:62px 0 30px;font-size:14px}
.doma-footer .doma-footer-top{display:grid;grid-template-columns:1.18fr .90fr 1fr;gap:clamp(22px,4vw,64px);padding-bottom:48px}
.doma-footer-intro{max-width:370px}
.doma-footer-eyebrow{font-size:10px;font-weight:700;letter-spacing:.17em;color:#c79e8f;margin:0 0 15px}
.doma-footer-brand{font-family:Georgia,'Times New Roman',serif;font-size:clamp(44px,5.3vw,69px);font-weight:400;letter-spacing:-.075em;line-height:1;margin:0 0 18px;color:#fff6ef}
.doma-footer-brand-dot{color:#c78975}
.doma-footer-tagline{font-size:14px;line-height:1.8;color:#ddd0c9;max-width:300px;margin:0 0 17px}
.doma-footer-location{color:#bfa79e;font-size:12px;line-height:1.7}
.doma-footer h3{margin:4px 0 18px;font-size:15px;line-height:1.3;font-weight:650;color:#fff5ee;font-family:inherit}
.doma-footer-nav{display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.doma-footer-nav h3{margin-bottom:5px}
.doma-footer-nav a{font-size:13px;line-height:1.45;color:#ded0c9;text-decoration:none;text-underline-offset:4px;transition:color .15s}
.doma-footer-nav a:hover,.doma-footer-nav a:focus-visible{color:#fff;text-decoration:underline}
.doma-footer-contacts>p{font-size:12px;color:#bfa79e;line-height:1.55;margin:-8px 0 16px}
.doma-footer-socials{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.doma-footer-socials a{display:flex;align-items:center;gap:9px;border:1px solid #695952;border-radius:9px;text-decoration:none;padding:10px 8px;color:#f5eae3;background:#fff8f504;transition:background .15s,border-color .15s;min-width:0}
.doma-footer-socials a:hover,.doma-footer-socials a:focus-visible{background:#ffffff15;border-color:#bc9280}
.doma-social-mark{flex:0 0 auto;min-width:27px;height:27px;border-radius:7px;background:#654d4a;color:#fcebe1;font-size:10px;font-weight:750;display:grid;place-items:center;letter-spacing:-.03em}
.doma-footer-socials a>span:nth-child(2){font-size:12px;min-width:0;overflow-wrap:anywhere}
.doma-footer-arrow{font-size:14px;color:#c8a69a;margin-left:auto}
.doma-footer-bottom{border-top:1px solid #6b5b58;padding-top:23px;display:flex;justify-content:space-between;gap:20px;align-items:flex-start;color:#bba8a1;font-size:11px;line-height:1.7}
.doma-footer-asterisk{max-width:420px;text-align:right}
@media(max-width:850px){.doma-footer .doma-footer-top{grid-template-columns:1fr 1fr;gap:35px}.doma-footer-intro{grid-column:1 / -1;max-width:540px}.doma-footer-socials{grid-template-columns:1fr 1fr}}
@media(max-width:570px){.doma-footer{padding:45px 0 26px}.doma-footer .doma-footer-top{grid-template-columns:1fr;gap:32px;padding-bottom:30px}.doma-footer-intro{grid-column:auto}.doma-footer-brand{font-size:60px}.doma-footer-nav{gap:12px}.doma-footer-socials{grid-template-columns:1fr 1fr}.doma-footer-bottom{flex-direction:column;gap:8px}.doma-footer-asterisk{text-align:left}.doma-footer-socials a{padding:12px 9px}}
@media(max-width:350px){.doma-footer-socials{grid-template-columns:1fr}}


/* DOMA v38: legal navigation and separate consent links; no changes to calculator. */
.doma-footer-legal{border-top:1px solid #6b5b58;padding:19px 0 21px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px 38px;color:#d9c7bd;font-size:12px;line-height:1.8}
.doma-footer-legal>div{display:flex;flex-direction:column;gap:3px}
.doma-footer-legal nav{display:flex;flex-direction:column;align-items:flex-end;gap:6px;max-width:310px}
.doma-footer-legal a{color:#efded4;text-underline-offset:3px;text-decoration:underline;text-decoration-color:#88756e}
.doma-footer-legal a:hover,.doma-footer-legal a:focus-visible{color:#fff}
.doma-footer-provider{font-weight:550}
.doma-privacy-note{font-size:11px;color:#6d6258;line-height:1.55;margin:6px 0 13px}
.doma-privacy-link{color:#884535;text-decoration:underline;text-underline-offset:2px;font-weight:650}
@media(max-width:620px){.doma-footer-legal{flex-direction:column;gap:14px}.doma-footer-legal nav{align-items:flex-start;max-width:none}}

/* DOMA v43: examples of real planning drawings and visualization styles. */
.small-visual-group{margin-top:16px;border-top:1px solid #e7d9cb;padding-top:8px}
.small-visual-group .small-subhead{margin-top:7px;padding-top:4px}
.small-visual-hint{margin:4px 0 7px!important;line-height:1.55}
.small-visual-group .small-opt{padding:15px 0 12px}
.doma-service-preview{margin:2px 0 14px;padding:10px 11px 12px;background:#fffaf5;border:1px solid #eaded4;border-radius:8px}
.doma-service-preview-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;column-gap:12px;row-gap:6px;margin-bottom:10px}
.doma-service-preview-head>span{font-size:12px;font-weight:650;color:#614c3d}
.doma-preview-link{border:0;background:none;color:#8c3c2d;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:2px 0;font-size:11px;font-weight:650;text-align:left}
.doma-service-thumbs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.doma-inline-sample{border:1px solid #e6d8c9;border-radius:6px;overflow:hidden;background:#fff;padding:0;text-align:left;cursor:zoom-in;display:block;min-width:0}
.doma-inline-sample img{width:100%;height:125px;object-fit:cover;display:block}
.doma-inline-sample.doma-drawing-thumb img{object-fit:contain;background:#fff}
.doma-inline-sample span{font-size:11px;line-height:1.35;color:#594c43;padding:7px 8px;display:block}
.plan-service-examples{max-width:640px;margin-top:11px}
@media(max-width:600px){.doma-service-preview{padding:9px}.doma-inline-sample img{height:110px}.doma-inline-sample span{font-size:10px}.doma-service-preview-head{display:block}.doma-preview-link{display:block;margin-top:5px}}


/* DOMA v44 — fit entire real work example on first open (desktop and mobile).
   Details can be inspected in the existing click-to-zoom mode. */
.dialog-overlay.real-doc-mode {padding:8px;}
.dialog-overlay.real-doc-mode .dialog {
  display:flex;
  flex-direction:column;
  width:min(1450px, 100%);
  height:calc(100dvh - 16px);
  max-height:calc(100dvh - 16px);
  overflow:hidden;
  padding:12px;
}
.dialog-overlay.real-doc-mode .dialog-head {flex:0 0 auto;min-height:35px;}
.dialog-overlay.real-doc-mode #dialogContent {display:flex;flex:1 1 auto;min-height:0;overflow:hidden;}
.dialog-overlay.real-doc-mode .real-doc-viewer {
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-width:0;
  min-height:0;
  overflow:hidden;
}
.dialog-overlay.real-doc-mode .real-doc-viewer > p {
  flex:0 0 auto;
  margin:5px 0 8px;
  line-height:1.35;
  font-size:12px;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
}
.dialog-overlay.real-doc-mode .doma-zoom-frame {
  flex:1 1 auto;
  min-height:0;
  max-height:none;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding:6px;
}
.dialog-overlay.real-doc-mode .doma-main-image {
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  margin:auto;
  flex:0 0 auto;
  cursor:zoom-in;
}
.dialog-overlay.real-doc-mode .doma-zoom-frame:has(.doma-main-image.zoomed) {
  display:block;
  overflow:auto;
  text-align:center;
}
.dialog-overlay.real-doc-mode .doma-main-image.zoomed {
  width:max(1150px, 140%);
  height:auto;
  max-width:none;
  max-height:none;
  object-fit:fill;
  cursor:zoom-out;
}
.dialog-overlay.real-doc-mode .doma-image-bar {
  flex:0 0 auto;
  min-height:34px;
  margin-top:5px;
}
.dialog-overlay.real-doc-mode .doma-image-bar span {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.dialog-overlay.real-doc-mode .doma-image-bar button {flex:0 0 auto;}
.dialog-overlay.real-doc-mode .doma-viewer-switch {
  flex:0 0 auto;
  display:flex;
  flex-wrap:nowrap;
  overflow-x:auto;
  overflow-y:hidden;
  gap:6px;
  max-width:100%;
  margin-top:6px;
  padding-bottom:3px;
  scrollbar-width:thin;
}
.dialog-overlay.real-doc-mode .doma-viewer-switch button {flex:0 0 auto;white-space:nowrap;}
@media(max-width:760px) {
  .dialog-overlay.real-doc-mode {padding:5px;}
  .dialog-overlay.real-doc-mode .dialog {height:calc(100dvh - 10px);max-height:calc(100dvh - 10px);padding:8px;}
  .dialog-overlay.real-doc-mode .real-doc-viewer > p {font-size:11px;line-height:1.3;margin:4px 0 6px;}
  .dialog-overlay.real-doc-mode .doma-zoom-frame {padding:3px;}
  .dialog-overlay.real-doc-mode .doma-image-bar {font-size:11px;}
  .dialog-overlay.real-doc-mode .doma-viewer-switch button {font-size:11px;padding:6px 8px;}
}
