/* Shared essential pages + footer visitor counter */
.page-shell {
  width: min(920px, 94vw);
  margin: 24px auto 40px;
}
.page-shell h1 {
  font-family: var(--font-display, Nunito, sans-serif);
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  margin: 0 0 10px;
  color: var(--ink, #1a2b4a);
}
.page-shell .lead {
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  line-height: 1.55;
  color: #4b6280;
  margin: 0 0 18px;
}
.page-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(26, 43, 74, 0.1);
  border-radius: 20px;
  padding: 18px 20px;
  margin: 0 0 14px;
  box-shadow: 0 10px 24px rgba(26, 43, 74, 0.08);
}
.page-card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #3b2f7a;
}
.page-card h3 {
  margin: 14px 0 8px;
  font-size: 1.05rem;
  color: #1a2b4a;
}
.page-card p,
.page-card li {
  color: #3d4f6a;
  line-height: 1.55;
  font-weight: 650;
}
.page-card ul {
  margin: 0 0 8px;
  padding-left: 1.2em;
}
.page-card a {
  color: #5a35c5;
  font-weight: 800;
}
.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  color: #1a2b4a;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 1.5px solid rgba(26, 43, 74, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 700;
  background: #fff;
}
.contact-form button {
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #8a5cf0, #6a3fd6);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(106, 63, 214, 0.3);
}
.contact-form button:active { transform: scale(0.97); }
.contact-note {
  margin-top: 8px;
  font-size: 0.92rem;
  color: #5c6b82;
  font-weight: 700;
}

.site-footer .footer-grid {
  grid-template-columns: 1.2fr 1fr 0.9fr;
  align-items: start;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-weight: 800;
}
.footer-links a {
  color: #1a2b4a;
  text-decoration: none;
}
.footer-links a:hover { color: #6a3fd6; }

/* “For more visit us” social card (public). Visitor counts are admin-only. */
.footer-visit {
  background: #fff;
  border: 1.5px solid rgba(26, 43, 74, 0.1);
  border-radius: 18px;
  padding: 14px 16px 16px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(26, 43, 74, 0.08);
}
.footer-visit .fv-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2b4a;
  line-height: 1.2;
}
.footer-visit .fv-title {
  display: block;
  margin-top: 2px;
  font-size: 1.35rem;
  font-weight: 900;
  color: #15233d;
  line-height: 1.15;
}
.footer-visit .fv-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.footer-visit .fv-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.footer-visit .fv-icon:hover { transform: translateY(-2px) scale(1.06); }
.footer-visit .fv-icon svg { width: 26px; height: 26px; display: block; }
.footer-visit .fv-fb { background: #1877f2; }
.footer-visit .fv-yt { background: #ff0000; border-radius: 50%; }
.footer-visit .fv-gp {
  background: #fff;
  border: 1.5px solid rgba(26, 43, 74, 0.12);
  border-radius: 12px;
}
@media (max-width: 760px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}
