/* SAVANNA — Documento de cotización (PDF / impresión / enlace) */
@font-face{font-family:'SV Jakarta';font-weight:400;font-display:block;src:url(../fonts/plus-jakarta-sans-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'SV Jakarta';font-weight:600;font-display:block;src:url(../fonts/plus-jakarta-sans-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'SV Jakarta';font-weight:700;font-display:block;src:url(../fonts/plus-jakarta-sans-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'SV Jakarta';font-weight:800;font-display:block;src:url(../fonts/plus-jakarta-sans-latin-800-normal.woff2) format('woff2')}
.qdoc{width:215.9mm;height:279mm;overflow:hidden;position:relative;flex-direction:column;background:#FBFAF6;color:#0F3F42;font-family:'SV Jakarta','Plus Jakarta Sans',system-ui,sans-serif;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.qd-hero{position:relative;height:66mm;flex-shrink:0;overflow:hidden;color:#fff}
.qd-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-width:none}
.qd-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,79,83,.92) 0%,rgba(15,79,83,.55) 48%,rgba(15,79,83,.1) 100%),linear-gradient(0deg,rgba(15,79,83,.7),transparent 45%)}
.qd-logo{position:absolute;left:14mm;top:11mm;width:46mm;height:auto}
.qd-tag{position:absolute;right:14mm;top:12mm;text-align:right;background:rgba(255,255,255,.95);color:#0F3F42;border-radius:3mm;padding:3.5mm 5mm}
.qd-tag small{display:block;font-size:6.5pt;letter-spacing:.2em;text-transform:uppercase;font-weight:700;color:#A8864F}
.qd-tag b{display:block;font-size:15pt;font-weight:800;margin:.6mm 0}
.qd-tag span{font-size:7.5pt;font-weight:600;color:#3D6E72}
.qd-tag i{font-style:normal}
.qd-claim{position:absolute;left:14mm;bottom:10mm;font-size:15pt;font-weight:800;letter-spacing:-.01em;max-width:120mm;line-height:1.12}
.qd-claim em{font-style:normal;color:#E3C88F}
.qd-client{display:flex;justify-content:space-between;align-items:stretch;min-height:0;gap:6mm;margin:-7mm 14mm 0;position:relative;z-index:2}
.qd-client>div{background:#fff;border-radius:3mm;padding:3.2mm 5mm;box-shadow:0 1mm 4mm rgba(15,63,66,.12);flex:1}
.qd-client small,.qd-k{display:block;font-size:6.8pt;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:#A8864F}
.qd-client b{display:block;font-size:11.5pt;font-weight:800;margin:1mm 0 .5mm}
.qd-client span{font-size:8pt;font-weight:600;color:#3D6E72}
.qd-vig{flex:0 0 72mm!important;background:#17666B!important;color:#fff}
.qd-vig small{color:#E3C88F}.qd-vig span{color:#CFE7E9}
.qd-main{display:grid;grid-template-columns:1.15fr .85fr;gap:5mm;margin:5mm 14mm 0}
.qd-card{background:#fff;border-radius:3mm;padding:5mm;border:.3mm solid #E4ECEC}
.qd-lote{display:flex;align-items:baseline;gap:3mm;margin-top:1.5mm}
.qd-lote b{font-size:14pt;font-weight:800}.qd-lote span{font-size:8pt;font-weight:600;color:#3D6E72}
.qd-price{margin:2mm 0 2.5mm;padding-bottom:2.5mm;border-bottom:.3mm solid #E4ECEC}
.qd-price b{display:block;font-size:21pt;font-weight:800;letter-spacing:-.02em;color:#17666B}
.qd-price span{font-size:8.5pt;font-weight:700;color:#A8864F}
.qd-rows .sim-row{display:flex;justify-content:space-between;padding:1.4mm 0;border-bottom:.25mm dashed #DCE6E6;font-size:8.8pt}
.qd-rows .sim-row span{color:#3D6E72;font-weight:600}
.qd-rows .sim-row strong{font-weight:800;color:#0F3F42}
.qd-rows .sim-row.hl strong{color:#17666B;font-size:10pt}
.qd-dark{background:#17666B;border-color:#17666B;color:#fff;display:flex;flex-direction:column}
.qd-dark .qd-k{color:#E3C88F}
.qd-bars{flex:1;display:flex;align-items:flex-end;gap:1.4mm;margin-top:3mm;min-height:36mm}
.qd-bar{flex:1 1 0;min-width:0;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;text-align:center}
.qd-bar b{font-size:6pt;white-space:nowrap;font-weight:800;margin-bottom:1mm}
.qd-bar i{display:block;width:100%;border-radius:1.2mm 1.2mm .3mm .3mm;background:#4FB3BA}
.qd-bar.now i{background:#E3C88F}.qd-bar.now b{color:#E3C88F}
.qd-bar span{font-size:6pt;white-space:nowrap;font-weight:600;line-height:1.15;margin-top:1.2mm;color:#CFE7E9;min-height:5mm}
.qd-mini{font-size:6.3pt;color:#CFE7E9;margin-top:3mm;font-weight:600}
.qd-photos{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:3mm;margin:5mm 14mm 0}
.qd-photos figure{margin:0;position:relative;height:34mm;border-radius:3mm;overflow:hidden}
.qd-photos img{width:100%;height:100%;object-fit:cover;max-width:none}
.qd-photos figcaption{position:absolute;left:0;right:0;bottom:0;padding:5mm 3mm 2mm;background:linear-gradient(transparent,rgba(15,63,66,.85));color:#fff;font-size:7.5pt;font-weight:700}
.qd-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:3mm;margin:4mm 14mm 4mm}
.qd-facts div{border-top:.5mm solid #C8A76C;padding-top:2mm}
.qd-facts b{display:block;font-size:11pt;font-weight:800;color:#17666B}
.qd-facts span{font-size:7.5pt;font-weight:600;color:#3D6E72}
.qd-foot{margin-top:auto;flex-shrink:0;padding-top:4mm!important;padding-bottom:4mm!important;background:#0F4F53;color:#fff;padding:5mm 14mm;display:grid;grid-template-columns:auto 1fr;gap:8mm;align-items:center}
.qd-contact small{display:block;font-size:6.5pt;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:#E3C88F}
.qd-contact b{display:block;font-size:12pt;font-weight:800;margin:.6mm 0}
.qd-contact span{font-size:7pt;font-weight:600;color:#CFE7E9}
.qd-foot p{font-size:6.2pt;line-height:1.45;color:#CFE7E9;font-weight:600}
.qd-next{margin:0 14mm 5mm;background:#fff;border:.3mm solid #E4ECEC;border-radius:3mm;padding:4mm 5mm}
.qd-next-g{display:grid;grid-template-columns:repeat(3,1fr);gap:4mm;margin-top:2.5mm}
.qd-next-g div{display:grid;grid-template-columns:auto 1fr;column-gap:2.5mm;align-items:start}
.qd-next-g i{grid-row:span 2;width:7mm;height:7mm;border-radius:50%;background:#17666B;color:#fff;font-style:normal;font-weight:800;font-size:9pt;display:grid;place-items:center}
.qd-next-g b{font-size:9pt;font-weight:800;color:#0F3F42}
.qd-next-g span{font-size:7.5pt;font-weight:600;color:#3D6E72}
/* Ajustes para el PDF descargado (html2canvas) */
.qdoc.cap .qd-hero{height:58mm}
.qdoc.cap .qd-client{margin-top:4mm}
.qdoc.cap .qd-client>div{box-shadow:none;border:.3mm solid #E4ECEC}
.qdoc.cap .qd-client>.qd-vig{border-color:#17666B}
.qdoc.cap .qd-client{display:grid;grid-template-columns:1fr 72mm;height:24mm}
.qdoc.cap .qd-client>div{height:24mm;overflow:hidden}
.qdoc>*{flex-shrink:0}
.qdoc.cap .qd-client,.qdoc.cap .qd-client>div{height:26mm}
/* Compactación para que todo quepa en una hoja carta */
.qd-hero{height:60mm}
.qdoc.cap .qd-hero{height:54mm}
.qd-main{margin-top:4mm}
.qd-card{padding:4mm 5mm}
.qd-price{margin:1.5mm 0 2mm;padding-bottom:2mm}
.qd-rows .sim-row{padding:1.1mm 0}
.qd-bars{min-height:26mm;margin-top:2.5mm}
.qd-photos{margin-top:4mm}
.qd-photos figure{height:28mm}
.qd-facts{margin:3.5mm 14mm 3.5mm}
.qd-facts b{font-size:10pt}
.qd-next{margin:0 14mm 4mm;padding:3mm 5mm}
.qd-next-g{margin-top:2mm}
