/* Serene Bloom — Static Site Enhancements & Form Confirmation Styling */

html {
  scroll-behavior: smooth;
}

/* Ensure header burger button and mobile menu transitions work reliably */
.header-burger-btn {
  cursor: pointer;
}

/* Smooth focus styles for form controls */
.sb-form-error {
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background-color: #fff4f2;
  border: 1px solid #c97b6d;
  color: #7a2e22;
  font-family: var(--body-font-font-family, "Libre Baskerville", Georgia, serif);
  font-size: 0.92rem;
  line-height: 1.5;
}

.sb-form-success {
  margin-top: 16px;
  padding: 24px 28px;
  border-radius: 20px;
  background-color: #fbf5ef;
  border: 1px solid rgba(47, 42, 37, 0.22);
  color: #2f2a25;
  font-family: var(--heading-font-font-family, "Libre Baskerville", Georgia, serif);
  font-size: 1.05rem;
  line-height: 1.65;
  box-shadow: 0 4px 20px rgba(47, 42, 37, 0.06);
}

.sb-form-success p {
  margin: 0;
  color: #2f2a25;
}

.sb-field-invalid {
  outline: 2px solid #b5483a !important;
  outline-offset: 1px;
}

.sb-field-error-msg {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #8c2d20;
  font-family: var(--body-font-font-family, Georgia, serif);
}

/* Accordion smooth plus/minus icon state */
.sqs-block-accordion .accordion-item[data-is-open="true"] .plus__vertical-line {
  transform: rotate(90deg);
  opacity: 0;
}

.sqs-block-accordion .plus__vertical-line {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* 404 Page Styling */
.sb-404-section {
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  background-color: #f4ddd1;
  color: #2f2a25;
}

.sb-404-inner {
  max-width: 620px;
  margin: 0 auto;
}

.sb-404-eyebrow {
  font-family: var(--body-font-font-family, sans-serif);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(47, 42, 37, 0.7);
  margin-bottom: 14px;
}

.sb-404-title {
  font-family: var(--heading-font-font-family, "Libre Baskerville", Georgia, serif);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 20px;
  color: #2f2a25;
}

.sb-404-text {
  font-family: var(--body-font-font-family, sans-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 34px;
  color: rgba(47, 42, 37, 0.85);
}

.sb-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.sb-404-btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 10px;
  background-color: #2f2a25;
  color: #fbf5ef !important;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sb-404-btn:hover {
  opacity: 0.88;
}

.sb-404-btn--secondary {
  background-color: transparent;
  color: #2f2a25 !important;
  border: 1px solid #2f2a25;
}
