/* ============================================================
   Conor Patterson — Longevity, Wellbeing & Life Coach
   Shared styles. Warm, calm, premium, natural.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg:        #f8f5ef;   /* warm off-white / cream */
  --bg-alt:    #f1ebdf;   /* deeper warm sand for alternating sections */
  --surface:   #fffdf8;   /* warm card white */
  --ink:       #2c3a2e;   /* deep forest green — headings */
  --ink-soft:  #3c4b3c;
  --body:      #544f44;   /* warm charcoal — body text */
  --muted:     #897f6f;   /* soft labels, captions */
  --sage:      #8a9a7b;   /* primary natural accent */
  --sage-deep: #6c7d5d;
  --sage-tint: #e7ebdf;   /* very soft sage wash */
  --gold:      #c8a45c;   /* warm CTA */
  --gold-deep: #b08e44;
  --gold-tint: #f2e7cf;
  --line:      #2c3a2e1f;
  --line-soft: #2c3a2e12;

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --pill: 999px;

  --shadow-sm: 0 4px 16px -10px rgba(44, 58, 46, 0.30);
  --shadow:    0 18px 44px -24px rgba(44, 58, 46, 0.34);
  --shadow-lg: 0 32px 70px -34px rgba(44, 58, 46, 0.40);

  --container: 1160px;
  --container-narrow: 820px;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Testimonials ---------- */
