/* duns-number.css -- styles used only on duns-number.html. */

.duns-page-shell::before {
  background:
    radial-gradient(ellipse at 80% 8%, rgba(15, 93, 255, .32), transparent 28rem),
    radial-gradient(circle at 6% 50%, rgba(0, 156, 255, .15), transparent 25rem),
    linear-gradient(105deg, rgba(0, 12, 38, .18), rgba(0, 0, 0, 0) 45%);
}

/* ---------- Section rhythm ----------
   Matches the section-to-section gap already used across the site's USA
   service pages (~72px, e.g. business-address-setup.html,
   registered-agent-service.html, us-llc-formation.html). */
.duns-page-shell .service-main .container > section + section,
.duns-page-shell .service-main .container > .glass-card + section,
.duns-page-shell .service-main .container > section + .glass-card,
.duns-page-shell .service-main .container > .glass-card + .glass-card {
  margin-top: 72px;
}

/* ---------- Hero ----------
   Mirrors the homepage .hero's composition and visual language: a
   48/52 copy/visual grid, a left-to-right gradient backdrop that lets
   the copy read clearly while bleeding into the photo, and the same
   masked full-bleed image technique on mobile (see media queries
   below) instead of a plain stacked photo -- the same technique
   already used on us-llc-formation.html and uk-company-registration.html. */

.duns-hero {
  width: min(100% - 96px, 1080px);
  min-height: 420px;
  margin: 2px auto 0;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: start;
  gap: 24px;
  position: relative;
  isolation: isolate;
}

.duns-hero::before {
  content: "";
  position: absolute;
  inset: -2px -52px 0 -52px;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(1, 7, 22, .97) 0%, rgba(1, 7, 22, .6) 44%, rgba(1, 7, 22, .1) 74%, rgba(1, 7, 22, 0) 88%),
    linear-gradient(180deg, rgba(1, 7, 22, .06) 0%, rgba(1, 7, 22, 0) 60%, rgba(1, 7, 22, .82) 100%);
}

.duns-hero h1 {
  margin: 0;
  max-width: 480px;
  font-size: clamp(38px, 4.3vw, 52px);
  line-height: 1.06;
  font-weight: 900;
}

.duns-hero h1 span {
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(0, 179, 255, .18);
}

.duns-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0 28px;
}

/* Direct children only: the icon circle inside each item is also a <span>,
   and matching it here overrode .round-icon's grid centering with a flex
   layout (no justify-content), which pushed the glyph to the left edge. */
.duns-proof-row > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e9f2ff;
  font-size: 13px;
  font-weight: 700;
}

.duns-proof-row .round-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  font-size: 16px;
  background: rgba(20, 40, 90, .55);
  border: 1px solid rgba(94, 168, 255, .45);
  box-shadow: none;
  color: var(--cyan);
}

.duns-visual {
  position: relative;
  z-index: 2;
  min-height: 380px;
  display: flex;
  align-items: center;
}

.duns-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .34), 0 0 40px rgba(0, 149, 255, .1);
}

/* ---------- Shared centered section heading ---------- */

.duns-section-heading {
  max-width: 640px;
  margin: 0 auto 30px;
  text-align: center;
}

.duns-section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 31px);
  line-height: 1.2;
  font-weight: 900;
}

.duns-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ---------- "What is" / "Who Needs" card grids ----------
   Shared component for both card sections so the two panels read as
   one consistent visual system rather than two different treatments. */

.duns-what,
.duns-who {
  padding: 36px 34px 34px;
}

.duns-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.duns-card-grid article {
  min-height: 168px;
  padding: 24px 20px 20px;
  text-align: center;
  border: 1px solid rgba(79, 134, 214, .4);
  border-radius: 10px;
  background: rgba(4, 17, 49, .55);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.duns-card-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 151, 255, .78);
  box-shadow: 0 20px 42px rgba(0, 94, 255, .18);
}

.duns-card-grid .duns-card-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #1fb6ff, #0a5bdc);
  box-shadow: 0 0 22px rgba(0, 130, 255, .38);
}

.duns-card-grid svg {
  width: 26px;
  height: 26px;
  color: #fff;
}

.duns-card-grid h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
}

.duns-card-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* ---------- Process ----------
   Reuses the site's shared .process/.process-grid component (the same
   one the homepage and us-business-formation.html use) so the step
   flow matches established site behavior exactly; only the wrapping
   glass-card panel below is page-specific. */

.duns-process-panel {
  padding: 34px 34px 38px;
  text-align: center;
}

