/* ============================================================
   douglasniedt.com site footer, ported verbatim from the homepage
   so the look stays in sync. Self-contained; icons are inline SVGs.
   ============================================================ */

.footer {
  background-color: #111827; /* bg-gray-900 */
  color: #ffffff;
  padding: 4rem 0; /* py-16 */
}

.footer .container {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem; /* gap-8 */
  margin-bottom: 3rem; /* mb-12 */
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* md:grid-cols-2 */
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* lg:grid-cols-4 */
  }
}

/* Brand column */

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-brand-icon-wrap {
  padding: 0.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, #f97316, #dc2626); /* from-orange-500 to-red-600 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-name {
  margin: 0;
  font-size: 1.25rem; /* text-xl */
  font-weight: 700;
}

.footer-brand-tagline {
  margin: 0;
  font-size: 0.875rem;
  color: #fb923c; /* text-orange-400 */
}

.footer-brand-text {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #9ca3af; /* text-gray-400 */
}

.footer-brand-meta {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Columns */

.footer-column {
  font-size: 0.875rem;
}

.footer-heading {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

/* Lists & links */

.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-list li + li {
  margin-top: 0.75rem; /* space-y-3 */
}

.footer-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  color: #9ca3af; /* text-gray-400 */
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-link:hover {
  color: #fb923c; /* hover:text-orange-400 */
}

.footer-link .icon-svg-tiny {
  margin-left: 0.25rem; /* ml-1 */
}

/* Special Features */

.footer-special-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-special-card {
  display: block;
  border-radius: 0.75rem;
  padding: 1rem;
  border-width: 1px;
  border-style: solid;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.footer-special-card--purple {
  background-color: rgba(88, 28, 135, 0.3); /* bg-purple-900/30 */
  border-color: rgba(126, 34, 206, 0.3);    /* border-purple-700/30 */
}

.footer-special-card--purple:hover {
  background-color: rgba(88, 28, 135, 0.4); /* hover:bg-purple-900/40 */
}

.footer-special-card--green {
  background-color: rgba(20, 83, 45, 0.3); /* bg-green-900/30 */
  border-color: rgba(21, 128, 61, 0.3);    /* border-green-700/30 */
}

.footer-special-card--green:hover {
  background-color: rgba(20, 83, 45, 0.4); /* hover:bg-green-900/40 */
}

.footer-special-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.footer-special-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-special-title--purple {
  color: #e9d5ff; /* text-purple-300 */
}

.footer-special-title--green {
  color: #bbf7d0; /* text-green-300 */
}

.footer-special-icon--purple {
  margin-top: 0.25rem;
  color: rgba(233, 213, 255, 0.8); /* text-purple-300/80 */
}

.footer-special-icon--green {
  margin-top: 0.25rem;
  color: rgba(187, 247, 208, 0.8); /* text-green-300/80 */
}

.footer-special-text {
  margin: 0;
  font-size: 0.875rem;
  color: #9ca3af; /* text-gray-400 */
}

/* Bottom bar */

.footer-bottom {
  border-top: 1px solid #1f2937; /* border-gray-800 */
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  color: #9ca3af;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-bottom-left {
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-left {
    text-align: left;
  }
}

.footer-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .footer-bottom-right {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.footer-status {
  display: flex;
  align-items: center;
}

.footer-status-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background-color: #22c55e; /* bg-green-500 */
  margin-right: 0.5rem;
}

.footer-co2 {
  white-space: nowrap;
}

/* Icons (shared size) */

.footer .icon-svg {
  width: 1.5rem;
  height: 1.5rem;
}

.footer .icon-svg-small {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.footer .icon-svg-tiny {
  width: 0.75rem;
  height: 0.75rem;
}
