/* Link-Hub / QR page – mobile first */

:root {
  --hub-green: #1f4d2e;
  --hub-green-light: #2d6a3f;
  --hub-green-soft: #e8f2eb;
  --hub-bg: #f4f8f5;
  --hub-text: #2c2419;
  --hub-muted: #5c6b5f;
  --hub-radius: 16px;
  --hub-shadow: 0 8px 32px rgba(31, 77, 46, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

.hub-page {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(165deg, var(--hub-bg) 0%, #dcebe0 50%, var(--hub-green-soft) 100%);
  color: var(--hub-text);
  -webkit-font-smoothing: antialiased;
}

.hub-shell {
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hub-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.hub-logo {
  height: auto;
  max-width: 200px;
  margin: 0 auto 0.75rem;
  display: block;
}

.hub-tagline {
  font-weight: 600;
  color: var(--hub-green);
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.hub-sub {
  margin: 0;
  color: var(--hub-muted);
  font-size: 0.88rem;
}

.hub-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hub-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border-radius: var(--hub-radius);
  box-shadow: var(--hub-shadow);
  text-decoration: none;
  color: var(--hub-text);
  border: 1px solid rgba(31, 77, 46, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hub-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(31, 77, 46, 0.16);
}

.hub-link-primary {
  background: var(--hub-green);
  color: #fff;
  border-color: var(--hub-green);
}

.hub-link-primary .hub-link-text strong {
  color: #fff;
}

.hub-link-primary .hub-link-text small {
  color: rgba(255, 255, 255, 0.92);
}

.hub-link-primary:hover {
  background: var(--hub-green-light);
}

.hub-link-whatsapp {
  border-color: rgba(37, 211, 102, 0.35);
}

.hub-link-whatsapp .hub-link-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #128c7e;
}

.hub-link-whatsapp:hover {
  border-color: #25d366;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.2);
}

.hub-link-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hub-green-soft);
  border-radius: 12px;
  font-size: 1.25rem;
}

.hub-link-primary .hub-link-icon {
  background: rgba(255, 255, 255, 0.15);
}

.hub-link-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.hub-link-text strong {
  font-size: 1rem;
  font-weight: 600;
}

.hub-link-text small {
  font-size: 0.82rem;
  color: var(--hub-muted);
}

.hub-qr {
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem 1.25rem;
  box-shadow: var(--hub-shadow);
  border: 1px solid rgba(31, 77, 46, 0.08);
  margin-bottom: 1.5rem;
}

.hub-qr h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--hub-green);
}

.hub-qr p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--hub-muted);
  line-height: 1.5;
}

.hub-qr-img {
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  border: 4px solid var(--hub-green-soft);
}

.hub-qr-url {
  margin-top: 0.75rem !important;
  margin-bottom: 0 !important;
  font-weight: 600;
  color: var(--hub-green) !important;
  font-size: 0.82rem !important;
}

.hub-footer {
  margin-top: auto;
  text-align: center;
  font-size: 0.82rem;
  color: var(--hub-muted);
  padding-top: 1rem;
}

.hub-footer a {
  color: var(--hub-green);
  text-decoration: none;
  font-weight: 500;
}

.hub-footer a:hover {
  text-decoration: underline;
}

.hub-footer span {
  margin: 0 0.35rem;
  opacity: 0.5;
}

@media (min-width: 480px) {
  .hub-shell {
    padding-top: 3rem;
  }
}
