:root {
  --d-navy: #0f172a;
  --d-navy-700: #334155;
  --d-orange: #ea580c;
  --d-orange-600: #c2410c;
  --d-orange-100: #ffedd5;
  --d-orange-50: #fff7ed;
  --d-bg: #f8fafc;
  --d-white: #ffffff;
  --d-text: #1f2937;
  --d-muted: #64748b;
  --d-border: #e2e8f0;
  --d-success: #10b981;
  --d-success-100: #d1fae5;
  --d-radius: 16px;
  --d-radius-sm: 12px;
  --d-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1);
  --d-shadow-lg: 0 20px 50px -15px rgba(15, 23, 42, 0.15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--d-bg);
  color: var(--d-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.d-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--d-navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
}
.d-skip-link:focus { left: 0; }

.d-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */
.d-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--d-border);
}
.d-header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.d-brand img {
  height: 34px;
  width: auto;
  display: block;
}
.d-nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.d-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--d-navy-700);
  text-decoration: none;
  transition: color 0.2s;
}
.d-nav a:hover { color: var(--d-navy); }

.d-header-cta {
  display: none;
}

@media (min-width: 768px) {
  .d-nav { display: flex; }
  .d-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--d-orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 11px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 16px -6px rgba(234, 88, 12, 0.45);
  }
  .d-header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -6px rgba(234, 88, 12, 0.55);
  }
}

/* ---------- buttons ---------- */
.d-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #f97316, var(--d-orange));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px -8px rgba(234, 88, 12, 0.45);
  text-decoration: none;
}
.d-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(234, 88, 12, 0.55);
}
.d-btn-primary:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.d-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  color: var(--d-navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 24px;
  border: 1.5px solid var(--d-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.d-btn-outline:hover {
  border-color: var(--d-orange);
  color: var(--d-orange-600);
  background: var(--d-orange-50);
}

.d-btn-large {
  font-size: 1.05rem;
  padding: 18px 32px;
}

.d-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent;
  color: var(--d-navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 20px;
  border: 1.5px solid var(--d-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.d-btn-ghost:hover {
  background: rgba(15, 23, 42, 0.04);
}

/* ---------- hero ---------- */
.d-hero {
  padding: 50px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, var(--d-bg) 100%);
}
.d-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 992px) {
  .d-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
  }
}

.d-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--d-orange-600);
  background: var(--d-orange-100);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.d-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--d-orange);
  animation: dPulse 2s infinite;
}
@keyframes dPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.25); }
}

.d-hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--d-navy);
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}
.d-hero-copy h1 em {
  color: var(--d-orange);
  font-style: normal;
}
.d-hero-lead {
  font-size: 1.05rem;
  color: var(--d-muted);
  max-width: 520px;
  margin: 0 0 26px;
}

/* form */
.d-hero-form {
  background: var(--d-white);
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius);
  padding: 22px;
  box-shadow: var(--d-shadow);
  margin-bottom: 22px;
}
.d-hero-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--d-navy-700);
  margin-bottom: 10px;
}
.d-hero-form input[type="text"],
.d-hero-form input[type="tel"] {
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  border: 1.5px solid var(--d-border);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--d-text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.d-hero-form input:focus {
  border-color: var(--d-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
}

.d-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.d-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--d-muted) !important;
  margin: 16px 0 !important;
}
.d-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--d-orange);
  flex: 0 0 auto;
}
.d-consent a {
  color: var(--d-navy);
  text-decoration: underline;
}

.d-error {
  color: #dc2626;
  font-size: 0.85rem;
  margin: 10px 0 0;
  min-height: 1.2em;
}

.d-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--d-border);
}
.d-hero-badges span {
  font-size: 0.82rem;
  color: var(--d-muted);
}

/* doc switch */
.d-doc-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  background: var(--d-orange-50);
  border: 1px solid #fed7aa;
  border-radius: 14px;
  margin-bottom: 16px;
}
.d-doc-switch button {
  border: 0;
  background: transparent;
  color: #9a3412;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.d-doc-switch button.is-active {
  background: linear-gradient(135deg, #f97316, var(--d-orange));
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(234, 88, 12, 0.8);
}
.d-doc-type-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  opacity: 0.75;
}

