/* ============================================================
   Rehma Therapies — Static site styles
   Pastel palette derived from the supplied design composite.
   ============================================================ */

:root {
  /* Pastel surfaces */
  --bg:            #ffffff;
  --pink:          #fbdcd1;   /* soft salmon section */
  --pink-soft:     #fde3da;   /* pill / accent panel */
  --lilac:         #e2e5fb;   /* light periwinkle */
  --mint:          #d8ecd9;   /* pale mint */
  --yellow:        #fde772;   /* nav pill yellow */
  --salmon:        #fbb6a3;   /* nav pill salmon */
  --lavender:      #c9c8f3;   /* nav pill lavender (active) */

  /* Text */
  --ink:           #2f3454;   /* deep navy used for headings */
  --ink-soft:      #4a5174;
  --muted:         #6b7390;
  --link:          #2f3454;

  /* Layout */
  --maxw:          1080px;
  --pad:           clamp(1rem, 3.5vw, 2.25rem);
  --radius-pill:   999px;
  --radius-card:   18px;

  /* Type */
  --font-display:  "Nunito", "Quicksand", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:     "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0 0 .5em; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); text-align: center; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
p  { margin: 0 0 1em; color: var(--ink-soft); }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ===========================================================
   Header & Navigation
   =========================================================== */
.site-header {
  padding: 1.25rem 0 .5rem;
  background: #fff;
  position: relative;
  z-index: 10;
}
.site-header .container {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100px; height: 100px;
  background: #d6efef;
  border-radius: 50%;
  text-align: center;
  font-family: var(--font-display);
  font-size: .78rem; line-height: 1.15;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .02em;
  padding: 10px;
}
.brand span { display: block; }
.brand small { display: block; font-weight: 600; font-size: .56rem; color: var(--ink-soft); letter-spacing: .08em; margin-top: 4px; text-transform: lowercase; }

/* Nav pills */
.primary-nav {
  width: 100%;
  display: flex; justify-content: center;
}
.primary-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
}
.primary-nav a {
  display: inline-block;
  padding: .5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.primary-nav a:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(47,52,84,.12); }

/* Four pill colours derived from the source composite */
.primary-nav li:nth-child(1) a { background: var(--yellow); }
.primary-nav li:nth-child(2) a { background: var(--salmon); }
.primary-nav li:nth-child(3) a { background: var(--yellow); }
.primary-nav li:nth-child(4) a { background: var(--yellow); }
.primary-nav a[aria-current="page"] {
  background: var(--lavender) !important;
  color: var(--ink);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: var(--lavender);
  border: 0;
  padding: .55rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700; color: var(--ink); cursor: pointer;
  font-family: inherit; font-size: .95rem;
}
.nav-toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .primary-nav { display: none; }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; width: 100%; gap: .4rem; }
  .primary-nav a { text-align: center; display: block; }
}

/* ===========================================================
   Sections with wave dividers
   =========================================================== */
.section { position: relative; padding: 4rem 0; }
.section--pink    { background: var(--pink); }
.section--lilac   { background: var(--lilac); }
.section--mint    { background: var(--mint); }
.section--white   { background: #fff; }

.section + .section { margin-top: 0; }

/* Wave divider — applied between coloured sections */
.wave {
  display: block;
  width: 100%; height: 60px;
  margin: -1px 0; /* avoid hairline gap */
}
.wave svg { width: 100%; height: 100%; display: block; }

/* Pill-style section heading (used for "Available Services", "Fees", "Terms") */
.section-pill {
  display: inline-block;
  background: var(--pink-soft);
  padding: 1rem 3rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--ink);
  margin: 0 auto;
}
.section-pill-wrap { text-align: center; }

.heading-underline {
  display: block;
  width: 48px; height: 3px;
  background: var(--ink);
  opacity: .5;
  border-radius: 2px;
  margin: .25rem auto 1.5rem;
}

