/* ==========================================================
   YEW TREE COACHING — STYLESHEET
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* --- Variables --- */
:root {
  --green-dark:    #1E3D2A;
  --green-primary: #2D5A3D;
  --green-light:   #4A7C59;
  --gold:          #C9A84C;
  --gold-hover:    #B8943E;
  --off-white:     #F8F5F0;
  --white:         #FFFFFF;
  --charcoal:      #2C2C2C;
  --text-light:    #5A6370;
  --border:        #E5E0D8;
  --shadow:        0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover:  0 8px 30px rgba(0,0,0,0.14);
  --radius:        8px;
  --transition:    all 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--green-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.15rem; line-height: 1.85; color: var(--text-light); }

/* --- Layout --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 80px 0; }
.section--green    { background-color: var(--green-primary); }
.section--dark     { background-color: var(--green-dark); }
.section--off-white { background-color: var(--off-white); }

.section--green h1, .section--green h2, .section--green h3, .section--green h4,
.section--dark  h1, .section--dark  h2, .section--dark  h3, .section--dark  h4 { color: var(--white); }
.section--green p, .section--dark p { color: rgba(255,255,255,0.85); }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }
.section--green .section-header p,
.section--dark  .section-header p { color: rgba(255,255,255,0.8); }

.divider { width: 56px; height: 3px; background-color: var(--gold); margin: 1.25rem 0; }
.divider--center { margin: 1.25rem auto; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}
.btn--gold {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--green-primary);
  transform: translateY(-2px);
}
.btn--outline-green {
  background: transparent;
  color: var(--green-primary);
  border-color: var(--green-primary);
}
.btn--outline-green:hover {
  background: var(--green-primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  height: 72px;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 2rem;
  max-width: 1250px;
  margin: 0 auto;
}
.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  flex-shrink: 0;
}
.nav__logo span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}
.nav__logo:hover { color: var(--green-primary); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a.active { color: var(--green-primary); }
.nav__links .nav__cta {
  background-color: var(--gold);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
}
.nav__links .nav__cta:hover { background-color: var(--gold-hover); color: var(--white); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--charcoal);
  transition: var(--transition);
}
.page-top { padding-top: 72px; }

@media (max-width: 960px) {
  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 1rem 0;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 0.75rem 2rem; width: 100%; }
  .nav__links .nav__cta {
    margin: 0.75rem 2rem;
    width: calc(100% - 4rem);
    text-align: center;
    padding: 0.75rem 1.25rem;
  }
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero .section-label { color: var(--gold); }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; max-width: 560px; }
.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Centered pro hero (home page) */
.hero--pro { padding: 120px 0 100px; text-align: center; }

.hero__dot-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
  pointer-events: none;
}

.hero--center-pro {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero--center-pro h1 { color: var(--white); margin-bottom: 0; }

.hero__gold-bar {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem auto;
}

.hero__subtext {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin: 0 auto 2.25rem;
  line-height: 1.85;
}

.hero__buttons--center { justify-content: center; }

.hero__worlds {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero__world-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 0.65rem 1.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.02em;
}

.hero__world-icon { font-size: 1rem; line-height: 1; }

.hero__world-sep {
  color: var(--gold);
  font-size: 1rem;
  opacity: 0.75;
}

/* Tree background hero (home page) */
.hero--tree-bg {
  background:
    linear-gradient(135deg, rgba(52,60,28,0.74) 0%, rgba(80,90,42,0.74) 100%),
    url('images/tree-hero.png') center center / 65% auto no-repeat;
  padding: 120px 0 100px;
  text-align: center;
}

@media (max-width: 900px) {
  .hero--tree-bg { background-size: auto, 100% auto; }
}
@media (max-width: 560px) {
  .hero--tree-bg { background-size: auto, 140% auto; padding: 90px 0 70px; }
}

/* Split hero (kept for potential future use) */
.hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero__image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 768px) {
  .hero--split { grid-template-columns: 1fr; }
  .hero__image { max-width: 320px; margin: 0 auto; }
  .hero__image img { height: 300px; }
}

@media (max-width: 560px) {
  .hero__worlds { flex-direction: column; gap: 1rem; }
  .hero--pro { padding: 90px 0 70px; }
}

