/* ============================================================
   A2Z DEVCENTER — NEW FOOTER
   ============================================================ */

/* ── Variables (scoped to footer so they don't bleed) ── */
.a2z-footer {
  --purple-deep: #1a0550;
  --purple-mid:  #2d1b8a;
  --orange:      #f97316;
  --orange-mid:  #fb923c;
  --muted:       rgba(255,255,255,0.55);
  --muted-2:     rgba(255,255,255,0.45);
  --line:        rgba(255,255,255,0.08);
}

/* ── Base ── */
.a2z-footer *,
.a2z-footer *::before,
.a2z-footer *::after {
  box-sizing: border-box;
}

/* ── Footer wrapper ── */
.a2z-footer {
  position: relative;
  background: #1e0b58;
  padding: 70px 0 0;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #fff;
  line-height: 1.5;
}

/* Orange top accent line */
.a2z-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-mid), var(--orange));
}

/* Animated dot grid */
.a2z-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  pointer-events: none;
  animation: a2zFooterDotShift 50s linear infinite;
  opacity: 0.7;
}

@keyframes a2zFooterDotShift {
  from { background-position: 0 0; }
  to   { background-position: 28px 28px; }
}

/* ── Container ── */
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}

/* ── Top grid ── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

/* ── Brand column ── */
.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 14px;
  display: block;
}

.footer-tagline {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-mid);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 320px;
}

.footer-section-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── Social icons ── */
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #a89af8;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: rgba(249,115,22,0.15);
  border-color: rgba(249,115,22,0.4);
  color: var(--orange-mid);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ── Awards row ── */
.footer-awards {
  display: flex;
  gap: 10px;
}

.footer-awards .award {
  width: 70px;
  height: 46px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0.7;
}

/* ── Link columns ── */
.footer-col h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

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

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: all 0.18s;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

/* ── CTA + address strip ── */
.footer-hero-strip {
  border-top: 1px solid var(--line);
  padding: 36px 0 32px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: center;
}

.footer-hero-text h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #fff;
}

.footer-hero-text h2 em {
  color: #a89af8;
  font-style: normal;
}

.footer-hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.a2z-footer .btn-primary,
.a2z-footer .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.18s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.a2z-footer .btn-primary {
  background: var(--orange);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
}

.a2z-footer .btn-primary:hover {
  background: var(--orange-mid);
  transform: translateY(-1px);
  color: #fff !important;
}

.a2z-footer .btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
}

.a2z-footer .btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  color: #fff !important;
}

/* ── Address cards ── */
.contact-addresses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.addr-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s;
}

.addr-card:hover {
  background: rgba(249,115,22,0.06);
  border-color: rgba(249,115,22,0.3);
  transform: translateY(-3px);
}

.addr-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.addr-country {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.addr-text {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 14px;
  text-align: center;
}

.addr-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  align-items: stretch;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  background: rgba(255,255,255,0.04);
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s;
  text-align: center;
}

.meta-row:hover {
  background: rgba(249,115,22,0.08);
  color: rgba(255,255,255,0.85);
}

.meta-row.directions {
  background: transparent;
  color: var(--orange-mid) !important;
  font-weight: 600;
}

.meta-row.directions:hover {
  background: rgba(249,115,22,0.08);
}

/* ── Bottom bar ── */
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom .legal {
  display: flex;
  gap: 22px;
}

.footer-bottom .legal a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.18s;
}

.footer-bottom .legal a:hover {
  color: rgba(255,255,255,0.75);
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .footer-container { padding: 0 32px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .footer-hero-strip {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .a2z-footer { padding: 50px 0 0; }
  .footer-container { padding: 0 20px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-brand { grid-column: auto; }
  .contact-addresses { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .footer-hero-text h2 { font-size: 22px; }
  .footer-hero-strip { padding: 28px 0 24px; }
}

@media (max-width: 480px) {
  .footer-hero-buttons { flex-direction: column; }
  .a2z-footer .btn-primary,
  .a2z-footer .btn-ghost { width: 100%; justify-content: center; }
  .footer-bottom .legal { flex-wrap: wrap; gap: 12px; justify-content: center; }
}