.tcards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 22px;
}
.tcard {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 2rem 1.9rem 1.7rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tcard blockquote {
  padding: 0 !important; margin: 0 !important;border: none !important;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tcard .quote-mark { font-family: var(--serif); font-size: 3.2rem; line-height: 0.6; color: var(--sage); opacity: 0.5; margin-bottom: 0.7rem; height: 28px; }
.tcard blockquote { margin: 0; font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--ink); font-weight: 400; }
.tcard blockquote.long { font-size: 1.06rem; line-height: 1.55; }
.tcard .attrib { margin-top: auto; padding-top: 1.3rem; display: flex; align-items: center; gap: 0.9rem; }
.tcard .attrib .who { display: flex; flex-direction: column; }
.tcard .attrib .name { font-weight: 700; color: var(--ink); font-size: 0.98rem; }
.tcard .attrib .role { color: var(--muted); font-size: 0.88rem; line-height: 1.3; }
.tcard .attrib .brand-logo {
  width: 48px; height: 48px; flex: none; border-radius: 11px;
  /* background-color: #efe9dd; */
  /* background-image: repeating-linear-gradient(135deg, rgba(138,154,123,0.10) 0 8px, rgba(138,154,123,0) 8px 16px); */
  border: 1px solid var(--line-soft);
  background: var(--sage-tint);
  color: var(--sage-deep);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.tcard .attrib .brand-logo span { font-family: ui-monospace, Menlo, monospace; font-size: 0.5rem; color: var(--sage-deep); text-align: center; line-height: 1.1; padding: 2px; }
.tcard .attrib .brand-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tcard .attrib .brand-logo img[src=""] { opacity: 0; }
.t-actions { text-align: center; margin-top: clamp(34px, 5vw, 52px); }
.tcard .attrib .avatar {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  background: var(--sage-tint); color: var(--sage-deep);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(108,125,93,0.22);
}

/* feature side image for testimonial section */
.t-feature {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px,4vw,56px); align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.t-feature .ph { aspect-ratio: 4/5; border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* ---------- Expandable qualification cards ---------- */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  align-items: start;
}
.qcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.qcard:hover {
  border-color: var(--sage-deep);
}
.qcard.open { box-shadow: var(--shadow); border-color: rgba(138,154,123,0.45); }
.qcard-head {
  width: 100%;
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.35rem 1.5rem;
  text-align: left;
  cursor: pointer;
}

.qcard-head .q-ico {
  width: 40px; height: 40px; flex: none; border-radius: 11px;
  background: var(--sage-tint); color: var(--sage-deep);
  display: grid; place-items: center;
}
.qcard-head .q-ico svg { width: 20px; height: 20px; }
.qcard-head h3 { font-size: 1.18rem; flex: 1; }
.qcard-head .q-toggle {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--ink-soft);
  display: grid; place-items: center;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.qcard-head .q-toggle svg { width: 16px; height: 16px; }
.qcard.open .q-toggle { transform: rotate(45deg); background: var(--sage); border-color: var(--sage); color: #fff; }
.qcard-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.qcard.open .qcard-body { grid-template-rows: 1fr; }
.qcard-body-inner { overflow: hidden; }
.qcard-body ul { padding: 0 1.5rem 1.5rem 1.5rem; }
.qcard-body li {
  padding: 0.5rem 0 0.5rem 1.6rem; position: relative;
  color: var(--body); border-top: 1px solid var(--line-soft); font-size: 1rem;
}
.qcard-body li:first-child { border-top: 0; }
.qcard-body li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem;
  width: 7px; height: 7px; border-radius: 50%; background: var(--sage); opacity: 0.7;
}


/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.5rem 0.2rem;
  font-family: var(--serif); font-size: clamp(1.18rem, 1.7vw, 1.4rem); color: var(--ink);
  transition: color 0.2s var(--ease);
}
.faq-q:hover { color: var(--sage-deep); }
.faq-q .fq-icon {
  width: 28px; height: 28px; flex: none; margin-top: 3px;
  border-radius: 50%; border: 1.5px solid var(--line); color: var(--ink-soft);
  display: grid; place-items: center;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.faq-q .fq-icon svg { width: 15px; height: 15px; }
.faq-item.open .fq-icon { transform: rotate(45deg); background: var(--sage); border-color: var(--sage); color: #fff; }
.faq-q span { flex: 1; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p { padding: 0 0 1.6rem 0; margin: 0; color: var(--body); max-width: 760px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .t-feature { grid-template-columns: 1fr; }
  /* .t-feature .ph { max-width: 380px; aspect-ratio: 16/10; } */
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}




.page-main-title {
    font-size: clamp(2.6rem, 5.4vw, 4.1rem);
    line-height: 1.06;
}

.testimonial-back-btn a {
  transition: all 0.3s ease;
}

.testimonial-back-btn a:hover {
  gap:2px;
}

/* ============================================================
   Testimonials + FAQs + Qualifications ONLY
   ============================================================ */

/* ---------- Layout helpers ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 26px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.cp-testimonials-wrapper .section:first-of-type {
   padding-top: 32px;
}
.t-group-head {
  margin: clamp(40px,5vw,64px) 0 clamp(22px,3vw,32px);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.t-group-head h2 {
  white-space: nowrap;
  font-family: var(--serif);
}

.t-group-head .gline {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.tcards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 22px;
}

@media (max-width: 480px ) {
  .tcards {
    grid-template-columns: 1fr;
  }
}

.tcard {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 2rem 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tcard .quote-mark {
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 0.6;
  color: var(--sage);
  opacity: 0.5;
  margin-bottom: 0.7rem;
  height: 28px;
}

.tcard blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--ink);
}

.tcard .attrib {
  margin-top: auto;
  padding-top: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.tcard .attrib .name {
  font-weight: 700;
  color: var(--ink);
}

.tcard .attrib .role {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ============================================================
   QUALIFICATIONS
   ============================================================ */

.qual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.qcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.qcard-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.35rem 1.5rem;
  text-align: left;
}

.qcard-head h3 {
  flex: 1;
  font-size: 1.18rem;
}

.qcard-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.qcard.open .qcard-body {
  grid-template-rows: 1fr;
}

.qcard-body-inner {
  overflow: hidden;
}

.qcard-body li {
  padding: 0.5rem 0 0.5rem 1.6rem;
  position: relative;
  border-top: 1px solid var(--line-soft);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0.2rem;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.7vw, 1.4rem);
  color: var(--ink);
  cursor: pointer;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a p {
  padding: 0 0 1.6rem 0;
  color: var(--body);
}

.socials { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.social-ph {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center; color: #cdd3c3;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.socials .social-ph:hover { background: var(--sage); color: #fff !important; transform: translateY(-2px); }
.social-ph svg { width: 18px; height: 18px; }