/* ===========================================================
   Home — hero
   =========================================================== */
.hero {
  padding: 2.5rem 0 3rem;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 1.15rem;
  margin: 0 0 1rem;
}
.hero__lead { max-width: 38ch; font-size: 1.02rem; }
.cta {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: .85rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .98rem;
  margin-top: .75rem;
  transition: background .15s ease, color .15s ease;
}
.cta:hover, .cta:focus-visible { background: var(--ink); color: #fff; text-decoration: none; }

.hero__art {
  border: 1.5px solid #e7e8f1;
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
}

.credentials {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; margin-top: 2rem;
}
.credentials .badge {
  background: #fff;
  border: 1px solid #e7e8f1;
  padding: .6rem .9rem;
  border-radius: 8px;
  font-size: .8rem; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700;
  letter-spacing: .04em;
}

@media (max-width: 760px) {
  .hero__grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ===========================================================
   About page
   =========================================================== */
.who {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}
.who__photo {
  width: 200px; height: 200px;
  background: #c4ad9a;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  font-size: 3.5rem;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
}
.who__copy p { max-width: 52ch; }
@media (max-width: 640px) {
  .who { grid-template-columns: 1fr; text-align: center; }
  .who__photo { margin: 0 auto; }
}

.center-text { text-align: center; max-width: 64ch; margin: 0 auto; }
.center-text p { color: var(--ink-soft); }

.flourish {
  display: block; width: 56px; margin: 1.5rem auto 0; opacity: .7;
}

/* Areas & Therapies columns */
.areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.areas__col h3 {
  text-align: center;
  background: var(--pink-soft);
  padding: .55rem 1rem;
  border-radius: var(--radius-pill);
  font-size: .95rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.areas__col ul { columns: 2; column-gap: 1.5rem; padding-left: 1.1rem; margin: 0; }
.areas__col--single ul { columns: 1; }
.areas__col li { margin: .25rem 0; color: var(--ink-soft); font-size: .98rem; break-inside: avoid; }

@media (max-width: 640px) {
  .areas { grid-template-columns: 1fr; }
  .areas__col ul { columns: 1; }
}

/* Integrative Counselling pink blob */
.blob {
  background: var(--pink-soft);
  border-radius: 60px;
  padding: 2rem 2.25rem;
  max-width: 640px;
  margin: 0 auto 1rem;
}
.blob p { text-align: center; margin: 0; }
.blob + .blob { margin-top: 1.25rem; }

/* Qualifications & Experience lists */
.timeline { text-align: center; max-width: 560px; margin: 0 auto; }
.timeline dt {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--ink);
  margin-top: 1.25rem;
  font-size: .95rem;
}
.timeline dd {
  margin: .25rem 0 0;
  color: var(--ink-soft);
}

/* ===========================================================
   Services page
   =========================================================== */
.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
}
.service--reverse .service__copy { order: 2; }
.service__art {
  background: transparent;
  border-radius: var(--radius-card);
  padding: 0;
  display: flex; justify-content: center;
}
.service__copy p { max-width: 48ch; }
.service-heading { text-align: center; margin-bottom: 2rem; }

@media (max-width: 760px) {
  .service { grid-template-columns: 1fr; }
  .service--reverse .service__copy { order: 0; }
}

/* Framed art (Video Consultation, hero) */
.framed {
  border: 1.5px solid #cfd2e8;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  display: inline-block;
}

/* ===========================================================
   Fees page
   =========================================================== */
.fees-list {
  max-width: 640px; margin: 0 auto; padding: 0; list-style: none;
}
.fees-list li {
  padding: .65rem 0;
  color: var(--ink-soft);
  border-bottom: 1px dashed rgba(47,52,84,.15);
}
.fees-list li:last-child { border-bottom: 0; }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
  background: var(--mint);
  padding: 3rem 0 2rem;
  margin-top: 0;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.site-footer h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .14em;
  font-size: .9rem;
  margin: 0 0 .9rem;
  color: var(--ink);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .35rem 0; color: var(--ink-soft); }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); }
