:root {
  --ddd-ink: #1f2937;
  --ddd-muted: #5f6b76;
  --ddd-line: #dbe2e8;
  --ddd-surface: #ffffff;
  --ddd-soft: #f4f7f8;
  --ddd-brand: #0f4c5c;
  --ddd-accent: #f26b38;
  --ddd-success: #237a57;
}

.ddd-trust-strip,
.ddd-credentials,
.ddd-office,
.ddd-footer-company,
.ddd-lightbox {
  box-sizing: border-box;
}

.footer {
  background: #0a2a34 !important;
}

.footer-p {
  color: rgba(255, 255, 255, 0.7) !important;
}

.ddd-trust-strip *,
.ddd-credentials *,
.ddd-office *,
.ddd-footer-company *,
.ddd-lightbox * {
  box-sizing: border-box;
}

.ddd-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  width: min(760px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 18px;
  color: #ffffff;
  background: rgba(10, 42, 52, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  list-style: none;
}

.ddd-trust-strip li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  line-height: 24px;
}

.ddd-trust-strip li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--ddd-accent);
  border-radius: 50%;
  content: "";
}

.ddd-trust-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.ddd-credentials,
.ddd-office {
  padding: 64px 0;
  color: var(--ddd-ink);
}

.ddd-credentials {
  background: var(--ddd-surface);
}

.ddd-office {
  background: var(--ddd-soft);
}

.ddd-section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.ddd-section-kicker {
  margin: 0 0 8px;
  color: var(--ddd-accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

.ddd-section-heading h2,
.ddd-footer-company h2,
.ddd-permit-heading h2 {
  margin: 0;
  color: var(--ddd-ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
}

.ddd-section-heading > p:last-child,
.ddd-permit-heading p {
  margin: 12px 0 0;
  color: var(--ddd-muted);
  font-size: 16px;
  line-height: 28px;
}

.ddd-registration-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.ddd-registration-summary,
.ddd-document-notice,
.ddd-license-card {
  border: 1px solid var(--ddd-line);
  border-radius: 8px;
  background: var(--ddd-surface);
}

.ddd-registration-summary,
.ddd-document-notice {
  padding: 30px;
}

.ddd-status-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--ddd-success);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

.ddd-registration-summary h3,
.ddd-document-notice h3,
.ddd-license-copy h3 {
  margin: 0 0 20px;
  color: var(--ddd-ink);
  font-size: 22px;
  line-height: 1.45;
}

.ddd-company-facts {
  margin: 0;
}

.ddd-company-facts > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--ddd-line);
}

.ddd-company-facts dt,
.ddd-company-facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 25px;
}

.ddd-company-facts dt {
  color: var(--ddd-muted);
}

.ddd-company-facts dd {
  color: var(--ddd-ink);
  overflow-wrap: anywhere;
}

.ddd-company-facts a,
.ddd-footer-company a {
  color: var(--ddd-brand);
  text-decoration: none;
}

.ddd-document-notice {
  border-left: 4px solid var(--ddd-accent);
}

.ddd-document-notice p {
  margin: 0 0 16px;
  color: var(--ddd-muted);
  font-size: 15px;
  line-height: 26px;
}

.ddd-document-notice .ddd-document-state {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--ddd-line);
  color: #7a4a12;
  font-weight: 700;
}

.ddd-license-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  margin-top: 24px;
  padding: 24px;
}

.ddd-license-image-button,
.ddd-office-grid button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: zoom-in;
}

.ddd-license-image-button img,
.ddd-office-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ddd-license-image-button span {
  display: block;
  padding: 10px;
  color: var(--ddd-brand);
  background: var(--ddd-soft);
  font-size: 14px;
  text-align: center;
}

.ddd-license-copy {
  align-self: center;
}

.ddd-section-action {
  margin-top: 28px;
  text-align: center;
}

.ddd-primary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  color: #ffffff;
  background: var(--ddd-accent);
  border-radius: 6px;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
}

