/* ==========================================================================
   home.css — styles for the Home page only (index.html, body.page-home).
   Loaded after shared styles.css.
   ========================================================================== */

/* ---------- Header: brandmark name ---------- */
.page-home .site-header__identity {
  display: flex;
  align-items: center;
}
.page-home .brandmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.page-home .brandmark__name {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--accent);
  transition: opacity 0.2s ease;
}
.page-home .brandmark:hover .brandmark__name {
  opacity: 0.85;
}
@media (max-width: 640px) {
  .page-home .site-header .container {
    padding-inline: clamp(10px, 3vw, 16px) !important;
  }
  .page-home .site-header__inner {
    gap: 8px !important;
    padding-block: 10px !important;
  }
  .page-home .site-header__identity {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  .page-home .brandmark__name {
    font-size: clamp(14px, 3.8vw, 17.5px) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }
  .page-home .site-header__actions {
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .page-home .site-header__btn,
  .page-home .btn--header-book {
    padding: 6px 11px !important;
    font-size: 13.5px !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    height: 32px !important;
    min-height: 32px !important;
  }
  .page-home .site-header__actions .language-switch {
    font-size: 14px !important;
    padding: 4px 3px !important;
    font-weight: 700 !important;
  }
}
@media (max-width: 480px) {
  .page-home .site-header__actions .language-switch {
    display: none !important;
  }
}
@media (max-width: 340px) {
  .page-home .site-header .container {
    padding-inline: 8px !important;
  }
  .page-home .brandmark__name {
    font-size: 13px !important;
  }
  .page-home .site-header__btn,
  .page-home .btn--header-book {
    padding: 5px 8px !important;
    font-size: 12.5px !important;
  }
}

/* ---------- Headings in Life Savers rounded font ---------- */
.page-home .hero-top {
  text-align: center;
  max-width: 960px;
  margin: 0 auto clamp(28px, 4vw, 44px);
}
.page-home .hero__headline {
  font-family: "Life Savers", "Comic Sans MS", cursive;
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--accent);
  text-align: center;
  margin: 0 auto 20px;
}

/* Subheading in Hero section:
   - Same font as main text (Raleway)
   - Bigger than the font in the rest of the page (clamp 21px - 25px vs 18px body)
   - Slightly darker gray (#262626) so it stands out */
.page-home .hero__sub {
  font-family: "Raleway", sans-serif !important;
  font-weight: 400 !important;
  font-size: clamp(21px, 2.2vw, 25px) !important;
  line-height: 1.6 !important;
  color: #262626 !important;
  text-align: center;
  margin: 0 auto 36px auto !important;
  max-width: 860px;
}

.page-home .situations-heading,
.page-home .section__heading,
.page-home .section--reviews h2,
.page-home .closing-band__heading {
  font-family: "Life Savers", "Comic Sans MS", cursive;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
}
.page-home .situations-heading,
.page-home .section__heading {
  color: var(--accent);
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.2;
  margin: 0 0 24px;
}
.page-home .situations-heading em { font-style: normal; }

/* ---------- Paragraph Spacing: Strictly uniform across the main content ---------- */
.page-home .section-copy p,
.page-home .message__point,
.page-home .message__closing,
.page-home .section--hero-situations .hero__sub + * p {
  font-size: 18px;
  line-height: 1.7;
  color: #333333;
  font-weight: 300;
  margin-top: 0;
  margin-bottom: 20px !important;
}

/* ---------- Text wraps around images (desktop) ---------- */
.page-home .wrap-layout {
  display: flow-root; /* contains the floated image */
}
.page-home .wrap-figure {
  margin: 0;
}
.page-home .pink-frame {
  background: var(--accent-light);
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(242, 133, 124, 0.15);
  box-sizing: border-box;
}
.page-home .pink-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}
@media (min-width: 881px) {
  .page-home .wrap-figure {
    width: 42%;
    max-width: 460px;
  }
  .page-home .wrap-figure--left {
    float: left;
    margin: 4px 44px 24px 0; /* Aligned with the height of the headings */
  }
  .page-home .wrap-figure--right {
    float: right;
    margin: 4px 0 24px 44px;
  }
  /* Welcome section: left as it is with image top aligned to first line of text */
  .page-home .section--welcome .wrap-figure {
    float: right;
    width: 42% !important;
    max-width: 460px !important;
    margin: clamp(66px, 6.2vw, 77px) 0 24px 44px !important;
  }
  .page-home .section--welcome .wrap-figure img {
    height: auto !important;
    max-height: none !important;
    object-fit: visible !important;
  }
  /* Section 5 (My Message to You): matches Section 4 image size */
  .page-home .section--message .wrap-figure {
    width: 42% !important;
    max-width: 460px !important;
    margin: 4px 44px 24px 0 !important;
  }
}

