/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

button { font: inherit; cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2.5px solid #a3457f;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ===================== DESIGN TOKENS ===================== */
:root {
  /* Brand palette, derived from logo */
  --sage: #add6b4;
  --sage-deep: #7fae91;
  --sage-tint: #e4f1e8;

  --rose-start: #d21acc;
  --rose-end: #e98a68;
  --rose-gradient: linear-gradient(135deg, var(--rose-start), var(--rose-end));

  --bg-start: #c7d8e9;
  --bg-end: #fae9f7;
  --bg-gradient: #f7ede9;

  --ink: #432f2f;
  --ink-soft: #796363;
  --light-ink: #d3fadc;
  --cream: #fffbf7;
  --white: #ffffff;

  --font-display: "Tangerine", cursive;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --shadow-soft: 0 20px 45px -25px rgba(55, 47, 67, 0.35);
  --shadow-card: 0 15px 35px -20px rgba(55, 47, 67, 0.28);

  --container: 1160px;

  --button-fill: var(--sage-deep);
}

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.6em;
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(3.4rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2.9rem, 4vw, 3.6rem); }
h3 { font-size: 2.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--rose-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 0.9em;
}
.eyebrow--center { text-align: center; }

.section-heading { text-align: center; }
.section-sub {
  text-align: center;
  max-width: 560px;
  margin: -0.4em auto 2.8em;
  font-size: 1.05rem;
}

.light-ink {
  color: var(--light-ink);
}

/* ===================== BUTTONS (shared) ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--button-fill);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 35px -18px var(--sage-deep);
}
.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:hover { background: rgba(55, 47, 67, 0.06); }
.btn--pill { padding: 0.6em 1.4em; font-size: 0.88rem; }
.btn--lg { padding: 1em 2.2em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ================================================================
   NAVBAR (reusable component)
   ================================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 247, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(173, 214, 180, 0.4);
}

.navbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
}

.navbar__wordmark {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ink);
}

.navbar__nav {
  display: flex;
  gap: 1.8rem;
}
.navbar__nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3rem 0;
}
.navbar__nav a:hover { color: var(--ink); }
.navbar__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--rose-gradient);
  transition: width 0.25s ease;
}
.navbar__nav a:hover::after { width: 100%; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.4rem;
}
.navbar__toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.navbar__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-active span:nth-child(2) { opacity: 0; }
.navbar__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 1.5rem 1.2rem;
  background: rgba(255, 251, 247, 0.98);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 0.75rem 0;
  font-weight: 600;
  border-bottom: 1px solid rgba(55, 47, 67, 0.08);
}
.mobile-menu .btn { margin-top: 0.8rem; }

/* Dropdown */
/* =========================================================
   Desktop dropdown
   ========================================================= */

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__item {
  position: relative;
}

.navbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.navbar__link:hover,
.navbar__link:focus-visible {
  color: var(--navbar-accent, #6b7a5e);
}

.navbar__caret {
  transition: transform 0.2s ease;
}

.navbar__item--dropdown.is-open .navbar__caret {
  transform: rotate(180deg);
}

.navbar__dropdown {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 230px;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(20, 20, 20, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 20;
}

/* invisible bridge so the pointer can travel from link to menu without the hover gap closing it */
.navbar__dropdown::before {
  content: "";
  position: absolute;
  top: -0.9rem;
  left: 0;
  right: 0;
  height: 0.9rem;
}

.navbar__item--dropdown.is-open .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.navbar__dropdown a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 8px 8px 0px 0px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.navbar__dropdown a:hover,
.navbar__dropdown a:focus-visible {
  background: var(--navbar-hover-bg, #f2f0ea);
}

/* Hover-to-open on precise pointers only; touch/keyboard use the JS click toggle */
@media (hover: hover) and (pointer: fine) {
  .navbar__item--dropdown:hover .navbar__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
  .navbar__item--dropdown:hover > .navbar__link .navbar__caret {
    transform: rotate(180deg);
  }
}


/* =========================================================
   Mobile accordion ("Sessions")
   ========================================================= */

.mobile-menu__item {
  
}

.mobile-menu__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  padding: 0.9rem 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu__caret {
  transition: transform 0.25s ease;
}

.mobile-menu__toggle[aria-expanded="true"] .mobile-menu__caret {
  transform: rotate(180deg);
}

.mobile-menu__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.mobile-menu__panel.is-open {
  grid-template-rows: 1fr;
}

.mobile-menu__panel-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mobile-menu__panel a {
  padding: 1rem 0 1rem 1rem;
  color: inherit;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .navbar__dropdown,
  .navbar__caret,
  .mobile-menu__caret,
  .mobile-menu__panel {
    transition: none;
  }
}

/* ===================== HERO ===================== */
.hero { position: relative; overflow: hidden; }

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 6rem;
  align-items: center;
}

.hero__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero__image {
  width: 100%;
  max-width: 500px;
  border-radius: 50%;
}

.hero__heading { margin-bottom: 0.4em; }

.hero__sub {
  font-size: 1.15rem;
  max-width: 480px;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.6rem 0 1.2rem;
}

.hero__note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin: 0 auto;
}

.float-a { animation: floatY 7s ease-in-out infinite; }
.float-b { animation: floatY 8.5s ease-in-out infinite 0.5s; }
.float-c { animation: floatY 9.5s ease-in-out infinite 1s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 70px;
}

/* ===================== Images and Gallery ===================== */

.image__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .image__gallery {
    grid-template-columns: 1fr 1fr;
  }
}

