.drd-social-footer,
.drd-social-footer * {
  box-sizing: border-box;
}

.drd-social-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, .68fr) minmax(0, 1.72fr);
  gap: clamp(24px, 3.6vw, 52px);
  align-items: center;
  margin-top: 34px;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(243, 183, 86, .25);
  border-radius: 22px;
  background:
    radial-gradient(circle at 5% 12%, rgba(35, 187, 126, .13), transparent 33%),
    radial-gradient(circle at 96% 95%, rgba(243, 161, 47, .11), transparent 32%),
    linear-gradient(135deg, rgba(17, 25, 18, .99), rgba(9, 9, 7, .99) 52%, rgba(20, 16, 9, .99));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 24px 60px rgba(0, 0, 0, .26);
  color: #f6f1e7;
  font-family: "Aptos", "Inter", "Segoe UI", Arial, sans-serif;
}

.drd-social-footer::before {
  position: absolute;
  inset: 0 10% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 132, .78), rgba(82, 225, 166, .58), transparent);
  content: "";
}

.drd-social-footer__brand {
  min-width: 0;
  padding-right: clamp(20px, 3vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.drd-social-footer__home {
  display: inline-grid;
  gap: 2px;
  color: #fffaf0;
  text-decoration: none;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 900;
  letter-spacing: .055em;
  line-height: 1.12;
}

.drd-social-footer__home strong {
  color: #f5bc5d;
  font: inherit;
  text-shadow: 0 0 20px rgba(243, 183, 86, .13);
}

.drd-social-footer__home span {
  width: max-content;
  margin-top: 10px;
  padding: 5px 8px 4px;
  border: 1px solid rgba(82, 225, 166, .2);
  border-radius: 999px;
  background: rgba(35, 187, 126, .07);
  color: #78e2ad;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.drd-social-footer__home:hover strong,
.drd-social-footer__home:focus-visible strong {
  color: #ffda91;
}

.drd-social-footer__home:focus-visible,
.drd-social-footer__credit a:focus-visible,
.drd-social-footer__query:focus-visible {
  border-radius: 8px;
  outline: 2px solid #f5bc5d;
  outline-offset: 4px;
}

.drd-social-footer__brand p {
  max-width: 240px;
  margin: 15px 0 0;
  color: #a69b8a;
  font-size: 11px;
  line-height: 1.7;
}

.drd-social-footer__channels {
  min-width: 0;
}

.drd-social-footer__channels-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: 0 2px 11px;
}

.drd-social-footer__channels-head span {
  color: #e8dcc8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.drd-social-footer__channels-head small {
  color: #766e62;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.drd-social-footer__links {
  display: grid;
  grid-template-columns: repeat(7, minmax(68px, 1fr));
  gap: 8px;
}

.drd-social-footer__links a {
  display: grid;
  place-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 70px;
  padding: 10px 6px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  color: #c5b9a6;
  text-decoration: none;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.drd-social-footer__links a:hover,
.drd-social-footer__links a:focus-visible {
  border-color: rgba(243, 183, 86, .52);
  background: rgba(243, 161, 47, .09);
  color: #fff4df;
  box-shadow: 0 9px 22px rgba(0, 0, 0, .19), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: translateY(-2px);
  outline: none;
}

.drd-social-footer__links a:focus-visible {
  box-shadow: 0 0 0 3px rgba(243, 161, 47, .17);
}

.drd-social-footer__links svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drd-social-footer__links a[data-network="youtube"] { color: #ff7777; }
.drd-social-footer__links a[data-network="instagram"] { color: #f29ac2; }
.drd-social-footer__links a[data-network="facebook"] { color: #8db8ff; }
.drd-social-footer__links a[data-network="telegram"] { color: #70c7f1; }
.drd-social-footer__links a[data-network="x"] { color: #e8e3db; }
.drd-social-footer__links a[data-network="scholar"] { color: #9ed7bd; }
.drd-social-footer__links a[data-network="email"] { color: #efbf73; }

.drd-social-footer__meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .075);
}

.drd-social-footer__credit {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.drd-social-footer__credit-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(243, 183, 86, .2);
  border-radius: 10px;
  background: rgba(243, 161, 47, .065);
  color: #e9b45b;
  font-family: Georgia, serif;
  font-size: 17px;
}

.drd-social-footer__credit-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.drd-social-footer__credit-copy small {
  color: #766e62;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.drd-social-footer__credit-copy span {
  color: #aaa092;
  font-size: 11px;
  line-height: 1.45;
}

.drd-social-footer__credit a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 3px;
  color: #f0c778;
  font-weight: 850;
  text-decoration: none;
}

.drd-social-footer__credit a b {
  color: #8ab5dd;
  font-size: 9px;
  letter-spacing: -.03em;
}

.drd-social-footer__credit a:hover {
  color: #ffe2a6;
}

.drd-social-footer__query {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 204px;
  min-height: 50px;
  padding: 8px 11px;
  border: 1px solid rgba(82, 225, 166, .25);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(35, 187, 126, .12), rgba(35, 187, 126, .045));
  color: #ddf7ea;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.drd-social-footer__query:hover {
  border-color: rgba(82, 225, 166, .5);
  background: rgba(35, 187, 126, .15);
  transform: translateY(-2px);
}

.drd-social-footer__query-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #1fbd78;
  color: #06150e;
}

.drd-social-footer__query-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drd-social-footer__query-copy {
  display: grid;
  gap: 1px;
}

.drd-social-footer__query-copy small {
  color: #77d9ab;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}

.drd-social-footer__query-copy strong {
  color: #f2fbf6;
  font-size: 11px;
}

.drd-social-footer__query-arrow {
  color: #75d9aa;
  font-size: 14px;
}

@media (max-width: 1050px) {
  .drd-social-footer {
    grid-template-columns: 1fr;
  }

  .drd-social-footer__brand {
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .075);
  }

  .drd-social-footer__links {
    grid-template-columns: repeat(4, minmax(72px, 1fr));
  }
}

@media (max-width: 620px) {
  .drd-social-footer {
    gap: 20px;
    padding: 21px 16px 17px;
    border-radius: 17px;
  }

  .drd-social-footer__channels-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .drd-social-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drd-social-footer__links a:last-child {
    grid-column: 1 / -1;
  }

  .drd-social-footer__meta {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .drd-social-footer__query {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drd-social-footer__links a,
  .drd-social-footer__query {
    transition: none;
  }
}
