/* Cultivaro Minimal — small enhancements */
html { scroll-behavior: smooth; }

/* Constrained width for readability */
.wp-site-blocks { min-height: 100vh; }

/* Subtle dividers */
.cv-line { border-top: 1px solid var(--wp--preset--color--line); }

/* “Apple-like” button variants via className */
.cv-btn {
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(243,244,246,0.14);
  background: rgba(243,244,246,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
}
.cv-btn:hover { background: rgba(243,244,246,0.10); }

.cv-btn--primary {
  background: var(--wp--preset--color--text);
  color: var(--wp--preset--color--bg);
  border-color: transparent;
}
.cv-btn--primary:hover { filter: brightness(0.95); }

/* Hero spacing helpers */
.cv-hero { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(40px, 5vw, 88px); }

/* A simple reveal animation hook (add class "cv-reveal" in Advanced -> Additional CSS class(es)) */
.cv-reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.cv-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Desktop: breathing room from the viewport edges */
@media (min-width: 1024px) {
  .wp-site-blocks > .wp-block-group,
  .wp-site-blocks > header,
  .wp-site-blocks > main,
  .wp-site-blocks > footer {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Floating scroll-to-top button */
.cv-scrolltop{
  position: fixed;
  left: 32px;
  bottom: 28px;
  z-index: 9999;

  width: 64px;
  height: 64px;
  border-radius: 999px;
	
  font-size: 20px;
  line-height: 1;	

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(243,244,246,0.18);
  background: rgba(243,244,246,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: var(--wp--preset--color--text);
  cursor: pointer;

  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}

.cv-scrolltop:hover{
  background: rgba(243,244,246,0.12);
}

.cv-scrolltop.is-visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Optional: on very small screens, move it a bit inward */
@media (max-width: 480px){
  .cv-scrolltop{ left: 12px; bottom: 12px; }
}