/* ---------- FAQ ---------- */

.duns-faq-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.duns-faq-heading h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 27px);
  font-weight: 900;
}

.duns-faq-heading a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.duns-faq {
  display: grid;
  gap: 12px;
}

.duns-faq details {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(6, 20, 52, .5);
}

.duns-faq summary {
  min-height: 54px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  color: #f5f9ff;
  font-size: 15px;
  font-weight: 700;
}

.duns-faq summary::-webkit-details-marker {
  display: none;
}

.duns-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 20px;
  font-weight: 800;
  transition: transform .2s ease;
}

.duns-faq details[open] summary::after {
  transform: rotate(45deg);
}

.duns-faq p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---------- CTA ----------
   Overrides the default icon-band .cta-band treatment (used by simpler
   pages like us-business-formation.html's .us-cta) with the darker
   photographic-CTA variant already established for pages that pair the
   band with a real image, e.g. .dissolution-cta / .bank-cta. */

.duns-cta {
  width: min(100% - 96px, 1080px);
  min-height: 0;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-color: rgba(34, 148, 255, .5);
  background:
    linear-gradient(145deg, rgba(4, 31, 76, .84), rgba(3, 10, 32, .88)),
    rgba(6, 19, 50, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 19px 45px rgba(0, 0, 0, .25), 0 0 38px rgba(0, 132, 255, .12);
}

.duns-cta::before,
.duns-cta::after {
  display: none;
}

.duns-cta-copy {
  flex: 1 1 420px;
}

.duns-cta h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.16;
}

.duns-cta p {
  margin: 10px 0 0;
  max-width: 460px;
  color: #e8f2ff;
  font-size: 14.5px;
  line-height: 1.6;
}

.duns-cta .cta-actions {
  margin-top: 22px;
}

.duns-cta-art {
  flex: 1 1 380px;
  max-width: 440px;
}

.duns-cta-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ---------- Bottom trust strip ----------
   Matches the established .usllc-trust-strip pattern (us-llc-formation.html):
   a plain, unboxed row of icon + label pairs on the page background. */

.duns-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
  padding: 6px 0 4px;
}

.duns-trust-strip > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.duns-trust-strip .round-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  font-size: 19px;
}

.duns-trust-strip b {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
}

.duns-trust-strip small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
}

/* =================================================================
   Responsive
   ================================================================= */

@media (max-width: 980px) {
  .duns-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 24px;
  }
  .duns-hero::before {
    display: none;
  }
  .duns-hero .accounting-hero-copy {
    padding-top: 25px;
    position: relative;
    z-index: 2;
  }
  .duns-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 0;
    overflow: hidden;
    opacity: .38;
    pointer-events: none;
    mask-image:
      radial-gradient(ellipse at 78% 46%, #000 0%, rgba(0, 0, 0, .7) 42%, rgba(0, 0, 0, .32) 60%, transparent 86%),
      linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .72) 14%, #000 44%, rgba(0, 0, 0, .72) 84%, transparent 100%);
    -webkit-mask-image:
      radial-gradient(ellipse at 78% 46%, #000 0%, rgba(0, 0, 0, .7) 42%, rgba(0, 0, 0, .32) 60%, transparent 86%),
      linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .72) 14%, #000 44%, rgba(0, 0, 0, .72) 84%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
  }
  .duns-visual img {
    width: auto;
    height: 100%;
    max-width: none;
    object-position: right center;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  .duns-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .duns-cta {
    padding: 34px;
  }
}

@media (max-width: 620px) {
  .duns-hero h1 {
    font-size: 34px;
  }

  .duns-page-shell .service-main .container > section + section,
  .duns-page-shell .service-main .container > .glass-card + section,
  .duns-page-shell .service-main .container > section + .glass-card,
  .duns-page-shell .service-main .container > .glass-card + .glass-card {
    margin-top: 48px;
  }

  .duns-what,
  .duns-who {
    padding: 28px 20px 24px;
  }

  .duns-card-grid {
    grid-template-columns: 1fr;
  }

  .duns-process-panel {
    padding: 26px 20px 30px;
  }

  .duns-faq-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .duns-cta {
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
  }

  .duns-cta-copy {
    flex: none;
  }

  .duns-cta p {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .duns-cta .cta-actions {
    justify-content: center;
  }

  .duns-cta-art {
    flex: none;
    max-width: 320px;
  }

  .duns-trust-strip {
    gap: 22px;
  }
}
