/* ============================================================
   THE SAGE & BLOOM PRACTICE — styles.css
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sage:        #529681;
  --sage-dark:   #3d7566;
  --sage-bright: #529681;
  --sage-light:  #e8f2ee;
  --cream:       #faf8f4;
  --warm-white:  #f5f0e8;
  --charcoal:    #2c2c2c;
  --mid-grey:    #6b6b6b;
  --light-grey:  #ececec;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   "Mona Sans", sans-serif;
  --nav-height:  90px;
}
.cd-logo {
  max-width: 230px;
}
.card-title {
  display: flex;
  gap: 20px;
  align-content: center;
}
.sx-verified-seal img {
  max-width: 300px;
}
.card-heading {
  display: block;
  gap: 20px;
  align-content: center;
  margin-bottom: 24px;
}
.hello {
  margin-bottom: 0 !important;
}
.anchor {
  position: absolute;
  margin-top: -40px;
}
.info-card-top {
  display: flex;
  gap: 15px;
  align-content: center;
  justify-content: center;
}
.mona-sans-bold {
  font-family: "Mona Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}

/* ── NAVIGATION ─────────────────────────────────────────── */

.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav-splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 40px 12px;
  transition: padding 0.4s ease;
}

.nav-splash .logo-big {
  display: block;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s ease;
  transform-origin: top center;
}

.nav-splash .logo-big svg {
  width: 260px;
  height: auto;
}

/* Scrolled state */
.nav-wrapper.scrolled {
  background: rgba(250,248,244,0.97);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

.nav-wrapper.scrolled .nav-splash {
  padding: 0;
}

.nav-wrapper.scrolled .logo-big {
  transform: scale(0) translateY(-20px);
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.nav-wrapper.no-transition *,
.nav-wrapper.no-transition {
  transition: none !important;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.4s ease, opacity 0.4s ease;
}

.nav-wrapper.scrolled .nav-bar {
  height: var(--nav-height);
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin-left: 4.3%;
}

.nav-links li a {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  padding: 6px 14px;
  transition: color 0.2s ease;
}

.nav-links li a:hover { color: var(--sage); }

.nav-divider {
  width: 2px;
  height: 14px;
  background: var(--sage-dark);
  opacity: 0.4;
  margin: 0 4px;
}

.nav-logo-center {
  display: none;
  padding: 0 36px;
}

.nav-wrapper.scrolled .nav-logo-center {
  display: block;
}

.nav-logo-center svg {
  width: 130px;
  height: auto;
}

/* ── BURGER MENU ────────────────────────────────────────── */

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-logo { display: none; }
.mobile-nav-logo svg { width: 90px; height: auto; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--cream);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--sage); }

/* ── HERO ───────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-image.png');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  transition: transform 6s ease-out;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
 
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 50%;
  padding: 0 60px;
  animation: heroFadeIn 1.2s ease both;
  animation-delay: 0.3s;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
  font-weight: 500;
  text-align: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
  text-align: center;
}

.hero-title em {
  font-style: italic;
  color: var(--sage-dark);
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--mid-grey);
 width: 100%;
  margin-bottom: 36px;
  font-weight: 300;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ── BUTTONS ────────────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--sage);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
  border: 2px solid var(--sage);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  padding: 12px 34px;
  background: transparent;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  border: 2px solid #fff;
  transition: all 0.2s ease;
  margin-left: 14px;
}

.btn-outline:hover {
  background:#fff;
  color:var(--sage-dark);
}

/* ── SHARED LAYOUT ──────────────────────────────────────── */

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.section-title em {
  font-style: italic;
  color: var(--sage-dark);
}

.body-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--charcoal);
  font-weight: 300;
  margin-bottom: 20px;
}

/* ── INTRODUCTION ───────────────────────────────────────── */

.section-intro {
  background: var(--cream);
  padding: 100px 40px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 30px;
  align-items: center;
}

.intro-image {
  position: relative;
}

.intro-image img {
  width: 80%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.intro-image {
  display: flex;
  justify-content: center;
}

.intro-text {
  padding-left: 20px;
}

.name-signature {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--sage-dark);
  margin-top: 32px;
  font-weight: 400;
}

.credential-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 4px;
  font-weight: 400;
}

/* ── HOW I CAN HELP ─────────────────────────────────────── */

.section-help {
  background: var(--warm-white);
  padding: 100px 40px;
}

.help-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 70px;
}

.help-header .body-text {
  text-align: center;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.help-card {
  background: white;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.help-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(82,150,129,0.1);
  z-index: 1;
}
a.find {
  text-decoration: none;
  color: var(--sage-dark);
  font-weight: bold;
}
.help-card-icon {
  width: 52px;
  height: 52px;
  background: var(--sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.help-card-icon svg {
  width: 24px;
  height: 24px;
}

.help-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  
}

.help-card p {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--mid-grey);
  font-weight: 300;
}

/* ── IMAGE BREAK ────────────────────────────────────────── */

.section-image-break {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.section-image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(250,248,244,0.85) 0%, transparent 90%);
  display: flex;
  align-items: center;
}

.image-break-quote {
  padding: 0 80px;
  max-width:620px;
}

.image-break-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 14px;
}

.image-break-quote cite {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-style: normal;
}

/* ── MY APPROACH ────────────────────────────────────────── */

.section-approach {
  padding: 100px 40px;
  background: var(--cream);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.approach-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.approach-text {
  padding-right: 20px;
}

.approach-steps {
  margin-top: 40px;
  margin-bottom:40px;
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--sage);
 
  min-width: 36px;
  line-height: 1;
  padding-top: 2px;
}