.ddd-primary-link:hover,
.ddd-primary-link:focus-visible {
  background: #d9582b;
}

.ddd-office-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ddd-office-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ddd-line);
  border-radius: 8px;
  background: var(--ddd-surface);
}

.ddd-office-grid button {
  height: 270px;
  border-radius: 0;
}

.ddd-office-grid figcaption {
  padding: 14px 16px;
  color: var(--ddd-ink);
  font-size: 15px;
  line-height: 24px;
  text-align: center;
}

.ddd-permit-heading {
  margin: 0 auto 30px;
  text-align: center;
}

.ddd-permit-disclaimer {
  width: min(1000px, calc(100% - 32px));
  margin: 24px auto 0;
  padding: 14px 16px;
  color: var(--ddd-muted);
  background: #ffffff;
  border-left: 4px solid var(--ddd-accent);
  font-size: 14px;
  line-height: 24px;
  text-align: left;
}

.ddd-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 12px;
  color: #ffffff;
}

.ddd-footer-company {
  flex: 1 1 520px;
  color: #ffffff;
  text-align: left;
}

.ddd-footer-company h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 22px;
  text-align: left;
}

.ddd-footer-company address {
  width: 100%;
  margin: 0;
  font-style: normal;
}

.ddd-footer-company address p {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 24px;
  text-align: left;
}

.ddd-footer-company address span {
  display: block;
  margin: 0;
  color: #ffffff;
  font-weight: 700;
  text-align: right;
}

.ddd-footer-company a {
  color: #ffffff;
}

.ddd-footer-contact {
  flex: 0 0 auto;
  padding: 0 !important;
  text-align: center;
}

.ddd-footer-contact p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 24px;
  text-align: center;
}

.ddd-footer-contact img {
  display: block;
  margin: 0 auto;
  border: 5px solid #ffffff;
  border-radius: 6px;
}

.ddd-lightbox {
  position: fixed;
  width: min(900px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 48px 18px 18px;
  overflow: auto;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
}

.ddd-lightbox::backdrop {
  background: rgba(10, 20, 25, 0.78);
}

.ddd-lightbox img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.ddd-lightbox-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--ddd-ink);
  background: #ffffff;
  border: 1px solid var(--ddd-line);
  border-radius: 50%;
  font-size: 26px;
  line-height: 32px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .ddd-trust-strip {
    gap: 8px 12px;
    margin-top: 14px;
    padding: 10px 12px;
  }

  .ddd-trust-strip li {
    font-size: 13px;
    line-height: 22px;
  }

  .ddd-credentials,
  .ddd-office {
    padding: 42px 0;
  }

  .ddd-trust-container {
    width: min(calc(100% - 28px), 1120px);
  }

  .ddd-section-heading {
    margin-bottom: 24px;
  }

  .ddd-section-heading h2,
  .ddd-permit-heading h2 {
    font-size: 24px;
  }

  .ddd-section-heading > p:last-child,
  .ddd-permit-heading p {
    font-size: 14px;
    line-height: 24px;
  }

  .ddd-registration-layout,
  .ddd-license-card,
  .ddd-office-grid {
    grid-template-columns: 1fr;
  }

  .ddd-registration-summary,
  .ddd-document-notice,
  .ddd-license-card {
    padding: 20px;
  }

  .ddd-company-facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ddd-office-grid button {
    height: 230px;
  }

  .ddd-office-grid figure:first-child button {
    height: 300px;
  }

  .ddd-footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ddd-footer-company {
    flex: 1 1 auto;
    width: 100%;
    text-align: center;
  }

  .ddd-footer-company h2 {
    text-align: center;
  }

  .ddd-footer-company address span {
    display: block;
    margin: 0;
    text-align: center;
  }

  .ddd-footer-company address p {
    grid-template-columns: 1fr;
    gap: 2px;
    margin: 14px 0;
    text-align: center;
  }

  .ddd-footer-contact {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ddd-primary-link {
    scroll-behavior: auto;
  }
}