.contact-list li {
  display: flex; gap: .6rem; align-items: flex-start;
  margin-bottom: .55rem;
}
.contact-list svg { flex: 0 0 18px; margin-top: 3px; color: var(--ink); }

.legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(47,52,84,.12);
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
}

@media (max-width: 540px) {
  .site-footer .container { grid-template-columns: 1fr; }
}

/* ===========================================================
   Utility
   =========================================================== */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }

/* ===========================================================
   Revised screenshot-matched styling
   =========================================================== */
:root {
  --maxw: 980px;
  --font-display: "Quicksand", "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-body: "Quicksand", "Nunito", "Segoe UI", system-ui, sans-serif;
}

body {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}

h1 { font-size: clamp(2.7rem, 5.4vw, 4.25rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); letter-spacing: -.02em; }
p { color: var(--ink); }

.site-header { padding: 1rem 0 .25rem; }
.brand {
  width: 82px;
  height: 82px;
  background: #e5fbfb;
  overflow: hidden;
  padding: 0;
}
.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.brand span { font-size: .55rem; }
.primary-nav a {
  padding: .48rem 1.15rem;
  font-size: .86rem;
  font-weight: 800;
}
.primary-nav li:nth-child(1) a,
.primary-nav li:nth-child(3) a,
.primary-nav li:nth-child(4) a,
.primary-nav li:nth-child(5) a,
.primary-nav li:nth-child(6) a { background: var(--yellow); }
.primary-nav li:nth-child(2) a { background: var(--yellow); }

.section { padding: 4.75rem 0; overflow: hidden; }
.section--compact { padding: 2.25rem 0; }
.section--deep { padding: 6rem 0; }
.section--page-banner { padding: 3.5rem 0 3.75rem; }
.section--terms { padding: 2.7rem 0; }
.section--fees-copy { padding: 2.9rem 0; }
.wave { height: clamp(56px, 7vw, 96px); }
.wave--tall { height: clamp(74px, 10vw, 140px); }
.heading-underline {
  width: 44px;
  height: 2px;
  background: transparent;
  border-top: 2px solid var(--ink);
  border-radius: 50%;
  opacity: .8;
  transform: rotate(-3deg);
}
.section-pill {
  min-width: 220px;
  padding: .75rem 2.6rem;
}
.banner-note {
  max-width: 620px;
  margin: 1.15rem auto 0;
  text-align: center;
  color: var(--ink);
}

.hero { padding-top: 3.25rem; }
.hero__grid {
  max-width: 920px;
  margin: 0 auto;
  grid-template-columns: .95fr .85fr;
  gap: 4rem;
}
.hero__lead { max-width: 38ch; font-size: 1.06rem; }
.cta {
  min-width: 360px;
  text-align: center;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  margin-top: 1.4rem;
  padding: .95rem 1.2rem;
}
.hero__art {
  border: 2px solid #2f3454;
  border-radius: 50% 47% 48% 52% / 4% 6% 8% 5%;
  padding: 2.5rem;
  position: relative;
  max-width: 390px;
  margin-inline: auto;
}
.hero__art::before {
  content: "○ ○ ○";
  position: absolute;
  top: .55rem;
  left: 1rem;
  font-size: 1.35rem;
  letter-spacing: .12em;
  color: var(--ink);
}
.hero__art img { width: 100%; height: auto; }

.credentials {
  gap: 1.35rem;
  margin-top: 5rem;
}
.credential-image {
  object-fit: contain;
  display: block;
}
.credential-image--bacp { width: 210px; }
.credential-image--ncps { width: 240px; }