/* visual */
.d-hero-visual {
  display: flex;
  justify-content: center;
}
.d-report-card {
  width: 100%;
  max-width: 400px;
  background: var(--d-white);
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius);
  padding: 24px;
  box-shadow: var(--d-shadow-lg);
}
.d-report-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--d-border);
}
.d-report-card-header svg {
  flex: 0 0 auto;
}
.d-report-card-header strong {
  display: block;
  font-size: 0.95rem;
  color: var(--d-navy);
}
.d-report-card-header small {
  display: block;
  font-size: 0.72rem;
  color: var(--d-muted);
}
.d-report-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--d-success-100);
  color: #065f46;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.d-report-status svg {
  flex: 0 0 auto;
}
.d-report-lines > div {
  height: 10px;
  background: #e2e8f0;
  border-radius: 5px;
  margin-bottom: 10px;
}

/* ---------- sections ---------- */
.d-section {
  padding: 64px 0;
}
.d-section.d-white {
  background: var(--d-white);
}
.d-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.d-section-head h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--d-navy);
  margin: 0 0 12px;
  line-height: 1.2;
}
.d-section-head p {
  font-size: 1rem;
  color: var(--d-muted);
  margin: 0;
}

/* ---------- partners ---------- */
.d-partners {
  padding: 30px 0;
  background: var(--d-white);
  border-top: 1px solid var(--d-border);
  border-bottom: 1px solid var(--d-border);
}
.d-partners-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--d-muted);
  margin: 0 0 18px;
}
.d-partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.d-partners-logos span {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--d-navy-700);
  padding: 8px 14px;
  background: var(--d-bg);
  border-radius: 8px;
  border: 1px solid var(--d-border);
}

/* ---------- features ---------- */
.d-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .d-features {
    grid-template-columns: repeat(3, 1fr);
  }
}
.d-feature {
  background: var(--d-bg);
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.d-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--d-shadow);
  border-color: #d8dfe8;
}
.d-feature-ico {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.d-feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--d-navy);
  margin: 0 0 8px;
}
.d-feature p {
  font-size: 0.92rem;
  color: var(--d-muted);
  margin: 0;
}

/* ---------- price ---------- */
.d-price-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  background: var(--d-white);
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius);
  padding: 32px;
  box-shadow: var(--d-shadow);
}
.d-price-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--d-navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border-radius: 999px;
}
.d-price-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--d-border);
}
@media (min-width: 768px) {
  .d-price-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.d-price-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--d-navy);
  margin: 0 0 6px;
}
.d-price-header p {
  font-size: 0.95rem;
  color: var(--d-muted);
  margin: 0;
}
.d-price-value {
  text-align: left;
}
@media (min-width: 768px) {
  .d-price-value {
    text-align: right;
  }
}
.d-price-from {
  display: block;
  font-size: 0.85rem;
  color: var(--d-muted);
  margin-bottom: 2px;
}
.d-price-value strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--d-orange);
  line-height: 1;
}
.d-price-value span {
  display: block;
  font-size: 0.8rem;
  color: var(--d-muted);
  margin-top: 4px;
}
.d-price-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
@media (min-width: 600px) {
  .d-price-list {
    grid-template-columns: 1fr 1fr;
  }
}
.d-price-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: var(--d-navy-700);
}
.d-price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--d-success);
  font-weight: 700;
}

/* ---------- steps ---------- */
.d-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .d-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.d-step {
  background: var(--d-bg);
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius);
  padding: 28px;
}
.d-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--d-navy);
  color: var(--d-orange);
  font-size: 0.85rem;
  font-weight: 800;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.d-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--d-navy);
  margin: 0 0 8px;
}
.d-step p {
  font-size: 0.92rem;
  color: var(--d-muted);
  margin: 0;
}

