/* Shared header + footer — matches React SiteHeader / SiteFooter */

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

html { scroll-behavior: smooth; }

body.site-chrome {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  background-color: #FAF9F6;
  color: #0F172A;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 64px;
}

@keyframes nav-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Header (fixed, max-w-7xl inner — same as homepage) ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #f1f5f9;
  z-index: 50;
}

.site-header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1rem;
}

@media (min-width: 640px) {
  .site-header-inner { padding: 0 1.5rem; }
}

.nav-brand {
  grid-column: 1;
  justify-self: start;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: #0F172A;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  transition: color 0.2s;
}

.nav-brand:hover { color: #dc2626; text-decoration: none; }

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 0.75rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dc2626;
  animation: nav-pulse 2s infinite;
  display: none;
}

@media (min-width: 640px) {
  .nav-dot { display: inline-block; }
}

.nav-links {
  grid-column: 2;
  justify-self: center;
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0F172A;
  text-decoration: none;
}

.nav-actions {
  grid-column: 3;
  justify-self: end;
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .nav-actions { display: flex; }
}

.nav-actions-divider {
  width: 1px;
  height: 24px;
  background: #e2e8f0;
  margin: 0 0.25rem;
}

.nav-social-btns { display: flex; gap: 0.35rem; }

.nav-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.nav-social-btn:hover {
  color: #0F172A;
  border-color: #cbd5e1;
  text-decoration: none;
}

.nav-social-btn svg { width: 14px; height: 14px; fill: currentColor; }

.nav-store-btns { display: flex; gap: 0.5rem; }

.nav-store-btn {
  background: #000;
  color: white;
  border: 1px solid #1e293b;
  border-radius: 0.75rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.nav-store-btn:hover {
  background: #0f172a;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

.nav-store-btn svg { flex-shrink: 0; }

.nav-mobile-cluster {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .nav-mobile-cluster { display: none; }
}

.nav-burger {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  color: #475569;
  transition: color 0.2s, border-color 0.2s;
}

.nav-burger:hover {
  color: #0F172A;
  border-color: #cbd5e1;
}

/* Mobile drawer */
.mobile-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background: rgba(2, 6, 23, 0.4);
  z-index: 39;
}

.mobile-drawer-backdrop.open { display: block; }

.mobile-drawer {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid #f1f5f9;
  z-index: 40;
  padding: 1rem 1rem 1.25rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

.mobile-drawer.open { display: flex; }

.mobile-drawer > a {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  padding: 0.75rem;
  border-radius: 0.75rem;
  transition: background 0.2s, color 0.2s;
}

.mobile-drawer > a:hover {
  background: #f8fafc;
  color: #0F172A;
  text-decoration: none;
}

.mobile-drawer-stores {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem 0;
}

.mobile-drawer-store-ios {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: #0f172a;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background 0.2s;
}

.mobile-drawer-store-ios:hover {
  background: #dc2626;
  color: white;
  text-decoration: none;
}

.mobile-drawer-store-android {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: #f8fafc;
  color: #0F172A;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: background 0.2s;
}

.mobile-drawer-store-android:hover {
  background: #f1f5f9;
  text-decoration: none;
}

.mobile-drawer-social-block {
  border-top: 1px solid #f1f5f9;
  padding: 1rem 0.75rem 0;
  margin-top: 0.5rem;
}

/* Safety: social block must only appear inside the mobile drawer */
body.site-chrome > .mobile-drawer-social-block {
  display: none !important;
}

.mobile-drawer-social-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  text-align: center;
  margin: 0 0 0.75rem;
}

.mobile-drawer-social-btns {
  display: flex;
  gap: 0.75rem;
  max-width: 24rem;
  margin: 0 auto;
  padding: 0 0.25rem;
}

.mobile-drawer-social-btn {
  flex: 1;
  text-align: center;
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  color: white;
}

.mobile-drawer-social-btn:hover { text-decoration: none; filter: brightness(1.05); }
.mobile-drawer-social-btn.fb { background: #1877F2; }
.mobile-drawer-social-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.mobile-drawer-social-note {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  margin: 0.75rem 0 0;
  line-height: 1.5;
}

/* ── Footer (max-w-7xl — same as homepage) ── */
.site-footer {
  background: #020617;
  border-top: 1px solid #0f172a;
  color: #94a3b8;
  padding: 3.5rem 0;
}

body.site-chrome .site-footer {
  margin-top: 3rem;
}

.site-footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .site-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .site-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
}

.site-footer-brand-name {
  display: inline-block;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  text-decoration: none;
  transition: color 0.2s;
}

a.site-footer-brand-name:hover {
  color: #f87171;
  text-decoration: none;
}

.site-footer-brand-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 20rem;
}

.site-footer-store-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-footer-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #334155;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: border-color 0.2s;
}

.site-footer-store-btn:hover {
  border-color: #64748b;
  color: white;
  text-decoration: none;
}

.site-footer-follow-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin: 1.25rem 0 0.5rem;
}

.site-footer-social-links { display: flex; gap: 0.5rem; }

.site-footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #1e293b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.site-footer-social-btn:hover {
  color: white;
  border-color: #475569;
  text-decoration: none;
}

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

.site-footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 1rem;
}

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

.site-footer-col ul li { margin-bottom: 0.75rem; }

.site-footer-col ul li a {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer-col ul li a:hover {
  color: white;
  text-decoration: none;
}

.site-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.6;
  text-align: center;
}

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

.site-footer-bottom p:last-child { white-space: nowrap; }

/* ── Floating contact (email + WhatsApp) ── */
.floating-contact {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 640px) {
  .floating-contact {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

.floating-contact-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.15), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.floating-contact-btn:hover {
  transform: scale(1.1);
  text-decoration: none;
}

.floating-contact-btn.email {
  background: #0f172a;
  color: white;
}

.floating-contact-btn.email svg {
  width: 1.5rem;
  height: 1.5rem;
}

.floating-contact-btn.whatsapp {
  background: #25d366;
}

.floating-contact-btn.whatsapp:hover {
  background: #20bd5a;
}

.floating-contact-btn.whatsapp svg {
  width: 1.75rem;
  height: 1.75rem;
}

/* ── Download modal (desktop) ── */
.download-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.download-modal.open {
  pointer-events: auto;
  opacity: 1;
}

.download-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.download-modal-panel {
  position: relative;
  width: 100%;
  max-width: 22rem;
  background: white;
  border-radius: 1rem;
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease;
}

.download-modal.open .download-modal-panel {
  transform: translateY(0) scale(1);
}

.download-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.download-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.download-modal-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  margin: 0 auto 1rem;
}

.download-modal-title {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 0.25rem;
}

.download-modal-subtitle {
  font-size: 0.9375rem;
  color: #64748b;
  margin: 0 0 1.25rem;
}

.download-modal-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.download-modal-qr-img {
  width: 168px;
  height: 168px;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: white;
}

.download-modal-qr-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  margin: 0;
}

.download-modal-or {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin: 0 0 0.875rem;
}

.download-modal-stores {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-modal-store {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: #0f172a;
  color: white;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.download-modal-store:hover {
  background: #1e293b;
  transform: translateY(-1px);
  text-decoration: none;
  color: white;
}

.download-modal-store span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.download-modal-store-sub {
  font-size: 0.625rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.2;
}

.download-modal-store-main {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}
