/**
 * Shared chrome for DigiHomeo static pages (about, pricing, …).
 * Floating capsule nav + multi-column site footer (matches Flutter public home footer).
 *
 * Requires: brand-logo.css, Font Awesome 6
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Floating capsule nav ───────────────────────────────────── */
.floating-nav-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
}

.floating-nav {
  max-width: 960px;
  width: 100%;
  height: 58px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1.5px solid rgba(187, 247, 208, 0.9);
  border-radius: 50px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.08), 0 2px 14px rgba(34, 197, 94, 0.07);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 4px;
  pointer-events: all;
}

.floating-nav .nav-logo,
.floating-nav .fn-logo {
  margin-right: auto;
}

.nav-link {
  text-decoration: none;
  color: #27272a;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 30px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.nav-link:hover {
  background: rgba(240, 253, 244, 0.9);
  color: #15803d;
}

.nav-link.active {
  color: #15803d;
  font-weight: 600;
}

.nav-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #16a34a, #65a30d);
  color: white;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
  transition: all 0.15s;
  white-space: nowrap;
  margin-left: 6px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.nav-login-btn:hover {
  background: linear-gradient(135deg, #15803d, #4d7c0f);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
  transform: translateY(-1px);
}

.nav-login-btn i {
  font-size: 12px;
}

@media (max-width: 640px) {
  .floating-nav {
    padding: 0 14px;
    gap: 2px;
    height: 52px;
  }
  .nav-link:not(.nav-link-mobile) {
    display: none;
  }
}

/* ── Page shell ─────────────────────────────────────────────── */
.page-wrap {
  padding-top: 90px;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
  padding-bottom: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #18181b;
}

.page-wrap--wide {
  max-width: 1200px;
}

/* ── Final CTA (above footer) ───────────────────────────────── */
.final-cta {
  text-align: center;
  background: linear-gradient(160deg, #09090b 0%, #14532d 100%);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px);
  margin: 48px 0 0;
}

.final-cta h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.final-cta p {
  font-size: 15px;
  color: #a1a1aa;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #16a34a, #65a30d);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.15s;
}

.final-cta-btn:hover {
  box-shadow: 0 8px 28px rgba(22, 163, 74, 0.4);
  transform: translateY(-2px);
}

/* ── Site footer (matches Flutter public home footer) ───────── */
.site-footer {
  background: #fafafa;
  margin-top: 64px;
  padding: 48px clamp(16px, 4vw, 48px) 32px;
  border-top: 1px solid #f4f4f5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.site-footer-brand-text {
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.5;
  color: #71717a;
  max-width: 320px;
}

.site-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  color: #52525b;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.site-footer-social:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.site-footer-social i {
  font-size: 14px;
}

.site-footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #09090b;
  margin: 0 0 12px;
}

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

.site-footer-links li {
  margin-bottom: 6px;
}

.site-footer-links a {
  color: #52525b;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
}

.site-footer-links a:hover {
  color: #16a34a;
}

.site-footer-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #52525b;
  font-size: 13px;
  text-decoration: none;
}

.site-footer-contact-row:hover {
  color: #16a34a;
}

.site-footer-contact-row i {
  color: #71717a;
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.site-footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.site-footer-wa:hover {
  background: #dcfce7;
}

.site-footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  color: #71717a;
}

@media (max-width: 900px) {
  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
