/* 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;
}

/* Join Our Team — "How Our Care Partner Model Works" Equal-Height Aligned Cards */
.fe-6b05dfa12fa8ad147fdb73e3 .fe-block-6998ba7961998d4359bf,
.fe-6b05dfa12fa8ad147fdb73e3 .fe-block-e7b5c6429284795cf133,
.fe-6b05dfa12fa8ad147fdb73e3 .fe-block-2862465057fe2ed878ae {
  height: 100%;
}

#block-6998ba7961998d4359bf,
#block-e7b5c6429284795cf133,
#block-2862465057fe2ed878ae {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

#block-6998ba7961998d4359bf .sqs-block-content,
#block-e7b5c6429284795cf133 .sqs-block-content,
#block-2862465057fe2ed878ae .sqs-block-content,
#block-6998ba7961998d4359bf .sqs-text-block-container,
#block-e7b5c6429284795cf133 .sqs-text-block-container,
#block-2862465057fe2ed878ae .sqs-text-block-container {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

#block-6998ba7961998d4359bf .sqs-html-content,
#block-e7b5c6429284795cf133 .sqs-html-content,
#block-2862465057fe2ed878ae .sqs-html-content {
  display: grid;
  grid-template-rows: 3.4em 1fr;
  row-gap: 4.5rem;
  align-items: start;
  align-content: start;
  flex: 1 1 auto;
  height: 100%;
  box-sizing: border-box;
  padding: 28px 24px 32px !important;
}

#block-6998ba7961998d4359bf .sqs-html-content p:empty,
#block-e7b5c6429284795cf133 .sqs-html-content p:empty,
#block-2862465057fe2ed878ae .sqs-html-content p:empty {
  display: none;
}

#block-6998ba7961998d4359bf .sqs-html-content p,
#block-e7b5c6429284795cf133 .sqs-html-content p,
#block-2862465057fe2ed878ae .sqs-html-content p {
  margin: 0 !important;
}

#block-6998ba7961998d4359bf .sqs-html-content p.sqsrte-large,
#block-e7b5c6429284795cf133 .sqs-html-content p.sqsrte-large,
#block-2862465057fe2ed878ae .sqs-html-content p.sqsrte-large {
  line-height: 1.4;
}

#block-6998ba7961998d4359bf .sqs-html-content p.sqsrte-small,
#block-e7b5c6429284795cf133 .sqs-html-content p.sqsrte-small,
#block-2862465057fe2ed878ae .sqs-html-content p.sqsrte-small {
  align-self: start;
}

@media (min-width: 768px) and (max-width: 1120px) {
  #block-6998ba7961998d4359bf .sqs-html-content,
  #block-e7b5c6429284795cf133 .sqs-html-content,
  #block-2862465057fe2ed878ae .sqs-html-content {
    grid-template-rows: 4.8em 1fr;
    row-gap: 3rem;
    padding: 22px 18px 26px !important;
  }
}

@media (max-width: 767px) {
  .fe-6b05dfa12fa8ad147fdb73e3 {
    grid-template-rows: auto !important;
    row-gap: 20px !important;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .fe-6b05dfa12fa8ad147fdb73e3 .fe-block-bfae664b58c1ba596b53 {
    grid-area: auto / 2 / auto / 10 !important;
  }

  .fe-6b05dfa12fa8ad147fdb73e3 .fe-block-6998ba7961998d4359bf,
  .fe-6b05dfa12fa8ad147fdb73e3 .fe-block-e7b5c6429284795cf133,
  .fe-6b05dfa12fa8ad147fdb73e3 .fe-block-2862465057fe2ed878ae {
    grid-area: auto / 2 / auto / 10 !important;
    height: auto;
  }

  #block-6998ba7961998d4359bf .sqs-html-content,
  #block-e7b5c6429284795cf133 .sqs-html-content,
  #block-2862465057fe2ed878ae .sqs-html-content {
    grid-template-rows: auto auto;
    row-gap: 1.5rem;
    padding: 24px 22px 26px !important;
  }
}

