/* Satellite Dish Alignment Calculator — ValSolution */
.sda-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.sda-hero {
  background: linear-gradient(135deg, #0b132b 0%, #1c2541 55%, #0f4c5c 100%);
  color: #f8fafc;
  border-radius: 18px;
  padding: 28px 28px 24px;
  margin-bottom: 22px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}
.sda-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
  margin-bottom: 10px;
}
.sda-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 1.22;
  color: #ffffff;
}
.sda-hero p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.98rem;
  max-width: 790px;
  line-height: 1.55;
}

.sda-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.sda-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.sda-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.sda-field input,
.sda-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.92rem;
  color: #0f172a;
  background: #ffffff;
}
.sda-field input:focus,
.sda-field select:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
}
.sda-inline-row {
  display: flex;
  gap: 8px;
}
.sda-inline-row input { flex: 1; }
.sda-inline-row select { width: 82px; flex: none; }

.sda-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}
.sda-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sda-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sda-btn:hover { background: #f1f5f9; border-color: #94a3b8; }
.sda-btn-primary {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}
.sda-btn-primary:hover { background: #0369a1; border-color: #0369a1; }
.sda-btn-dark {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}
.sda-btn-dark:hover { background: #1e293b; border-color: #1e293b; }

.sda-status {
  margin-top: 10px;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  display: none;
}
.sda-status.show { display: block; }
.sda-status.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.sda-status.warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.sda-status.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.sda-results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.sda-kpi {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
}
.sda-kpi-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 4px;
}
.sda-kpi-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.sda-kpi-val.sky { color: #0284c7; }
.sda-kpi-val.teal { color: #0d9488; }
.sda-kpi-val.amber { color: #b45309; }
.sda-kpi-sub {
  font-size: 0.78rem;
  color: #475569;
  margin-top: 4px;
}

.sda-dials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.sda-dial-card {
  background: #0f172a;
  color: #f8fafc;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}
.sda-dial-card h3 {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: #e2e8f0;
}
.sda-dial-svg {
  width: 100%;
  max-width: 210px;
  height: auto;
  display: block;
  margin: 0 auto 8px;
}
.sda-dial-note {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
}

.sda-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.sda-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.sda-table th,
.sda-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}
.sda-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #334155;
}
.sda-table tr.active-row {
  background: #e0f2fe;
  font-weight: 700;
}
.sda-table tr:hover {
  background: #f8fafc;
}
.sda-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}
.sda-pill.vis { background: #ccfbf1; color: #115e59; }
.sda-pill.low { background: #fef3c7; color: #92400e; }
.sda-pill.hid { background: #fee2e2; color: #991b1b; }

/* SEO Sections */
.sda-seo {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.sda-seo h2 {
  margin: 0 0 10px;
  font-size: 1.24rem;
  color: #0f172a;
}
.sda-seo p, .sda-seo li {
  color: #334155;
  line-height: 1.65;
  font-size: 0.94rem;
}
.sda-benefits-grid,
.sda-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.sda-benefit,
.sda-related-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
}
.sda-benefit h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: #0f172a;
}
.sda-benefit p { margin: 0; font-size: 0.86rem; }
.sda-related-card {
  display: block;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.sda-related-card:hover { border-color: #0284c7; transform: translateY(-2px); }
.sda-related-card strong { display: block; color: #0f172a; margin-bottom: 4px; font-size: 0.94rem; }
.sda-related-card span { display: block; color: #64748b; font-size: 0.83rem; line-height: 1.45; }

.sda-faq details {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #f8fafc;
}
.sda-faq summary {
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  font-size: 0.93rem;
}
.sda-faq details p { margin: 8px 0 0; font-size: 0.89rem; }

@media (max-width: 900px) {
  .sda-form-grid,
  .sda-dials-grid,
  .sda-benefits-grid,
  .sda-related-grid {
    grid-template-columns: 1fr;
  }
  .sda-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .sda-results-grid { grid-template-columns: 1fr; }
  .sda-hero { padding: 22px 18px; }
}