.who {
  grid-template-columns: 140px minmax(280px, 520px);
  gap: 3rem;
  justify-content: center;
}
.who__photo,
img.who__photo {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(47,52,84,.18);
}
.who__copy p {
  max-width: 60ch;
  text-align: center;
}
.flourish { width: 70px; opacity: .75; }
.flourish--heart { width: 78px; }

.center-text { max-width: 680px; }
.timeline dt { font-size: 1.05rem; }
.timeline dd { font-size: .95rem; color: var(--ink); }

.areas {
  max-width: 660px;
  grid-template-columns: 1.1fr .95fr;
  gap: 2.3rem;
}
.areas__col:first-child {
  border-right: 1.5px solid rgba(47,52,84,.55);
  padding-right: 2.2rem;
}
.areas__col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
.areas__col li { color: var(--ink); font-size: 1rem; }
.areas__col--single ul { columns: 1; }
.blob {
  max-width: 650px;
  border-radius: 90px;
  padding: 2rem 3rem;
}

.service {
  max-width: 560px;
  grid-template-columns: 1fr 220px;
  gap: 2.25rem;
}
.service--reverse {
  grid-template-columns: 220px 1fr;
}
.service__copy p {
  max-width: 36ch;
  font-size: .88rem;
}
.service__art img {
  max-height: 170px;
  width: auto;
  object-fit: contain;
}
.service--reverse .service__art img { max-height: 180px; }
.service-heading { margin-bottom: 1.25rem; }

.fees-list {
  max-width: 600px;
  font-size: .92rem;
}
.fees-list li {
  border-bottom: 0;
  padding: .55rem 0;
}

.site-footer {
  padding-top: 2.4rem;
  font-size: .86rem;
}
.site-footer .container {
  max-width: 520px;
  grid-template-columns: 1fr 1.25fr;
  gap: 5rem;
}
.site-footer h4 { font-size: .95rem; font-style: italic; }
.legal { display: none; }

.fade-in {
  animation: fadeInUp .7s ease both;
}
.fade-in:nth-child(2) { animation-delay: .08s; }
.fade-in:nth-child(3) { animation-delay: .14s; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 760px) {
  h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .cta { min-width: 0; width: 100%; }
  .credentials { justify-content: center; margin-top: 2rem; }
  .who { grid-template-columns: 1fr; gap: 1.25rem; }
  .areas__col:first-child { border-right: 0; padding-right: 0; }
  .service,
  .service--reverse { grid-template-columns: 1fr; text-align: center; }
  .service__copy p { margin-inline: auto; }
  .service--reverse .service__copy { order: 0; }
  .site-footer .container { grid-template-columns: 1fr; gap: 2rem; max-width: 320px; }
}

/* ===========================================================
   SEO content additions
   =========================================================== */
.seo-intro {
  max-width: 720px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.seo-intro p {
  margin-inline: auto;
  max-width: 62ch;
}

.issue-grid,
.faq-grid,
.contact-grid {
  display: grid;
  gap: 1.2rem;
  max-width: 920px;
  margin: 2rem auto 0;
}

.issue-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.faq-item,
.contact-card {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(47,52,84,.08);
  border-radius: 24px;
  padding: 1.35rem;
  box-shadow: 0 8px 30px rgba(47,52,84,.04);
  text-align: center;
}

.info-card h3,
.faq-item h3,
.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: .55rem;
  letter-spacing: 0;
}

.info-card p,
.faq-item p,
.contact-card p {
  font-size: .92rem;
  margin-bottom: 0;
  margin-inline: auto;
}

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

.contact-card li {
  margin: .45rem 0;
}

.service-intro,
.fees-note {
  max-width: 620px;
  margin: 0 auto 2rem;
  text-align: center;
}

.location-list {
  columns: 2;
  list-style: none;
  max-width: 520px;
  margin: 1rem auto 0;
  padding-left: 0;
  text-align: center;
}

.location-list li {
  margin: .25rem 0;
}

@media (max-width: 760px) {
  .issue-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .location-list {
    columns: 1;
  }
}