.gallery__image-wrapper {
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===================== SERVICES GRID & CARDS ===================== */
.services {
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

.services__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0;
  /* border-radius: var(--radius-lg); */
}

.services__image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.services__card:hover .services__image {
  transform: scale(1.05);
}

.services__image-container {
  overflow: hidden;
  width: 100%;
  height: 220px;
}

.services__content {
  padding: 2.2rem 2.9rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.services__content p {
  flex-grow: 0;
}

.services__content ul {
  padding: 15px 0;
  list-style: circle;
  line-height: 1em;
  flex-grow: 1;
}

/* Responsive Tablet & Desktop Layout */
@media (min-width: 768px) {
  .services__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Adjust your gap as needed */
  }

  .services__grid > * {
    flex: 0 1 calc(33.333% - 20px); /* 3 items per row on desktop */
    max-width: 350px; /* Optional: prevents items from getting too wide */
  }
}

/* ===================== Service Page ===================== */

.lead-text {
  font-family: var(--font-body);
  margin: 0 auto;
  text-align: center;
  padding: 0 25px;
  font-size: 2rem;
  font-weight: bolder;
  line-height: 45px;
}

.formal-text {
  font-family: var(--font-body);
  margin: 0 auto;
  text-align: center;
  padding: 0 25px;
  font-size: 1.2rem;
}

.details-section {
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 20px;
  color: var(--ink);
}

.details-list {
  list-style: circle;
  padding: 0 20px;
}

.disclaimer-text {
  text-align: center;
  margin: 0 auto;
}


/* ===================== CONTACT BOX ===================== */

.cta-box {
  background: linear-gradient(145deg, var(--sage), var(--sage-tint));
  color: var(--ink);
  width: 100%;
  padding: 7rem 0;
  text-align: center;
}

.cta-box h3 {
  font-size: 2rem;
  color: var(--ink);
}
.cta-box p {
  font-size: 1rem;
  color: var(--ink);
}
.cta-box p a {
  background: var(--rose-gradient);

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent; 
  text-fill-color: transparent;
}


/* ================================================================
   PAGE CONTENT
   ================================================================ */

.page-hero {
  width: 100%;
  height: 12rem;
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 25px 0 0 5%;
  background: linear-gradient(90deg, var(--sage-deep), var(--sage));
}

.page-hero__image-container {
  overflow: hidden;
  width: 100%;
  height: 400px;
}

.page-hero__top-container {
  text-align: center;
}

.page-hero__image {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.page-hero__image-container {
  max-width: 700px;
  margin: 0 auto;
}

.page-subtitle {
  font-size: 1.2rem;
}

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

.lead-text {
  max-width: var(--container);
}

.formal-text {
  max-width: var(--container);
}

.centre-image {
  width: 100%;
  text-align: center;
}

.centre-image a {
  display: inline-block;
  padding: 0px 5px;
}

.centre-image img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* ===================== Tables ===================== */

.table-med {
  width: 90%;
  margin: 0 5%;
}

.table-med, .table-med th, .table-med td {
  border: 3px solid #ffffff00;
  border-collapse: collapse;
}

.table-med th {
  padding: 10px;
  background: none;
}


/* ================================================================
   FOOTER (reusable component)
   ================================================================ */
.site-footer {
  background: #5D3F3F;
  color: rgba(255,255,255,0.82);
  padding: 4.5rem 1.5rem 2rem;
}

.site-footer__top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.site-footer .navbar__wordmark { color: #fff; }

.site-footer__brand p { color: rgba(255,255,255,0.68); font-size: 0.95rem; margin-top: 0.9rem; }

.site-footer__social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.site-footer__social a:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}
.site-footer__social svg { width: 17px; height: 17px; }

.site-footer__col h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}

.site-footer__col a,
.site-footer__col p {
  display: block;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.68);
  margin-bottom: 0.7rem;
}
.site-footer__col a:hover { color: #fff; }

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.5rem;
}
.newsletter-form input {
  padding: 0.75em 1em;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { outline: 2px solid var(--sage); }

.site-footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 1.8rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.site-footer__legal { display: flex; gap: 1.4rem; }
.site-footer__legal a:hover { color: #fff; }

.site-footer__disclaimer {
  max-width: var(--container);
  margin: 1.2rem auto 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.42);
  text-align: center;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .expect-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .services__card { margin: 0 10px; }
}

@media (max-width: 860px) {
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__toggle { display: flex; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; padding-top: 3rem; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { order: -1; max-width: 300px; }

  .about__inner { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .expect-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
  .cta-banner { padding: 3.2rem 1.5rem; }
  h1 { font-size: 2.1rem; }
}