/* Photo calculator: isolated from previous calculator styles. */
#calculator.sg-estimate { margin: 48px auto; padding: 0; max-width: 1440px; background: #f4f5f6; color: #141720; border: 1px solid #e7e8ec; border-radius: 22px; overflow: hidden; scroll-margin-top: 100px; }
#calculator .sg-est-shell { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 24px; padding: 30px; align-items: stretch; }
#calculator .sg-est-story { position: relative; display: flex; flex-direction: column; min-width: 0; }
#calculator .sg-est-intro { position: relative; z-index: 1; padding: 18px 12px 25px; }
#calculator .sg-est-eyebrow { margin: 0 0 18px; color: #737b8c; font-size: 10px; line-height: 1.4; font-weight: 700; letter-spacing: .2em; }
#calculator #sg-est-title { margin: 0; max-width: 540px; font-size: clamp(36px,3.8vw,54px); font-weight: 750; line-height: 1.04; letter-spacing: -.055em; text-transform: none; color: #0b0d13; }
#calculator .sg-est-lead { max-width: 455px; margin: 20px 0 22px; color: #626b79; font-size: 17px; line-height: 1.5; }
#calculator .sg-est-benefits { display: flex; flex-wrap: wrap; gap: 24px; }
#calculator .sg-est-benefits span { display: flex; align-items: center; gap: 11px; font-size: 13px; line-height: 1.4; font-weight: 600; }
#calculator .sg-est-benefits img { width: 30px; height: 30px; object-fit: contain; }
#calculator .sg-est-project { position: relative; min-height: 260px; flex: 1; margin: 0; border-radius: 14px; overflow: hidden; background: #e1e5e7; }
#calculator .sg-est-project>img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
#calculator .sg-est-project figcaption { position: absolute; left: 16px; bottom: 16px; padding: 9px 12px; color: #222a32; background: rgba(255,255,255,.92); border-radius: 6px; font-size: 11px; font-weight: 600; }
#calculator .sg-est-panel { min-width: 0; padding: 26px; border: 1px solid #e7e9ef; border-radius: 16px; background: #fff; box-shadow: 0 12px 32px #293b5910; }
#calculator .sg-est-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 23px; }
#calculator .sg-est-panel-head>span { color: #626b7a; font-size: 10px; letter-spacing: .2em; font-weight: 700; }
#calculator .sg-est-panel-head small { font-size: 12px; color: #626b7a; }
#calculator .sg-est-field { min-width: 0; border: 0; padding: 0; margin: 0 0 22px; }
#calculator .sg-est-field legend { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 0; color: #171a24; font-size: 16px; line-height: 24px; font-weight: 700; }
#calculator .sg-est-step { display: inline-grid; place-items: center; flex: 0 0 23px; width: 23px; height: 23px; background: #1b2030; border-radius: 50%; color: #fff; font-weight: 500; font-size: 12px; }
#calculator .sg-est-objects { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
#calculator .sg-est-object,#calculator .sg-est-film { position: relative; margin: 0; min-width: 0; cursor: pointer; display: block; }
#calculator .sg-est-object input,#calculator .sg-est-film input,.sg-est-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#calculator .sg-est-object>span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 66px; padding: 8px; border: 1px solid #e5e7ee; border-radius: 8px; background: #fff; transition: border-color .15s,background .15s; }
#calculator .sg-est-object strong { font-size: 14px; font-weight: 600; }
#calculator .sg-est-object img { flex: 0 0 24px; width: 24px; height: 24px; }
#calculator .sg-est-object input:checked+span,#calculator .sg-est-film input:checked+.sg-est-film-face { border-color: #51596e; background: #f1f2f5; box-shadow: inset 0 0 0 1px #51596e; }
#calculator .sg-est-object:hover>span,#calculator .sg-est-film:hover .sg-est-film-face { border-color: #7b8498; }
#calculator input:focus-visible+span,#calculator a:focus-visible,#calculator #sg-est-range:focus-visible,#calculator .sg-est-number:focus-within { outline: 3px solid #829aca; outline-offset: 3px; }
#calculator .sg-est-area-row { display: grid; grid-template-columns: minmax(0,1fr) 108px; gap: 25px; align-items: center; padding: 7px 0 0; }
#calculator .sg-est-slider { min-width: 0; }
#calculator #sg-est-range { display: block; width: 100%; height: 26px; min-height: 26px; padding: 0; margin: 0; accent-color: #262c3e; background: transparent; border: 0; box-shadow: none; cursor: pointer; }
#calculator .sg-est-scale { display: flex; justify-content: space-between; color: #626b7a; font-size: 10px; line-height: 1.4; margin-top: 3px; }
#calculator .sg-est-number { display: flex; flex-direction: row; align-items: center; gap: 4px; padding: 8px 10px; height: 50px; border: 1px solid #dadde6; border-radius: 8px; background: #fff; }
#calculator #sg-est-area { min-width: 0; width: 100%; height: 32px; min-height: 32px; padding: 0; margin: 0; border: 0; border-radius: 0; outline: 0; box-shadow: none; color: #161b27; background: transparent; font: inherit; font-weight: 650; font-size: 18px; text-align: center; appearance: textfield; }
#calculator #sg-est-area::-webkit-inner-spin-button,#calculator #sg-est-area::-webkit-outer-spin-button { appearance: none; margin: 0; }
#calculator .sg-est-number>span:last-child { color: #6c7484; font-size: 14px; }
#calculator .sg-est-area-help { color: #626b7a; font-size: 11px; line-height: 1.45; margin: 9px 0 0; }
#calculator .sg-est-number:has([aria-invalid="true"]) { border-color: #ac4242; }
#calculator .sg-est-films { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
#calculator .sg-est-film-face { display: flex; flex-direction: column; height: 100%; padding: 7px; border: 1px solid #e5e7ee; border-radius: 9px; background: #fff; transition: border-color .15s,background .15s; }
#calculator .sg-est-film-photo { display: block; width: 100%; height: 76px; border-radius: 5px; object-fit: cover; object-position: center; }
#calculator .sg-est-film:first-child .sg-est-film-photo { object-position: center 32%; }
#calculator .sg-est-film-copy { display: block; padding: 8px 3px 4px; }
#calculator .sg-est-film-copy strong { display: block; color: #131722; font-weight: 700; font-size: 14px; line-height: 1.3; letter-spacing: -.025em; }
#calculator .sg-est-film-copy small { display: block; margin-top: 4px; color: #626b7a; font-size: 12px; line-height: 1.35; }
#calculator .sg-est-film-extra { grid-column: span 2; }
#calculator .sg-est-film-extra .sg-est-film-face { flex-direction: row; align-items: center; gap: 10px; min-height: 63px; }
#calculator .sg-est-film-extra .sg-est-film-photo { width: 55px; height: 48px; }
#calculator .sg-est-film-extra .sg-est-film-copy { padding: 0; }
#calculator .sg-est-budget .sg-est-film-face>img { width: 30px; height: 30px; margin: 0 9px; }
#calculator .sg-est-result { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; gap: 16px; padding: 17px; border-radius: 11px; background: #f3f4f6; }
#calculator .sg-est-price { min-width: 0; }
#calculator #sg-est-price-label { display: block; color: #414a5f; font-size: 13px; line-height: 1.4; }
#calculator #sg-est-total { display: block; margin: 3px 0 5px; color: #090c13; font-size: clamp(29px,2.7vw,42px); font-weight: 750; line-height: 1.05; letter-spacing: -.055em; white-space: nowrap; }
#calculator #sg-est-total.sg-est-text-total { font-size: 23px; white-space: normal; line-height: 1.12; }
#calculator #sg-est-breakdown { display: block; font-size: 10px; line-height: 1.5; color: #626b7a; }
#calculator .sg-est-actions { display: grid; gap: 7px; }
#calculator .sg-est-actions a { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 9px 10px; min-height: 45px; margin: 0; border-radius: 8px; text-align: center; text-decoration: none; font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
#calculator #sg-est-whatsapp { background: #252a32; color: #fff; border: 1px solid #252a32; box-shadow: 0 3px 7px #161d2812; }
#calculator #sg-est-whatsapp:hover { background: #3b424f; }
#calculator #sg-est-whatsapp img { width: 20px; height: 20px; flex: 0 0 20px; }
#calculator #sg-est-whatsapp img:last-child { width: 15px; height: 15px; flex: 0 0 15px; filter: invert(1); }
#calculator #sg-est-whatsapp[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
#calculator .sg-est-call { border: 1px solid #bec4cf; color: #232b3d; background: #fff; }
#calculator .sg-est-call:hover { background: #e9edf4; }
#calculator .sg-est-call img { width: 19px; height: 19px; }
#calculator .sg-est-disclaimer { margin: 12px 0 0; color: #626b7a; font-size: 10px; line-height: 1.55; }
@media(min-width:1450px) { #calculator.sg-estimate { width: calc(100% - 80px); } }
@media(max-width:1450px) { #calculator.sg-estimate { margin-left: 30px; margin-right: 30px; } }
@media(max-width:1150px) {
 #calculator .sg-est-shell { grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); padding: 20px; gap: 20px; }
 #calculator .sg-est-panel { padding: 20px; }
 #calculator .sg-est-intro { padding: 14px 4px 22px; }
 #calculator #sg-est-title { font-size: 39px; }
 #calculator .sg-est-lead { font-size: 15px; }
 #calculator .sg-est-benefits { gap: 16px; }
 #calculator .sg-est-result { grid-template-columns: 1fr; gap: 12px; }
 #calculator .sg-est-price { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; }
 #calculator #sg-est-total { grid-column: 2; grid-row: 1 / 3; font-size: 35px; }
 #calculator .sg-est-actions { grid-template-columns: 1.15fr 1fr; }
}
@media(max-width:900px) {
 #calculator.sg-estimate { margin: 30px 20px; }
 #calculator .sg-est-shell { grid-template-columns: 1fr; padding: 22px; }
 #calculator .sg-est-story { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
 #calculator .sg-est-intro { padding: 8px 0; }
 #calculator #sg-est-title { font-size: 38px; }
 #calculator .sg-est-lead { margin: 15px 0; }
 #calculator .sg-est-project { min-height: 280px; }
 #calculator .sg-est-project figcaption { font-size: 10px; left: 10px; bottom: 10px; }
 #calculator .sg-est-panel { padding: 25px; }
 #calculator .sg-est-film-photo { height: 100px; }
 #calculator .sg-est-result { grid-template-columns: .9fr 1.1fr; }
 #calculator .sg-est-price { display: block; }
 #calculator .sg-est-actions { grid-template-columns: 1fr; }
}
@media(max-width:600px) {
 #calculator.sg-estimate { margin: 28px 10px; border-radius: 18px; scroll-margin-top: 78px; }
 #calculator .sg-est-shell { padding: 14px; gap: 20px; }
 #calculator .sg-est-story { display: block; }
 #calculator .sg-est-intro { padding: 9px 4px 18px; }
 #calculator .sg-est-eyebrow { margin-bottom: 12px; font-size: 9px; }
 #calculator #sg-est-title { font-size: 36px; max-width: 380px; }
 #calculator .sg-est-lead { font-size: 15px; line-height: 1.5; margin: 14px 0 16px; }
 #calculator .sg-est-benefits { gap: 26px; }
 #calculator .sg-est-benefits span { font-size: 12px; }
 #calculator .sg-est-project { min-height: 190px; height: 190px; border-radius: 10px; }
 #calculator .sg-est-project>img { object-position: center 62%; }
 #calculator .sg-est-panel { padding: 17px 13px; border-radius: 12px; }
 #calculator .sg-est-panel-head { margin-bottom: 20px; }
 #calculator .sg-est-panel-head>span { font-size: 9px; }
 #calculator .sg-est-panel-head small { font-size: 11px; }
 #calculator .sg-est-objects { gap: 6px; }
 #calculator .sg-est-object>span { flex-direction: column; height: 76px; gap: 7px; padding: 8px 2px; }
 #calculator .sg-est-object strong { font-size: 10px; }
 #calculator .sg-est-field { margin-bottom: 23px; }
 #calculator .sg-est-field legend { font-size: 13px; gap: 8px; }
 #calculator .sg-est-area-row { grid-template-columns: minmax(0,1fr) 83px; gap: 14px; }
 #calculator .sg-est-number { padding: 8px 5px; }
 #calculator .sg-est-scale { font-size: 9px; }
 #calculator .sg-est-films { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
 #calculator .sg-est-film-face { padding: 6px; }
 #calculator .sg-est-film-photo { height: 85px; }
 #calculator .sg-est-film-copy { padding: 8px 3px 5px; }
 #calculator .sg-est-film-copy strong { font-size: 13px; }
 #calculator .sg-est-film-copy small { font-size: 11px; }
 #calculator .sg-est-film-extra { grid-column: span 1; }
 #calculator .sg-est-film-extra .sg-est-film-face { flex-direction: column; align-items: stretch; gap: 0; }
 #calculator .sg-est-film-extra .sg-est-film-photo { width: 100%; height: 85px; }
 #calculator .sg-est-film-extra .sg-est-film-copy { padding: 8px 3px 5px; }
 #calculator .sg-est-budget .sg-est-film-face { justify-content: center; align-items: center; text-align: center; }
 #calculator .sg-est-budget .sg-est-film-face>img { width: 32px; height: 32px; margin: 14px 0; }
 #calculator .sg-est-result { grid-template-columns: 1fr; padding: 15px; gap: 15px; }
 #calculator #sg-est-total { font-size: 39px; margin: 5px 0 6px; }
 #calculator #sg-est-total.sg-est-text-total { font-size: 29px; }
 #calculator #sg-est-breakdown { font-size: 11px; }
 #calculator .sg-est-actions a { min-height: 48px; font-size: 12px; padding: 10px 7px; }
 #calculator .sg-est-disclaimer { font-size: 11px; }
}