.step-content h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 500;
  margin-bottom: 6px;
}

.step-content p {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--mid-grey);
  font-weight: 300;
}

/* ── USEFUL INFO ────────────────────────────────────────── */

.section-info {
  background: var(--sage-light);
  padding: 100px 40px;
}

.info-header {
  text-align: center;
  margin-bottom: 60px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card {
  background: white;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.info-card-icon svg {
  width: 34px;
  height: auto;
}

.info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.8;
}

.info-card p {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--mid-grey);
  font-weight: 300;
}

.info-detail {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
}

.info-small {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--mid-grey);
  margin-top: -8px;
}

/* ── CONTACT ────────────────────────────────────────────── */

.section-contact {
  background: var(--charcoal);
  padding: 100px 40px;
  text-align: center;
}

.section-contact .section-label { color: var(--sage); }
.section-contact .section-title { color: white; }
.section-contact .section-title em { color: #8bc4b2; }

.section-contact .body-text {
  color: rgba(255,255,255,0.65);
  text-align: center;
  max-width: 500px;
  margin: 0 auto 40px;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.contact-form .btn-primary {
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* ── ACCREDITATION ──────────────────────────────────────── */

.section-accreditation {
  background: var(--cream);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.bacp-logo {
  height: 80px;
  width: auto;
}

.accreditation-text {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--mid-grey);
  max-width: 380px;
  font-weight: 300;
}

/* ── FOOTER ─────────────────────────────────────────────── */

.footer {
  background: var(--charcoal);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}

.footer-logo svg {
  width: 140px;
  height: auto;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--sage); }

/* ── BACK TO TOP ────────────────────────────────────────── */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.pt-link {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.sx-verified-seal {
  height: 100%;
  display: inherit;
  width: fit-content;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top svg {
  width: 30px;
  height: 30px;
  transition: transform 0.2s ease;
}

.back-to-top:hover svg {
  transform: translateY(-3px);
}

/* ── SCROLL REVEAL ──────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .intro-grid,
  .approach-grid       { grid-template-columns: 1fr; gap: 48px; }
  .approach-image      { order: -1; }
  .approach-image img  { aspect-ratio: 16/9; }
  .intro-text          { padding-left: 0; }
  .approach-text       { padding-right: 0; }
  .help-grid           { grid-template-columns: 1fr; gap: 15px; }
  .info-cards          { grid-template-columns: 1fr; }
  .image-break-quote   { padding: 0 36px; }
}

@media (min-width: 768px)  {
 .mobile-hero-logo {
  display: none;
}
.click-learn{
    padding-left:10px;
  }
}
@media (max-width: 768px) {
  .hero-overlay {
  display: flex;
  justify-content: center;
  align-content: center;
}
  .hero{
    justify-content: center;
    align-content: center;
  }
  /* Always show the compact bar on mobile */
  .info-cards          { 
    gap: 15px;
  }
  .info-card {
    padding: 30px ;
  }
  .approach-steps {
    flex-direction: column;
  }
  .click-learn .chevron {
  transition: transform 0.35s ease;
  margin-bottom: -3px;
  height: 12px;
  width: 15px;
}
  .mobile-hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 30px;
    text-align: center;
  }
  #mobile-logo {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
    margin: 0 auto;
  }
  .intro-image img {
    width: 70%;
  }
  .hero-bg {
    background-position: 35% 40%;
  }
  .click-learn {
    display: block !important;
    margin-top: 3px;
  }
  .btn-primary {
    text-align: center;
    font-size: 0.7rem;
    padding: 12px 20px;
  }
  .btn-outline {
    margin-left: 0;
    text-align: center;
    font-size: 0.7rem;
    padding: 12px 20px;
  }
  .hero-sub {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
.mobile-nav-logo svg {
  width: 130px;
}
  .nav-wrapper {
    background: rgba(250,248,244,0.97);
    box-shadow: 0 1px 16px rgba(0,0,0,0.07);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
  }

  .nav-wrapper.scrolled {
    transform: translateY(0);
  }

  .nav-splash          { display: none; }

  .nav-bar {
    position: relative;
    height: var(--nav-height) !important;
    opacity: 1 !important;
    overflow: visible;
    justify-content: space-between;
    padding: 0 24px;
  }

  .mobile-nav-logo {
    display: block;
  }

  /* Show mobile logo & burger, hide desktop links */
  .nav-links           { display: none; }
  .nav-logo-center     { display: none !important; }
  .burger-btn          { display: flex; }
  .mobile-menu         { display: flex; }

  .hero-content        { padding: 0 28px; }

  .section-intro,
  .section-help,
  .section-approach,
  .section-info,
  .section-contact     { padding: 72px 24px; }

  .section-accreditation {
    flex-direction: column;
    text-align: center;
  }

  .footer {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .image-break-overlay {
    background: rgba(250,248,244,0.6);
  }

  .image-break-quote   { padding: 0 28px; }
}


/* Small tablets (portrait) */
@media (min-width: 768px) and (max-width: 1023px) { 

  .hero-title {
    font-size: 2.8rem;
  }
  .hero-content {
    
    max-width: 80%;
   
    margin-top: 8%;
  }
}

/* Laptops & small desktops */
@media (min-width: 1024px) and (max-width: 1540px) { 
  .hero-content {
    max-width: 70%;
    margin-top: 6%;
}
.hero-title {
  font-size: clamp(2.6rem, 5vw, 3.2rem);
}
}
/* Large desktops & monitors */
@media (min-width: 1441px) { }