/* Mobile version: Ensure proper generous spacing between images and section headings */
@media (max-width: 880px) {
  .page-home .wrap-figure,
  .page-home .pink-frame {
    float: none !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto 36px auto !important; /* Proper generous spacing below image on mobile */
  }
  .page-home .wrap-figure img {
    margin: 0 auto;
  }
  .page-home .section-copy {
    margin-top: 0 !important;
  }
  .page-home .situations-heading,
  .page-home .section__heading {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }
}

/* Ensure Section 5 message items do not use flex so text flows freely around float */
.page-home .message__points {
  display: block !important;
  margin: 0 !important;
  gap: 0 !important;
}

/* Boxes beside a floated image narrow to fit instead of sliding under it */
.page-home .wrap-layout .callout,
.page-home .wrap-layout .situation-closing-card {
  display: flow-root;
}

/* ---------- "Is this you?" list: arrow, then text on the same line ---------- */
.page-home .situation-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}
.page-home .situation-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 12px;
  padding: 0;
}
.page-home .situation-list li::marker { content: none; }
.page-home .situation-list .bullet-arrow {
  flex: 0 0 auto;
  color: #000000;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.6;
}
.page-home .situation-list li p {
  margin: 0 !important;
  font-size: 18px;
  line-height: 1.6;
  color: #333333;
  font-weight: 300;
}

/* ---------- Buttons: square geometry, no underlines ---------- */
.page-home .btn,
.page-home .btn:hover,
.page-home .btn:focus,
.page-home .btn:visited {
  text-decoration: none !important;
}
.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  box-shadow: none;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 13px 28px;
  cursor: pointer;
  transform: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.page-home .btn:hover { transform: none; }

/* 1. Header Book Button: Dark pink background, white text, prominent */
.page-home .site-header__btn,
.page-home .btn--header-book {
  background: var(--accent) !important;
  color: #ffffff !important;
  border: 2px solid var(--accent) !important;
  padding: 9px 22px !important;
  font-weight: 600;
}
.page-home .site-header__btn:hover,
.page-home .btn--header-book:hover,
.page-home .site-header__btn:focus-visible,
.page-home .btn--header-book:focus-visible {
  background: #dc6f66 !important;
  color: #ffffff !important;
  border-color: #dc6f66 !important;
}

/* 2. On white / light pink backgrounds (all body buttons stay outline) */
.page-home .btn--outline {
  background: #ffffff;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.page-home .btn--outline:hover,
.page-home .btn--outline:focus-visible {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* 3. On the dark pink background (Closing CTA):
      Hover turns WRITING to dark pink, background stays white (not gray) */
.page-home .btn--on-dark {
  background: #ffffff !important;
  color: #333333 !important;
  border: 2px solid #ffffff !important;
}
.page-home .btn--on-dark:hover,
.page-home .btn--on-dark:focus-visible {
  background: #ffffff !important;
  color: var(--accent) !important; /* writing turns dark pink */
  border-color: #ffffff !important;
}

/* Last section above disclaimer: line in pure white */
.page-home .closing-band__sub,
.page-home .section--closing-band p {
  color: #ffffff !important;
  opacity: 1 !important;
  margin-top: 14px !important;
}

/* ---------- Reviews: Unified Google Review Cards ---------- */
.page-home .reviews__item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 12px !important;
  min-height: auto !important;
}
.page-home .google-review-card {
  background: #ffffff;
  border: 1px solid #e3e5e8;
  border-radius: 8px;
  padding: 24px 28px;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.08);
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-align: left;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  box-sizing: border-box;
}
.page-home .google-review-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.page-home .google-review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-home .google-review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.page-home .google-review-card__avatar--letter {
  color: #ffffff;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
}
.page-home .google-review-card__meta {
  flex: 1 1 auto;
}
.page-home .google-review-card__name {
  font-size: 15px;
  font-weight: 600;
  color: #202124;
  line-height: 1.3;
}
.page-home .google-review-card__sub {
  font-size: 13px;
  color: #70757a;
  line-height: 1.3;
}
.page-home .google-review-card__more {
  flex: 0 0 auto;
  opacity: 0.6;
}
.page-home .google-review-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.page-home .google-review-card__stars {
  display: inline-flex;
  gap: 2px;
  color: #fbbc04; /* Google star yellow */
  font-size: 17px;
  line-height: 1;
  letter-spacing: 1px;
}
.page-home .google-review-card__date {
  font-size: 13px;
  color: #70757a;
}
.page-home .google-review-card__badge-new {
  display: inline-block;
  background: #f1f3f4;
  color: #3c4043;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 2px;
  letter-spacing: 0.02em;
}
.page-home .google-review-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: #3c4043;
  font-weight: 400;
}
.page-home .google-review-card__translation {
  margin-top: 14px;
  font-size: 12.5px;
  color: #70757a;
}
.page-home .google-review-card__translation a {
  color: #1a73e8;
  text-decoration: none;
}

