/* ==========================================================================
   GOLIVO — "GET GOLIVO" CTA MODAL
   Trigger button uses .golivo-btn--primary (golivo-components.css).
   Modal is rendered once in the footer and opened by any .golivo-cta-trigger.
   ========================================================================== */

.golivo-cta-overlay{
  position: fixed;
  inset: 0;
  background: rgba(43, 38, 34, 0.45); /* text-primary at low opacity, not pure black */
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}
.golivo-cta-overlay.is-open{ display: flex; }

.golivo-cta-panel{
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--golivo-paper);
  border: 0.5px solid var(--golivo-border);
  border-radius: var(--golivo-radius-xl);
  padding: 36px 32px 32px;
  box-shadow: 0 12px 32px rgba(58, 44, 34, 0.18);
}

.golivo-cta-close{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--golivo-text-secondary);
  cursor: pointer;
  border-radius: var(--golivo-radius-sm);
}
.golivo-cta-close:hover{ background: var(--golivo-linen); color: var(--golivo-text-primary); }
.golivo-cta-close svg{ width: 16px; height: 16px; }

.golivo-cta-eyebrow{
  font-family: var(--golivo-font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--golivo-terracotta-deep);
  margin: 0 0 8px;
}

.golivo-cta-title{
  font-family: var(--golivo-font-display);
  font-weight: 500;
  font-variation-settings: 'opsz' 32;
  font-size: 24px;
  line-height: 1.25;
  color: var(--golivo-text-primary);
  margin: 0 0 10px;
}

.golivo-cta-body{
  font-family: var(--golivo-font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--golivo-text-secondary);
  margin: 0 0 22px;
}

.golivo-cta-form .wpcf7-form-control-wrap{ display: block; margin-bottom: 12px; }
.golivo-cta-form input[type="email"],
.golivo-cta-form input[type="text"]{
  /* inherits .golivo-field visual style, applied via golivo-elementor-overrides.css
     onto CF7's native markup so we don't need to fight CF7's own wrapper divs */
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: var(--golivo-card);
  border: 1px solid var(--golivo-border-strong);
  border-radius: var(--golivo-radius-md);
  font-family: var(--golivo-font-body);
  font-size: 14px;
  color: var(--golivo-text-primary);
}
.golivo-cta-form input:focus{ outline: none; border-color: var(--golivo-terracotta); }

.golivo-cta-form .wpcf7-submit{
  width: 100%;
  margin-top: 4px;
}

.golivo-cta-microcopy{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--golivo-font-body);
  font-size: 12px;
  color: var(--golivo-text-muted);
}
.golivo-cta-microcopy svg{ width: 14px; height: 14px; flex-shrink: 0; color: var(--golivo-olive-deep); }

.golivo-cta-success{
  display: none;
  text-align: center;
  padding: 12px 0 4px;
}
.golivo-cta-success.is-visible{ display: block; }
.golivo-cta-success .golivo-cta-success-icon{
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--golivo-success-bg);
  color: var(--golivo-success-text);
  display: flex; align-items: center; justify-content: center;
}
.golivo-cta-success .golivo-cta-success-icon svg{ width: 22px; height: 22px; }

.golivo-cta-form.is-hidden{ display: none; }

/* Screen reader only text for form status */
.golivo-sr-only{
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