/* ---------- report preview ---------- */
.d-report-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--d-bg) 100%);
}
.d-report-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .d-report-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}
.d-report-copy h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--d-navy);
  margin: 0 0 12px;
}
.d-report-copy p {
  color: var(--d-muted);
  margin: 0 0 22px;
}
.d-report-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.d-report-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--d-navy-700);
}
.d-report-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--d-success);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.d-faq-container {
  max-width: 800px;
}
.d-faq details {
  background: var(--d-white);
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.d-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  color: var(--d-navy);
  cursor: pointer;
  list-style: none;
}
.d-faq summary::-webkit-details-marker {
  display: none;
}
.d-faq-icon {
  font-size: 1.4rem;
  color: var(--d-orange);
  transition: transform 0.2s;
  line-height: 1;
}
.d-faq details[open] .d-faq-icon {
  transform: rotate(45deg);
}
.d-faq details p {
  padding: 0 20px 18px;
  margin: 0;
  font-size: 0.92rem;
  color: var(--d-muted);
}

/* ---------- final CTA ---------- */
.d-final {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--d-navy) 0%, #1e3a8a 100%);
  color: #fff;
}
.d-final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
@media (min-width: 768px) {
  .d-final-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.d-final h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  margin: 0 0 10px;
}
.d-final p {
  font-size: 1rem;
  opacity: 0.85;
  margin: 0;
}
.d-final p strong {
  color: var(--d-orange);
}
.d-final .d-btn-primary {
  flex: 0 0 auto;
  width: auto;
  min-width: 260px;
}

/* ---------- footer ---------- */
.d-footer {
  background: var(--d-white);
  border-top: 1px solid var(--d-border);
  padding: 40px 0;
  text-align: center;
}
.d-footer img {
  height: 32px;
  width: auto;
  margin-bottom: 12px;
}
.d-footer p {
  font-size: 0.9rem;
  color: var(--d-navy-700);
  margin: 0 0 6px;
}
.d-footer a {
  color: var(--d-navy);
  text-decoration: underline;
}
.d-muted {
  color: var(--d-muted);
}
.d-small {
  font-size: 0.8rem;
}

/* ---------- sticky CTA ---------- */
.d-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--d-white);
  border-top: 1px solid var(--d-border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}
.d-sticky-info strong {
  display: block;
  font-size: 0.85rem;
  color: var(--d-navy);
}
.d-sticky-info span {
  font-size: 0.75rem;
  color: var(--d-muted);
}
.d-sticky-cta .d-btn-primary {
  width: auto;
  padding: 12px 20px;
  font-size: 0.9rem;
}

/* ---------- payment / success ---------- */
.d-pay-view,
.d-success-view {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 40px;
  overflow-y: auto;
}
.d-pay-view[hidden],
.d-success-view[hidden] {
  display: none;
}

.d-card {
  width: 100%;
  max-width: 460px;
  background: var(--d-white);
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius);
  padding: 28px;
  box-shadow: var(--d-shadow-lg);
  position: relative;
}

.d-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--d-muted);
  cursor: pointer;
}

.d-pay-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--d-navy);
  margin: 0 0 6px;
}

.d-qr-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 24px auto;
  background: #fff;
  border: 1px solid var(--d-border);
  border-radius: 12px;
  padding: 12px;
}
.d-qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.d-qr-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--d-muted);
}

.d-amount-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--d-border);
  border-bottom: 1px solid var(--d-border);
  margin-bottom: 18px;
}
.d-amount-line strong {
  font-size: 1.4rem;
  color: var(--d-orange);
}

.d-copy-box {
  margin-bottom: 20px;
}
.d-copy-box span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--d-muted);
  margin-bottom: 6px;
}
.d-copy-box textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--d-border);
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--d-navy-700);
  resize: none;
  margin-bottom: 10px;
  font-family: monospace;
}

.d-pay-status,
.d-send-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: var(--d-bg);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--d-muted);
  margin-bottom: 16px;
}
.d-send-status.done {
  background: var(--d-success-100);
  color: #047857;
}
.d-send-status.fail {
  background: #fee2e2;
  color: #991b1b;
}

