/* ==========================================================================
   PDFongo footer (same green palette as the header and the tools)
   ========================================================================== */
.pdgf {
  --f-bg: #072a20;
  --f-bg2: #0b3d2e;
  --f-ink: #e9f5ef;
  --f-soft: #a9c4b8;
  --f-faint: #7f9e91;
  --f-line: rgba(255,255,255,.09);
  --f-accent: #3ddc84;
  position: relative;
  margin-top: 0;
  background: radial-gradient(1200px 400px at 85% -10%, rgba(61,220,132,.10), transparent 60%), var(--f-bg);
  color: var(--f-soft);
  font-size: .92rem;
  line-height: 1.6;
}
:where(.pdgf) * { font-family: "Inter", "Segoe UI", system-ui, sans-serif; }
.pdgf a { color: inherit; text-decoration: none; }
.pdgf ul { list-style: none; margin: 0; padding: 0; }
.pdgf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pdgf-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- apps band ---------- */
.pdgf-band { border-bottom: 1px solid var(--f-line); background: linear-gradient(90deg, rgba(39,174,96,.16), rgba(39,174,96,.04)); }
.pdgf-band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.pdgf-band-copy b { display: block; color: #fff; font-family: "Sora", "Segoe UI", sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.pdgf-band-copy span { color: var(--f-soft); font-size: .9rem; }
.pdgf-band-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pdgf-store {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 16px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 12px;
  background: rgba(255,255,255,.05); color: #fff !important;
  transition: background .15s, border-color .15s, transform .15s;
}
.pdgf-store i { font-size: 1.35rem; }
.pdgf-store span { display: grid; line-height: 1.15; font-weight: 600; font-size: .92rem; }
.pdgf-store small { font-size: .66rem; font-weight: 500; color: var(--f-soft); text-transform: uppercase; letter-spacing: .05em; }
.pdgf-store:hover { background: rgba(61,220,132,.14); border-color: rgba(61,220,132,.5); transform: translateY(-1px); }

/* ---------- main grid ---------- */
.pdgf-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(4, minmax(140px, 1fr));
  gap: 40px;
  padding-top: 52px; padding-bottom: 44px;
}
.pdgf-logo { display: inline-flex; padding: 8px 14px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.pdgf-logo img { display: block; height: 40px; width: auto; }
.pdgf-about { margin: 18px 0 0; max-width: 360px; color: var(--f-soft); }
.pdgf-about strong { color: var(--f-ink); font-weight: 600; }
.pdgf-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px !important; }
.pdgf-trust li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--f-line);
  color: var(--f-ink); font-size: .76rem; font-weight: 500;
}
.pdgf-trust i { color: var(--f-accent); font-size: .8rem; }
.pdgf-social { display: flex; gap: 8px; margin-top: 20px; }
.pdgf-social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--f-line);
  color: var(--f-ink); transition: background .15s, color .15s;
}
.pdgf-social a:hover { background: var(--f-accent); color: var(--f-bg); }

.pdgf-col h3 {
  margin: 4px 0 16px; color: #fff;
  font-family: "Sora", "Segoe UI", sans-serif; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
}
.pdgf-col li + li { margin-top: 10px; }
.pdgf-col a { position: relative; color: var(--f-soft); transition: color .15s; }
.pdgf-col a:hover, .pdgf-col a:focus-visible { color: #fff; }
.pdgf-col a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px;
  border-radius: 2px; background: var(--f-accent); transition: right .2s ease;
}
.pdgf-col a:hover::after, .pdgf-col a[aria-current="page"]::after { right: 0; }
.pdgf-col a[aria-current="page"] { color: #fff; }
.pdgf a:focus-visible { outline: 2px solid var(--f-accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- bottom bar ---------- */
.pdgf-bottom { border-top: 1px solid var(--f-line); background: rgba(0,0,0,.18); }
.pdgf-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; font-size: .82rem; color: var(--f-faint); }
.pdgf-bottom p { margin: 0; }
.pdgf-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.pdgf-bottom nav a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .pdgf-main { grid-template-columns: repeat(4, 1fr); gap: 34px 24px; }
  .pdgf-brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: start; }
  .pdgf-brand .pdgf-logo { grid-row: span 3; }
  .pdgf-about { margin-top: 0; max-width: 620px; }
  .pdgf-trust, .pdgf-social { margin-top: 6px !important; }
}
@media (max-width: 760px) {
  .pdgf-band-in { flex-direction: column; align-items: flex-start; }
  .pdgf-main { grid-template-columns: 1fr 1fr; padding-top: 40px; }
  .pdgf-brand { display: block; }
  .pdgf-about { margin-top: 16px; }
  .pdgf-trust, .pdgf-social { margin-top: 16px !important; }
}
@media (max-width: 420px) {
  .pdgf-wrap { padding-left: 18px; padding-right: 18px; }
  .pdgf-band-btns { width: 100%; }
  .pdgf-store { flex: 1 1 0; min-width: 0; height: 52px; padding: 0 10px; gap: 7px; justify-content: center; }
  .pdgf-store i { font-size: 1.1rem; }
  .pdgf-store span { font-size: .8rem; }
  .pdgf-store small { font-size: .56rem; }
  .pdgf-bottom-in { flex-direction: column; align-items: flex-start; }
}
