/* ===== Design tokens (Blossoming Minds brand guide) ===== */
:root {
  --dark-forest: #1c3335;
  --storm-sage: #4a5b60;
  --eucalyptus: #546d66;
  --eucalyptus-mist: #bbc8bf;
  --grey-matter: #bec1c4;
  --barely-there: #ededed;
  --white: #ffffff;

  /* Placeholder serif until the licensed "Le Jour Serif" font files are
     supplied — swap the first family name here once available. */
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-button: 12px;
  --max-width: 1120px;
}

/* ===== Reset ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: var(--storm-sage);
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--dark-forest);
  text-decoration: underline;
}

a:hover,
a:focus {
  color: var(--storm-sage);
  font-style: italic;
}

:focus-visible {
  outline: 2px solid var(--eucalyptus);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--dark-forest);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.25;
}

h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.25;
}

h4 {
  font-size: 1.5rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1.2em;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--eucalyptus);
  font-weight: 600;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

section.tinted {
  background: var(--eucalyptus-mist);
}

section.dark {
  background: var(--dark-forest);
  color: var(--barely-there);
}

section.dark h1,
section.dark h2,
section.dark h3,
section.dark h4 {
  color: var(--white);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 0.85em 1.75em;
  border-radius: var(--radius-button);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--dark-forest);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--storm-sage);
  color: var(--white);
  font-style: normal;
}

.btn-secondary {
  background: transparent;
  color: var(--dark-forest);
  border-color: var(--dark-forest);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--eucalyptus-mist);
  color: var(--dark-forest);
  font-style: normal;
}

section.dark .btn-primary {
  background: var(--white);
  color: var(--dark-forest);
}

section.dark .btn-primary:hover,
section.dark .btn-primary:focus {
  background: var(--eucalyptus-mist);
  color: var(--dark-forest);
}

section.dark .btn-secondary {
  color: var(--white);
  border-color: var(--white);
}

section.dark .btn-secondary:hover,
section.dark .btn-secondary:focus {
  background: var(--storm-sage);
  color: var(--white);
}

/* ===== Header / Nav ===== */
.site-header {
  border-bottom: 1px solid var(--eucalyptus-mist);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand img {
  height: 44px;
  width: auto;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--dark-forest);
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--dark-forest);
  border: 1.5px solid var(--dark-forest);
  border-radius: var(--radius-button);
  padding: 0.5em 0.9em;
}

#nav-toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#nav-toggle:focus-visible ~ .nav-toggle-label {
  outline: 2px solid var(--eucalyptus);
  outline-offset: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu > li > a,
.nav-menu > li > details > summary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-forest);
  text-decoration: none;
  cursor: pointer;
}

.nav-menu > li > a:hover,
.nav-menu > li > a:focus,
.nav-menu > li > details > summary:hover {
  color: var(--storm-sage);
}

.nav-menu details {
  position: relative;
}

.nav-menu details > summary {
  list-style: none;
}

.nav-menu details > summary::-webkit-details-marker {
  display: none;
}

.nav-menu details[open] > summary::after,
.nav-menu details > summary::after {
  content: " \25BE";
  font-size: 0.7em;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0.5rem 0 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--eucalyptus-mist);
  border-radius: 8px;
  min-width: 160px;
  box-shadow: 0 8px 20px rgba(28, 51, 53, 0.12);
}

.submenu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--dark-forest);
  white-space: nowrap;
}

.submenu li a:hover,
.submenu li a:focus {
  background: var(--eucalyptus-mist);
  font-style: normal;
}

/* ===== Hero ===== */
.hero {
  padding: 4.5rem 0;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-art {
  justify-self: center;
}

.hero-art img {
  max-width: 320px;
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--eucalyptus-mist);
  border-radius: 14px;
  padding: 1.75rem;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* ===== Specialty page layout ===== */
.specialty-hero {
  background: var(--eucalyptus-mist);
  padding: 3.5rem 0;
}

.specialty-body .wrap {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 2fr 1fr;
  align-items: start;
}

.specialty-aside {
  background: var(--barely-there);
  border-radius: 14px;
  padding: 1.75rem;
}

.specialty-aside h3 {
  font-size: 1.15rem;
}

/* ===== FAQ accordion ===== */
.faq-item {
  border-bottom: 1px solid var(--eucalyptus-mist);
  padding: 1.25rem 0;
}

.faq-item summary {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--dark-forest);
  cursor: pointer;
}

.faq-item[open] summary {
  color: var(--storm-sage);
}

.faq-item p {
  margin-top: 1rem;
}

/* ===== Contact ===== */
.disclaimer {
  background: var(--barely-there);
  border-left: 4px solid var(--eucalyptus);
  border-radius: 8px;
  padding: 1.5rem;
  font-weight: 400;
  color: var(--dark-forest);
  margin-bottom: 2rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.contact-details li {
  margin-bottom: 0.5rem;
}

.placeholder-flag {
  font-size: 0.85rem;
  color: var(--eucalyptus);
  font-style: italic;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--eucalyptus-mist);
  color: var(--dark-forest);
  padding: 3rem 0;
  margin-top: 3rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.site-footer a {
  color: var(--dark-forest);
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ===== Decorative floral accent ===== */
.floral-accent {
  position: absolute;
  width: 220px;
  opacity: 0.6;
  pointer-events: none;
}

.section-relative {
  position: relative;
  overflow: hidden;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .specialty-body .wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-toggle-label {
    display: inline-block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    border-bottom: 1px solid var(--eucalyptus-mist);
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
  }

  #nav-toggle:checked ~ .nav-menu {
    display: flex;
  }

  .submenu {
    position: static;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  body {
    font-size: 16px;
  }
}