.d-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--d-border);
  border-top-color: var(--d-orange);
  border-radius: 50%;
  animation: dSpin 0.8s linear infinite;
}
@keyframes dSpin {
  to { transform: rotate(360deg); }
}

.d-demo-note {
  text-align: center;
  font-size: 0.8rem;
  color: #92400e;
  background: #fef3c7;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.d-success-card {
  text-align: center;
}
.d-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--d-success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}
.d-success-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--d-navy);
  margin: 0 0 8px;
}
.d-success-card .d-lead {
  margin: 0 0 20px;
}

.d-wa-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--d-bg);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  margin-bottom: 16px;
}
.d-wa-box strong {
  display: block;
  color: var(--d-navy);
}
.d-wa-box p {
  margin: 0;
}

/* ---------- modal ---------- */
.d-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.d-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.d-modal {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--d-white);
  border-radius: var(--d-radius);
  padding: 28px;
  position: relative;
  transform: translateY(12px);
  transition: transform 0.25s;
}
.d-modal-overlay.open .d-modal {
  transform: translateY(0);
}
.d-modal-wide {
  max-width: 680px;
}
.d-modal h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--d-navy);
  margin: 0 0 6px;
}
.d-modal > p {
  color: var(--d-muted);
  font-size: 0.9rem;
  margin: 0 0 20px;
}
.d-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--d-muted);
  font-size: 1.6rem;
  cursor: pointer;
}

/* laudo modal */
.d-laudo {
  background: #fff;
  border: 1px solid var(--d-border);
  border-radius: var(--d-radius-sm);
  padding: 24px;
  box-shadow: var(--d-shadow);
}
.d-laudo-doc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--d-navy);
}
.d-laudo-doc-brand img {
  height: 32px;
  width: auto;
}
.d-laudo-doc-meta {
  text-align: right;
}
.d-laudo-doc-meta strong {
  display: block;
  font-size: 0.85rem;
  color: var(--d-navy);
  letter-spacing: 0.04em;
}
.d-laudo-doc-meta span {
  display: block;
  font-size: 0.72rem;
  color: var(--d-muted);
}
.d-laudo-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--d-success-100);
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  color: #065f46;
}
.d-laudo-status svg {
  flex: 0 0 auto;
  margin-top: 2px;
}
.d-laudo-status strong {
  display: block;
  font-size: 0.95rem;
}
.d-laudo-status span {
  display: block;
  font-size: 0.82rem;
  opacity: 0.85;
}
.d-laudo-doc-section {
  margin-bottom: 20px;
}
.d-laudo-doc-section h4 {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--d-navy);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--d-border);
}
.d-laudo-doc-table {
  border: 1px solid var(--d-border);
  border-radius: 10px;
  overflow: hidden;
}
.d-laudo-doc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.85rem;
}
.d-laudo-doc-row:last-child {
  border-bottom: none;
}
.d-laudo-doc-row span {
  color: var(--d-muted);
}
.d-laudo-doc-row strong {
  color: var(--d-navy);
  font-weight: 700;
  text-align: right;
  max-width: 55%;
}
.d-laudo-doc-row strong.ok {
  color: #047857;
}
.d-laudo-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.d-laudo-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--d-border);
  font-size: 0.78rem;
}
.d-laudo-check.ok {
  background: #f6fffb;
  border-color: #a7f3d0;
  color: #065f46;
}
.d-laudo-check svg {
  flex: 0 0 auto;
}
.d-laudo-check span {
  color: var(--d-muted);
  flex: 1 1 auto;
}
.d-laudo-check strong {
  font-weight: 700;
  text-align: right;
}
.d-laudo-doc-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--d-border);
  font-size: 0.75rem;
  color: var(--d-muted);
  line-height: 1.5;
}
.d-laudo-doc-footer p {
  margin: 0 0 8px;
}
.d-laudo-doc-seal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--d-bg);
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
}

.view[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .d-form-row,
  .d-laudo-checks {
    grid-template-columns: 1fr;
  }
  .d-laudo-doc-header {
    flex-direction: column;
  }
  .d-laudo-doc-meta {
    text-align: left;
  }
}