/* Centered alignment for CTA buttons in 'How we work' and 'My message to you' */
.page-home .how-we-work__cta,
.page-home .message__cta {
  display: flex !important;
  justify-content: center !important;
  text-align: center !important;
  margin-top: 32px !important;
  clear: both;
}

/* ==========================================================================
   Desktop Header Navigation: Uniform Spacing & No Line Wrapping
   ========================================================================== */
@media (min-width: 1101px) {
  .page-home .site-header .container {
    max-width: 1280px !important;
    padding-inline: clamp(24px, 3vw, 48px) !important;
  }
  .page-home .site-nav {
    display: flex !important;
    gap: clamp(16px, 1.8vw, 24px) !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }
  .page-home .site-nav__link {
    white-space: nowrap !important;
    font-size: clamp(15.5px, 1.2vw, 17.5px) !important;
    font-family: "Raleway", sans-serif !important;
  }
  .page-home .site-nav__dropdown-btn {
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   Headings: Strictly Dark Pink (var(--accent)), even when bolded
   ========================================================================== */
.page-home h1,
.page-home h1 *,
.page-home h2:not(.closing-band__heading),
.page-home h2:not(.closing-band__heading) *,
.page-home h3,
.page-home h3 *,
.page-home h4,
.page-home h4 *,
.page-home .hero__headline,
.page-home .hero__headline *,
.page-home .section__heading,
.page-home .section__heading *,
.page-home .situations-heading,
.page-home .situations-heading * {
  color: var(--accent) !important;
}

/* When any heading or element inside it is made bold, it stays dark pink and renders 700 bold */
.page-home h1 b, .page-home h1 strong,
.page-home h2:not(.closing-band__heading) b, .page-home h2:not(.closing-band__heading) strong,
.page-home h3 b, .page-home h3 strong,
.page-home h4 b, .page-home h4 strong,
.page-home .hero__headline b, .page-home .hero__headline strong,
.page-home .section__heading b, .page-home .section__heading strong,
.page-home .situations-heading b, .page-home .situations-heading strong {
  color: var(--accent) !important;
  font-weight: 700 !important;
}

/* Closing band heading on dark pink background stays white */
.page-home .section--closing-band .closing-band__heading,
.page-home .section--closing-band .closing-band__heading * {
  color: #ffffff !important;
}

/* ==========================================================================
   Body Text Bold: Noticeably lighter soft gray (#767676) so it never looks black
   Scoped strictly to paragraphs and list items so headings are never affected
   ========================================================================== */
.page-home p strong,
.page-home p b,
.page-home li strong,
.page-home li b,
.page-home .section-copy p strong,
.page-home .section-copy p b,
.page-home .message__point strong,
.page-home .message__point b,
.page-home .situation-list strong,
.page-home .situation-list b,
.page-home .situation-closing-card strong,
.page-home .situation-closing-card b,
.page-home .callout strong,
.page-home .callout b {
  color: #767676 !important; /* soft medium-light gray */
  font-weight: 600 !important;
}


/* Hide sticky mobile bottom bar */
.mobile-bottom-bar {
  display: none !important;
}
body.page-home {
  padding-bottom: 0 !important;
}