/* ==========================================================================
   RESPONSIVE SCALED-TEXT HEADINGS (Prevents clipping across phones & tablets
   while preserving exact desktop proportions at 1440px)
   ========================================================================== */
#block-e27372c618d419de0661 .sqsrte-scaled-text {
  font-size: clamp(2.25rem, 8.2vw, 119.4px) !important;
}

#block-ff89af01ed5f0011a176 .sqsrte-scaled-text {
  font-size: clamp(2.1rem, 6.15vw, 88.7px) !important;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE LAYOUT (<= 767px)
   Preserves desktop (>= 768px) layout while fixing overlaps, aspect ratios,
   and typography across iPhone SE (375px), iPhone 16 (393px), Android (360-412px),
   and large phones (430px).
   ========================================================================== */
@media (max-width: 767px) {
  html,
  body {
    overflow-x: clip;
  }

  /* Prevent iOS Safari auto-zoom when tapping form fields */
  form[data-web3forms="true"] input[type="text"],
  form[data-web3forms="true"] input[type="email"],
  form[data-web3forms="true"] input[type="tel"],
  form[data-web3forms="true"] input[type="date"],
  form[data-web3forms="true"] textarea,
  form[data-web3forms="true"] select {
    font-size: 16px !important;
  }

  /* Scaled-text headings wrap cleanly without clipping (beats Squarespace 4-class !important nowrap) */
  .sqs-block-html .sqs-html-content .sqsrte-scaled-text-container,
  .sqs-block-html .sqs-html-content .sqsrte-scaled-text-container.loaded,
  .sqs-block-html .sqs-html-content .sqsrte-scaled-text-container > .sqsrte-scaled-text,
  .sqs-block-html .sqs-html-content .sqsrte-scaled-text-container > .sqsrte-scaled-text h1,
  .sqs-block-html .sqs-html-content .sqsrte-scaled-text-container > .sqsrte-scaled-text h2,
  .sqs-block-html .sqs-html-content .sqsrte-scaled-text-container > .sqsrte-scaled-text h3,
  .sqs-block-html .sqs-html-content .sqsrte-scaled-text-container > .sqsrte-scaled-text h4,
  .sqs-block-html .sqs-html-content .sqsrte-scaled-text-container > .sqsrte-scaled-text p,
  #block-e27372c618d419de0661 .sqs-html-content .sqsrte-scaled-text,
  #block-e27372c618d419de0661 .sqs-html-content .sqsrte-scaled-text *,
  #block-ff89af01ed5f0011a176 .sqs-html-content .sqsrte-scaled-text,
  #block-ff89af01ed5f0011a176 .sqs-html-content .sqsrte-scaled-text * {
    display: block !important;
    white-space: normal !important;
    overflow: visible !important;
    max-width: 100% !important;
    width: 100% !important;
    line-height: 1.15 !important;
    word-break: normal !important;
  }

  #block-e27372c618d419de0661 .sqs-html-content .sqsrte-scaled-text,
  #block-e27372c618d419de0661 .sqs-html-content .sqsrte-scaled-text h1 {
    font-size: clamp(1.55rem, 7.1vw, 2.2rem) !important;
  }

  #block-ff89af01ed5f0011a176 .sqs-html-content .sqsrte-scaled-text,
  #block-ff89af01ed5f0011a176 .sqs-html-content .sqsrte-scaled-text h4 {
    font-size: clamp(2.0rem, 8.0vw, 2.55rem) !important;
  }

  /* Restore true 1:1 circular images on mobile (overrides baked desktop px height + crisp circle on iOS Safari) */
  .sqs-block[data-definition-name="website.components.imageFluid"]
    .fluid-image-component-root[data-shape-mask="circle"] {
    --image-component-container-height: auto !important;
    height: auto !important;
  }

  .sqs-block[data-definition-name="website.components.imageFluid"]
    .fluid-image-component-root[data-shape-mask="circle"]
    .sqs-image-content {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    border-radius: 50% !important;
    overflow: hidden !important;
  }

  /* ------------------------------------------------------------------------
     1. HOME PAGE (/) — Wavy Divider Clearance + "Let's Plan Your Retreat"
     ------------------------------------------------------------------------ */
  /* Keep wavy bottom divider cleanly below "exhale. Learn More" */
  section[data-section-id="6afe574791b6877790341f07"] .content-wrapper {
    padding-top: 36px !important;
    padding-bottom: 84px !important;
  }

  .fe-6afe574791b6877790341f06 {
    grid-template-rows: auto !important;
    row-gap: 18px !important;
  }

  .fe-6afe574791b6877790341f06 .fe-block {
    grid-area: auto / 2 / auto / 10 !important;
  }

  /* Clean vertical stacking for "Let's Plan Your Retreat" heading -> intro -> form */
  section[data-section-id="6afe574791b6877790341f0c"] .content-wrapper {
    padding-top: 32px !important;
    padding-bottom: 48px !important;
  }

  .fe-6afe574791b6877790341f0b {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding-left: 6vw !important;
    padding-right: 6vw !important;
    box-sizing: border-box;
  }

  .fe-6afe574791b6877790341f0b .fe-block {
    grid-area: auto !important;
    width: 100% !important;
  }

  .fe-6afe574791b6877790341f0b .fe-block-e27372c618d419de0661 {
    order: 1 !important;
  }

  .fe-6afe574791b6877790341f0b .fe-block-7faf8001f9b52c5ff4b8 {
    order: 2 !important;
  }

  .fe-6afe574791b6877790341f0b .fe-block-105ec2d751c53e4dd1bc {
    order: 3 !important;
  }

  /* ------------------------------------------------------------------------
     2. ABOUT PAGE (/about) — "Our Story" signature & circle photo separation
     ------------------------------------------------------------------------ */
  section[data-section-id="6afe574791b6877790341ecc"] .content-wrapper {
    padding-top: 28px !important;
    padding-bottom: 44px !important;
  }

  .fe-6afe574791b6877790341ecb {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
    padding-left: 6vw !important;
    padding-right: 6vw !important;
    box-sizing: border-box;
  }

  .fe-6afe574791b6877790341ecb .fe-block {
    grid-area: auto !important;
    width: 100% !important;
  }

  .fe-6afe574791b6877790341ecb .fe-block-d0aece2a4d6b1a92af80 {
    order: 1 !important;
  }

  .fe-6afe574791b6877790341ecb .fe-block-845a8ca36fd2ec19a210 {
    order: 2 !important;
  }

  .fe-6afe574791b6877790341ecb .fe-block-338da86fffd44e63061c {
    order: 3 !important;
    max-width: 330px;
    margin: 8px auto 0 !important;
  }

  /* ------------------------------------------------------------------------
     3. SERVICES PAGE (/services) — Clean Image -> Title -> Bullets Flow
     ------------------------------------------------------------------------ */
  section[data-section-id="6afe574791b6877790341ee5"] .content-wrapper {
    padding-top: 8px !important;
    padding-bottom: 48px !important;
  }

  .fe-6afe574791b6877790341ee4 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding-left: 6vw !important;
    padding-right: 6vw !important;
    box-sizing: border-box;
  }

  .fe-6afe574791b6877790341ee4 .fe-block {
    grid-area: auto !important;
    width: 100% !important;
  }

  /* Override baked desktop container heights on the 3 service photos */
  .fe-6afe574791b6877790341ee4
    .sqs-block[data-definition-name="website.components.imageFluid"]
    .fluid-image-component-root {
    --image-component-container-height: auto !important;
    height: auto !important;
  }

  .fe-6afe574791b6877790341ee4
    .sqs-block[data-definition-name="website.components.imageFluid"]
    .sqs-image-content {
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    width: 100% !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  /* Service 1: True Rest & Recovery */
  .fe-6afe574791b6877790341ee4 .fe-block-a03f479f873754ab5aa3 {
    order: 1 !important;
    margin-bottom: 18px !important;
  }
  .fe-6afe574791b6877790341ee4 .fe-block-7a502d358a6e3b96dad4 {
    order: 2 !important;
    margin-bottom: 8px !important;
  }
  .fe-6afe574791b6877790341ee4 .fe-block-30604aab5e423f311814 {
    order: 3 !important;
    margin-bottom: 40px !important;
  }

  /* Service 2: Warm Nourishment */
  .fe-6afe574791b6877790341ee4 .fe-block-13addc3264b29aafa021 {
    order: 4 !important;
    margin-bottom: 18px !important;
  }
  .fe-6afe574791b6877790341ee4 .fe-block-e22ecacfdbf9edd3ee0d {
    order: 5 !important;
    margin-bottom: 8px !important;
  }
  .fe-6afe574791b6877790341ee4 .fe-block-2311016e1b8f128fd4a9 {
    order: 6 !important;
    margin-bottom: 40px !important;
  }

  /* Service 3: Gentle Newborn Support */
  .fe-6afe574791b6877790341ee4 .fe-block-aa00ecc5050eed50d8c6 {
    order: 7 !important;
    margin-bottom: 18px !important;
  }
  .fe-6afe574791b6877790341ee4 .fe-block-509867b68fa8a78990ed {
    order: 8 !important;
    margin-bottom: 8px !important;
  }
  .fe-6afe574791b6877790341ee4 .fe-block-2f8bb783272a4f5e95e4 {
    order: 9 !important;
    margin-bottom: 32px !important;
  }

  /* CTA Button */
  .fe-6afe574791b6877790341ee4 .fe-block-yui_3_17_2_1_1795475649454_13542 {
    order: 10 !important;
    display: flex !important;
    justify-content: center !important;
  }

  .fe-6afe574791b6877790341ee4 .sqs-block-button-element {
    min-height: 54px !important;
    padding: 14px 32px !important;
    box-sizing: border-box !important;
  }

  .fe-6afe574791b6877790341ee4 h3,
  .fe-6afe574791b6877790341ee4 h4 {
    margin: 0 !important;
  }

  /* ------------------------------------------------------------------------
     4. RETREAT PACKAGES (/retreat-packages) — Left-Align Card Descriptions
     ------------------------------------------------------------------------ */
  #block-f36cbff3be5d247da38c .sqs-html-content p,
  #block-eff28042cab832e467f7 .sqs-html-content p,
  #block-1fc24063e1509df491f8 .sqs-html-content p {
    text-align: left !important;
  }

  #block-f36cbff3be5d247da38c .sqs-html-content,
  #block-eff28042cab832e467f7 .sqs-html-content,
  #block-1fc24063e1509df491f8 .sqs-html-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }

  /* Ensure package card divider lines have matching inset margins */
  .fe-6b04d5e8923b33290283c0c2 .fe-block-8cf2bb2fb3c9275eb68c,
  .fe-6b04d5e8923b33290283c0c2 .fe-block-c2fd9073cb15c6724c53,
  .fe-6b04d5e8923b33290283c0c2 .fe-block-0dfd3369a7ac985f1e66 {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  /* ------------------------------------------------------------------------
     5. JOIN OUR TEAM (/join-our-team) — Hero, 4 Circular Photos, & Form Intro
     ------------------------------------------------------------------------ */
  /* Top Hero: Partner With Serene Bloom */
  section[data-section-id="6b05dfa12fa8ad147fdb73d8"] .content-wrapper {
    padding-top: 24px !important;
    padding-bottom: 36px !important;
  }

  .fe-6b05dfa12fa8ad147fdb73d7 {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding-left: 6vw !important;
    padding-right: 6vw !important;
    box-sizing: border-box;
  }

  .fe-6b05dfa12fa8ad147fdb73d7 .fe-block {
    grid-area: auto !important;
    width: 100% !important;
  }

  .fe-6b05dfa12fa8ad147fdb73d7
    .sqs-block[data-definition-name="website.components.imageFluid"]
    .fluid-image-component-root {
    --image-component-container-height: auto !important;
    height: auto !important;
  }

  .fe-6b05dfa12fa8ad147fdb73d7
    .sqs-block[data-definition-name="website.components.imageFluid"]
    .sqs-image-content {
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    width: 100% !important;
  }

  /* "Who We're Looking For" + 2x2 Perfect Circular Photos */
  section[data-section-id="6b05e72b0164a71ac5debd4f"] .content-wrapper {
    padding-top: 32px !important;
    padding-bottom: 44px !important;
  }

  .fe-6b05e72b0164a71ac5debd4e {
    grid-template-rows: auto !important;
    row-gap: 18px !important;
    column-gap: 18px !important;
  }

  /* Stack all text, rules, and CTA button full-width */
  .fe-6b05e72b0164a71ac5debd4e .fe-block-ab35e372612782ad5a76 { grid-area: 1 / 2 / 2 / 10 !important; }
  .fe-6b05e72b0164a71ac5debd4e .fe-block-9155528ee8bc920d4452 { grid-area: 2 / 2 / 3 / 10 !important; }
  .fe-6b05e72b0164a71ac5debd4e .fe-block-yui_3_17_2_1_1795549060310_4753 { grid-area: 3 / 2 / 4 / 10 !important; }
  .fe-6b05e72b0164a71ac5debd4e .fe-block-f3b493cac968944da471 { grid-area: 4 / 2 / 5 / 10 !important; }
  .fe-6b05e72b0164a71ac5debd4e .fe-block-f6e8f57c9564b4bc58c9 { grid-area: 5 / 2 / 6 / 10 !important; }
  .fe-6b05e72b0164a71ac5debd4e .fe-block-93152db72cfd861cbbd2 { grid-area: 6 / 2 / 7 / 10 !important; }
  .fe-6b05e72b0164a71ac5debd4e .fe-block-7ef4235392e94034a5b2 { grid-area: 7 / 2 / 8 / 10 !important; }
  .fe-6b05e72b0164a71ac5debd4e .fe-block-7766e2c9693a2e5c30e7 { grid-area: 8 / 2 / 9 / 10 !important; }
  .fe-6b05e72b0164a71ac5debd4e .fe-block-6060a605a8e496982865 { grid-area: 9 / 2 / 10 / 10 !important; }
  .fe-6b05e72b0164a71ac5debd4e .fe-block-4297af7fb481ec8c4185 {
    grid-area: 10 / 2 / 11 / 10 !important;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
  }

  .fe-6b05e72b0164a71ac5debd4e .fe-block-4297af7fb481ec8c4185 .sqs-block-button-element {
    min-height: 54px !important;
    padding: 14px 32px !important;
    box-sizing: border-box !important;
  }

  /* 2x2 grid of crisp 1:1 circular photos below "Apply to Partner" */
  .fe-6b05e72b0164a71ac5debd4e .fe-block-406dfed53b77a8c1acf7 { grid-area: 11 / 2 / 12 / 6 !important; }
  .fe-6b05e72b0164a71ac5debd4e .fe-block-fca6521ca4d952ccfe0c { grid-area: 11 / 6 / 12 / 10 !important; }
  .fe-6b05e72b0164a71ac5debd4e .fe-block-21024b70e4aa5a930bbd { grid-area: 12 / 2 / 13 / 6 !important; }
  .fe-6b05e72b0164a71ac5debd4e .fe-block-d46f28720913d58f48af { grid-area: 12 / 6 / 13 / 10 !important; }

  /* "Apply to Join Our Care Team" heading -> intro -> form */
  section[data-section-id="6b05dfa12fa8ad147fdb73f0"] .content-wrapper {
    padding-top: 32px !important;
    padding-bottom: 44px !important;
  }

  .fe-6b05dfa12fa8ad147fdb73ef {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    padding-left: 6vw !important;
    padding-right: 6vw !important;
    box-sizing: border-box;
  }

  .fe-6b05dfa12fa8ad147fdb73ef .fe-block {
    grid-area: auto !important;
    width: 100% !important;
  }

  .fe-6b05dfa12fa8ad147fdb73ef .fe-block-5b24d7aa30495159d3de {
    order: 1 !important;
  }

  .fe-6b05dfa12fa8ad147fdb73ef .fe-block-2efcc149840d5de79c07 {
    order: 2 !important;
  }

  .fe-6b05dfa12fa8ad147fdb73ef .fe-block-94e36d86e0f5374debe9 {
    order: 3 !important;
  }
}