/* --- Page hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  padding: 80px 0 60px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 620px; margin: 0 auto; font-size: 1.1rem; }
.page-hero .section-label { color: var(--gold); }

/* --- Stats bar --- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat__number {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat__label { font-size: 0.875rem; color: rgba(255,255,255,0.75); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; gap: 2.5rem; } }

/* --- Pillars --- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pillar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--gold);
}
.pillar:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.pillar__icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  line-height: 1;
}
.pillar h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.pillar p { color: var(--text-light); font-size: 0.95rem; }
@media (max-width: 768px) { .pillars { grid-template-columns: 1fr; } }
@media (max-width: 1024px) and (min-width: 769px) { .pillars { grid-template-columns: 1fr 1fr; } }

/* --- Dual world split --- */
.dual-world {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.dual-world__panel {
  padding: 3.5rem;
}
.dual-world__panel--green { background-color: var(--green-primary); }
.dual-world__panel--dark  { background-color: var(--green-dark); }
.dual-world__panel h3 { color: var(--white); margin-bottom: 1rem; }
.dual-world__panel p  { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.dual-world__panel .section-label { color: var(--gold); }
.dual-world__panel ul { margin-top: 1.25rem; }
.dual-world__panel ul li {
  padding: 0.4rem 0 0.4rem 1.75rem;
  position: relative;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}
.dual-world__panel ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
@media (max-width: 700px) { .dual-world { grid-template-columns: 1fr; } }

/* --- Service cards --- */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.service-card h3 { margin-bottom: 0.875rem; font-size: 1.2rem; }
.service-card p { color: var(--text-light); font-size: 0.95rem; }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 0.25rem;
  left: 1.5rem;
  line-height: 1;
}
.testimonial__body {
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  line-height: 1.85;
  padding-top: 1rem;
}
.testimonial__author { font-weight: 600; color: var(--green-primary); font-size: 0.9rem; display: block; }
.testimonial__role   { font-size: 0.825rem; color: var(--text-light); display: block; margin-top: 0.2rem; }

.testimonial--featured {
  background: var(--green-primary);
  border-left: 5px solid var(--gold);
  padding: 3rem;
}
.testimonial--featured::before { opacity: 0.4; color: var(--gold); }
.testimonial--featured .testimonial__body  { color: rgba(255,255,255,0.9); font-size: 1.05rem; }
.testimonial--featured .testimonial__author { color: var(--gold); }
.testimonial--featured .testimonial__role  { color: rgba(255,255,255,0.65); }

/* --- Industries / clients --- */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.industry-badge {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: var(--transition);
}
.industry-badge:hover { border-color: var(--green-primary); color: var(--green-primary); }

/* --- About layout --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 60px;
  align-items: start;
}
.about-image { position: sticky; top: 90px; }
.about-image img { border-radius: 12px; width: 100%; box-shadow: var(--shadow-hover); }
.accreditation {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
}
.accreditation__badge {
  width: 52px;
  height: 52px;
  background: var(--green-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.3;
  flex-shrink: 0;
}
.accreditation__text { font-size: 0.875rem; font-weight: 500; color: var(--charcoal); line-height: 1.45; }
.accreditation__text span { display: block; font-weight: 400; font-size: 0.8rem; color: var(--text-light); }
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { position: relative; top: 0; max-width: 280px; margin: 0 auto; }
}

/* --- Approach steps --- */
.approach-steps { display: flex; flex-direction: column; gap: 0; }
.approach-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.approach-step:last-child { border-bottom: none; }
.approach-step__number {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1;
  padding-top: 0.2rem;
}
.approach-step h3 { margin-bottom: 0.6rem; }
.approach-step p  { color: var(--text-light); font-size: 0.95rem; }
@media (max-width: 600px) {
  .approach-step { grid-template-columns: 1fr; gap: 0.5rem; }
  .approach-step__number { font-size: 2rem; }
}

/* --- Contact layout --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-detail__icon {
  width: 44px;
  height: 44px;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.25rem;
  display: block;
}
.contact-detail__value { font-weight: 500; color: var(--charcoal); }
.contact-detail__value a { color: var(--green-primary); }
.contact-detail__value a:hover { color: var(--gold); }

.form { background: var(--off-white); border-radius: var(--radius); padding: 2.5rem; }
.form__group { margin-bottom: 1.5rem; }
.form__label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.form__input,
.form__textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form__input:focus,
.form__textarea:focus { border-color: var(--green-primary); box-shadow: 0 0 0 3px rgba(45,90,61,0.1); }
.form__textarea { height: 140px; resize: vertical; }
.form__submit {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.form__submit:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* --- CTA section --- */
.cta-section { background-color: var(--green-dark); text-align: center; padding: 80px 0; }
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-section .btn { margin: 0.4rem; }

/* --- Check list --- */
.check-list { padding: 0; }
.check-list li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  color: var(--charcoal);
  font-size: 0.95rem;
}
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* --- Footer --- */
.footer { background-color: var(--green-dark); padding: 60px 0 28px; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: block;
}
.footer__logo span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}
.footer__tagline { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a { color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.footer__links a:hover { color: var(--gold); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer__contact-item a { color: rgba(255,255,255,0.6); }
.footer__contact-item a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer__bottom a { color: rgba(255,255,255,0.35); }
.footer__bottom a:hover { color: var(--gold); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-gold    { color: var(--gold); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
