/* ── CALCULATOR SECTION ── */
.calculator-section {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.calculator-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.calculator-header {
  margin-bottom: 48px;
}

.calc-headline {
  font-size: 52px;
  color: var(--cream);
  margin-bottom: 12px;
}

.calc-sub {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  max-width: 480px;
}

/* ── CALCULATOR CARD ── */
.calc-card {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 48px;
  max-width: 680px;
}

.calc-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 40px 0;
}

.calc-pending-icon {
  font-size: 40px;
  color: var(--orange);
}

.calc-pending-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.calc-pending-text {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 360px;
  line-height: 1.6;
}

/* ── CALCULATOR FORM ── */
.calc-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calc-row.full {
  grid-template-columns: 1fr;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.calc-select,
.calc-input {
  background: var(--bg-3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.calc-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8580' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.calc-select:focus,
.calc-input:focus {
  border-color: var(--orange);
}

.calc-select option {
  background: var(--bg-3);
  color: var(--cream);
}

/* ── RESULT ── */
.calc-result {
  margin-top: 8px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.calc-result-header {
  background: var(--bg-3);
  padding: 28px 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.calc-price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-price-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.calc-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: var(--orange);
  line-height: 1;
  letter-spacing: 0.04em;
}

.calc-per-unit {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
}

.calc-breakdown-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.calc-breakdown-toggle:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
}

.calc-breakdown {
  background: rgba(0,0,0,0.2);
  padding: 20px 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: none;
}

.calc-breakdown.visible {
  display: block;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  padding: 5px 0;
  font-family: 'DM Sans', sans-serif;
}

.calc-breakdown-row span:last-child {
  color: var(--cream);
  font-weight: 400;
}

.calc-breakdown-row.total {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 500;
  color: var(--cream);
}

/* ── NEEDS QUOTE STATE ── */
.calc-needs-quote {
  background: var(--bg-3);
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.calc-quote-icon {
  font-size: 36px;
  color: var(--orange);
}

.calc-quote-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.calc-quote-text {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 320px;
  line-height: 1.6;
}

.calc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  margin-top: 8px;
}

.calc-cta:hover {
  background: var(--orange-dim);
}

/* ── SUBMIT / GET PRICE BTN ── */
.calc-submit {
  width: 100%;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.04em;
}

.calc-submit:hover {
  background: var(--orange-dim);
}

.calc-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .calculator-section { padding: 80px 0; }
  .calc-headline { font-size: 36px; }
  .calc-card { padding: 32px 24px; }
  .calc-row { grid-template-columns: 1fr; }
  .calc-price { font-size: 42px; }
  .calculator-inner { padding: 0 20px; }
}

@media (max-width: 480px) {
  .calc-result-header { flex-direction: column; align-items: flex-start; }
  .calc-breakdown-toggle { align-self: flex-start; }
}