
/* =========================================================
   QDS / QDV V2
   Unified green accent. Individual parameter dots stay fixed.
   ========================================================= */

:root{
  --qds-green:#7FD7A8;
  --qds-green-soft:rgba(127,215,168,.10);
  --qds-green-line:rgba(127,215,168,.42);

  --qds-brand:#9BB59D;
  --qds-memory:#E6C65C;
  --qds-commercial:#5DDCFF;
  --qds-future:#A78BFA;
  --qds-extension:#60A5FA;
  --qds-seo:#F59E0B;
  --qds-resale:#C98678;
}

.valuation-section{
  position:relative;
  padding-top:60px;
}

.valuation-section::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--qds-green-line),transparent);
}

.qds-heading{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.qds-heading h2{
  margin-bottom:0;
}

.qds-badge-lg{
  display:inline-flex;
  align-items:baseline;
  gap:8px;
  padding:8px 12px;
  border:1px solid var(--qds-green-line);
  border-radius:999px;
  background:var(--qds-green-soft);
  color:var(--qds-green);
  font-weight:800;
}

.qds-badge-lg strong{
  font-size:21px;
}

.qds-class{
  color:#d1d5db;
  font-size:13px;
}

.qds-grid{
  display:grid;
  grid-template-columns:minmax(330px,.9fr) minmax(0,1.1fr);
  gap:30px;
  align-items:center;
}

.radar-wrap{
  padding:14px;
}

.radar-svg{
  display:block;
  width:100%;
  height:auto;
  max-width:500px;
  margin:0 auto;
}

.radar-grid{
  fill:none;
  stroke:rgba(203,213,225,.15);
  stroke-width:1;
}

.radar-axis{
  stroke:rgba(203,213,225,.15);
  stroke-width:1;
}

.radar-polygon{
  fill:rgba(127,215,168,.10);
  stroke:var(--qds-green);
  stroke-width:2.2;
}

.radar-point{
  stroke:#101722;
  stroke-width:2;
}

.radar-label{
  fill:#d1d5db;
  font-size:12px;
  font-weight:700;
}

.radar-score-text{
  fill:#9ca3af;
  font-size:11px;
  font-weight:600;
}

.qds-table{
  width:100%;
  border-collapse:collapse;
}

.qds-table th,
.qds-table td{
  padding:12px 10px;
  text-align:left;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.qds-table th{
  color:#24352d;
  background:#9BB59D;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.qds-table td{
  color:#d1d5db;
  font-size:14px;
}

.qds-table td:last-child,
.qds-table th:last-child{
  text-align:right;
}

.param-label{
  display:flex;
  align-items:center;
  gap:9px;
}

.param-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  flex:0 0 9px;
}

.param-brand{background:var(--qds-brand);}
.param-memory{background:var(--qds-memory);}
.param-commercial{background:var(--qds-commercial);}
.param-future{background:var(--qds-future);}
.param-extension{background:var(--qds-extension);}
.param-seo{background:var(--qds-seo);}
.param-resale{background:var(--qds-resale);}

.qds-note{
  margin-top:14px;
  color:#7f8b80;
  font-size:12px;
  line-height:1.65;
}

.qdv-block{
  position:relative;
  margin-top:48px;
  padding-top:34px;
}

.qdv-block::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--qds-green-line),transparent);
}

.qdv-title{
  color:var(--qds-green);
}

.qdv-card{
  padding:24px;
}

.qdv-card .label{
  color:#7fd7a8;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.10em;
}

.qdv-card .value{
  margin-top:8px;
  color:var(--qds-green);
  font-size:26px;
  font-weight:800;
}

.qdv-card p{
  color:#aab7ae;
  font-size:13px;
  line-height:1.7;
}

@media(max-width:900px){
  .qds-grid{grid-template-columns:1fr;}
}

@media(max-width:540px){
  .radar-wrap{padding:8px;}
  .qds-table th:nth-child(3),
  .qds-table td:nth-child(3){display:none;}
  .qds-heading{
    align-items:flex-start;
  }
}

.qds-table thead th:first-child{
  border-radius:8px 0 0 8px;
}
.qds-table thead th:last-child{
  border-radius:0 8px 8px 0;
}


/* V4 hard override — sage table header */
.qds-table thead th{
  background:#9BB59D !important;
  color:#24352D !important;
  border-bottom-color:#9BB59D !important;
}


/* V5 — QDV visible calculation */
.qdv-summary-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-top:18px;
}
.qdv-calculation{
  margin-top:18px;
  padding:22px 24px;
  border:1px solid rgba(127,215,168,.26);
  border-radius:16px;
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.qdv-calc-title{
  color:var(--qds-green);
  font-size:12px;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
  margin-bottom:10px;
}
.qdv-formula{
  color:#e5e7eb;
  font-size:17px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.qdv-steps{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:15px;
}
.qdv-steps span{
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(127,215,168,.20);
  background:rgba(127,215,168,.07);
  color:#cbd5e1;
  font-size:12px;
}
.qdv-steps .qdv-result{
  color:var(--qds-green);
  font-weight:800;
}
@media(max-width:700px){
  .qdv-summary-grid{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   QDS / QDV V7 — production detail additions
   ========================================================= */
.valuation-method-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-top:16px;
}
.valuation-method-links a{
  color:#5ddcff;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
}
.valuation-method-links a:hover{text-decoration:underline;}

.qdv-band-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-top:18px;
}
.qdv-band-item{
  min-width:0;
  padding:13px 12px;
  border:1px solid rgba(127,215,168,.18);
  border-radius:12px;
  background:rgba(127,215,168,.055);
}
.qdv-band-item strong{
  display:block;
  margin-top:5px;
  color:#e5e7eb;
  font-size:14px;
  overflow-wrap:anywhere;
}
.qdv-band-item span{
  color:#9BB59D;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.qdv-band-item.is-q50{
  border-color:rgba(224,184,79,.45);
  background:rgba(224,184,79,.075);
}
.qdv-band-item.is-q50 span,
.qdv-band-item.is-q50 strong{color:#E0B84F;}
.qdv-regime{
  margin-top:14px;
  color:#9ca3af;
  font-size:12px;
  line-height:1.6;
}
.qdv-regime strong{color:#cbd5e1;}

.offer-card .offer-subline{
  display:block;
  margin-top:7px;
  color:#9ca3af;
  font-size:12px;
  line-height:1.55;
}

.site-footer .footer-links a{white-space:nowrap;}

@media(max-width:760px){
  .qdv-band-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .qdv-band-item.is-q50{grid-column:1 / -1;}
}
