/* ============================================================
   Lacewing Philosophy Tuition — Main Stylesheet
   Mobile-first, plain CSS, no dependencies.
   ============================================================ */

:root {
  --sage:        #3e6b53;
  --sage-hover:  #2d5a43;
  --sage-light:  #e8f0eb;
  --sage-muted:  #8fb89f;
  --cream:       #f8f6f1;
  --white:       #ffffff;
  --text:        #252525;
  --text-muted:  #5e5e5e;
  --border:      #dde5df;
  --whatsapp:    #25d366;
  --wa-hover:    #1ab954;

  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --section-py: clamp(3rem, 8vw, 5.5rem);
  --max-w:      1100px;
  --radius:     10px;
  --radius-lg:  18px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.07);
  --shadow-md:  0 4px 20px rgba(0,0,0,.10);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; }
a   { color: var(--sage); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5.5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }

/* ── Layout helpers ─────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: var(--section-py) 0; }

.section-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: .65rem;
}
.section-intro {
  color: var(--text-muted);
  margin-bottom: 2.75rem;
  max-width: 58ch;
  line-height: 1.75;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .18s, border-color .18s, transform .18s, box-shadow .18s;
  text-decoration: none !important;
}
.btn-primary {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.btn-primary:hover {
  background: var(--sage-hover);
  border-color: var(--sage-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(62,107,83,.3);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}
.btn-whatsapp:hover {
  background: var(--wa-hover);
  border-color: var(--wa-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
}
.btn-outline {
  background: transparent;
  color: var(--sage);
  border-color: var(--sage);
}
.btn-outline:hover {
  background: var(--sage-light);
}

/* ── Skip link (accessibility) ──────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: .5rem 1rem;
  background: var(--sage);
  color: var(--white);
  z-index: 200;
  border-radius: 0 0 6px 0;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,246,241,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  padding: .9rem 0;
  transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}
.nav__logo span { color: var(--sage); }
.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
}
.nav__links a:hover { color: var(--sage); text-decoration: none; }
.nav__cta { flex-shrink: 0; padding: .65rem 1.25rem; font-size: .9375rem; }

@media (min-width: 768px) {
  .nav__links { display: flex; }
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(150deg, var(--sage-light) 0%, var(--cream) 60%);
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(143,184,159,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
}
.hero__eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage);
}
.hero__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  max-width: 16ch;
}
.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.175rem);
  color: var(--text-muted);
  max-width: 48ch;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: .25rem;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  color: var(--text-muted);
}
.hero__trust-item::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
}
.hero__decoration {
  display: none;
  pointer-events: none;
}

@media (min-width: 920px) {
  .hero__inner {
    grid-template-columns: 1fr 380px;
    align-items: center;
  }
  .hero__content { /* left col — all children are already inside */ }
  .hero__decoration {
    display: block;
    opacity: .85;
  }
}

/* ── ABOUT ──────────────────────────────────────────────────── */
.about { background: var(--white); }
.about__inner {
  display: grid;
  gap: 2.5rem;
}
.about__photo {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sage-light);
  margin: 0 auto;
  flex-shrink: 0;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--sage);
  padding: 2rem;
  text-align: center;
  font-size: .875rem;
}
.about__photo-placeholder svg { opacity: .5; }
.about__text p { color: var(--text-muted); line-height: 1.8; }
.about__text p + p { margin-top: 1rem; }
.about__text h2 { margin-bottom: .9rem; }
.about__quals {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.about__qual-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9375rem;
  color: var(--text-muted);
}
.about__qual-item::before {
  content: '—';
  color: var(--sage-muted);
  flex-shrink: 0;
  margin-top: .05em;
}

@media (min-width: 768px) {
  .about__inner {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
  .about__photo { margin: 0; }
}

/* ── WHAT I TEACH ───────────────────────────────────────────── */
.teach { background: var(--cream); }
.teach__grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.teach__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}
.teach__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.teach__icon {
  width: 44px;
  height: 44px;
  background: var(--sage-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  margin-bottom: 1rem;
}
.teach__card h3 { margin-bottom: .45rem; font-size: 1.1rem; }
.teach__card p  { font-size: .9375rem; color: var(--text-muted); }

@media (min-width: 600px)  { .teach__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .teach__grid { grid-template-columns: repeat(3, 1fr); } }

/* ── HOW IT WORKS ───────────────────────────────────────────── */
.how { background: var(--sage-light); }
.how__steps {
  display: grid;
  gap: 2rem;
}
.how__step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.how__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.how__step h3 { margin-bottom: .4rem; font-size: 1.1rem; }
.how__step p  { font-size: .9375rem; color: var(--text-muted); }

@media (min-width: 768px) { .how__steps { grid-template-columns: 1fr 1fr; } }

/* ── PRICING ────────────────────────────────────────────────── */
.pricing { background: var(--white); }
.pricing__card {
  background: var(--cream);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 520px;
}
.pricing__price {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 4rem);
  color: var(--sage);
  line-height: 1;
}
.pricing__note {
  font-size: .9375rem;
  color: var(--text-muted);
  margin: .3rem 0 1.75rem;
}
.pricing__list {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: 2rem;
}
.pricing__list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9375rem;
}
.pricing__list li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1em;
}

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials { background: var(--cream); }
.testi-grid {
  display: grid;
  gap: 1.25rem;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.75rem;
  border: 1px solid var(--border);
}
.testi-card__quote {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--sage-muted);
  line-height: .7;
  margin-bottom: .75rem;
  display: block;
}
.testi-card blockquote {
  font-size: .9375rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.testi-card__name { font-weight: 600; font-size: .875rem; }
.testi-card__role { font-size: .8125rem; color: var(--text-muted); }

@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }

.testi-featured {
  background: var(--sage-light);
  border-left: 4px solid var(--sage);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  max-width: 820px;
}
.testi-featured .testi-card__quote {
  font-size: 5rem;
  color: var(--sage-muted);
  line-height: .7;
  display: block;
  margin-bottom: .75rem;
}
.testi-featured blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-style: italic;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.testi-featured .testi-card__name { font-weight: 600; font-size: .9375rem; }
.testi-featured .testi-card__role { font-size: .875rem; color: var(--text-muted); }

/* ── RESOURCES ──────────────────────────────────────────────── */
.resources {
  background: var(--sage);
  color: var(--white);
}
.resources .section-label { color: rgba(255,255,255,.55); }
.resources h2 { color: var(--white); }
.resources .section-intro { color: rgba(255,255,255,.72); }
.resources-grid {
  display: grid;
  gap: 1.25rem;
}
.res-card {
  display: block;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--white);
  transition: background .18s, transform .18s;
}
.res-card:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); text-decoration: none; }
.res-card__tag {
  font-size: .7375rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: .65rem;
  display: block;
}
.res-card h3 { color: var(--white); margin-bottom: .5rem; font-size: 1.175rem; }
.res-card p  { font-size: .9375rem; color: rgba(255,255,255,.72); line-height: 1.65; margin-bottom: 1.25rem; }
.res-card__arrow {
  font-size: .875rem;
  font-weight: 600;
  color: var(--white);
}
.res-card__arrow::after { content: ' →'; }

@media (min-width: 768px) { .resources-grid { grid-template-columns: 1fr 1fr; } }

/* ── CONTACT ────────────────────────────────────────────────── */
.contact { background: var(--white); }
.contact__inner {
  display: grid;
  gap: 3rem;
}
.contact__text p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 50ch;
}
.contact__options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.contact__fine {
  font-size: .875rem;
  color: var(--text-muted);
  margin-top: .75rem;
}
.contact__deco {
  display: none;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .contact__inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact__deco  { display: flex; }
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: #1b2b22;
  color: rgba(255,255,255,.55);
  padding: 2.5rem 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 600;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}
.footer__links a { color: rgba(255,255,255,.55); font-size: .875rem; }
.footer__links a:hover { color: var(--white); text-decoration: none; }
.footer__copy { font-size: .8125rem; }

@media (min-width: 768px) {
  .footer__inner { flex-direction: row; justify-content: space-between; align-items: center; gap: 1rem; }
}

/* ── FLOATING WHATSAPP ──────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: max(1.5rem, calc(1rem + env(safe-area-inset-bottom)));
  right: max(1.5rem, env(safe-area-inset-right));
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  color: var(--white);
  transition: transform .2s, box-shadow .2s;
  animation: wa-pulse 3s infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 26px rgba(37,211,102,.55);
  text-decoration: none;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,.55), 0 0 0 8px rgba(37,211,102,.1); }
}

/* ── GUIDE PAGES ────────────────────────────────────────────── */
.guide-hero {
  background: linear-gradient(150deg, var(--sage-light) 0%, var(--cream) 65%);
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
}
.breadcrumb {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--sage); }
.guide-hero p.lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  max-width: 55ch;
  margin-top: .9rem;
}
.guide-body {
  background: var(--white);
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
}
.guide-body .container { max-width: 780px; }
.prose h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 2.75rem 0 .75rem;
  padding-top: .25rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  margin: 2rem 0 .5rem;
}
.prose p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: var(--text);
}
.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose li { margin-bottom: .55rem; line-height: 1.75; }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { font-style: italic; }
.callout {
  background: var(--sage-light);
  border-left: 3px solid var(--sage);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.callout p { margin-bottom: 0; }
.guide-cta-box {
  background: var(--sage-light);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-top: 3.5rem;
}
.guide-cta-box h2 { font-size: 1.5rem; margin-bottom: .65rem; }
.guide-cta-box p {
  color: var(--text-muted);
  margin: 0 auto 1.75rem;
  max-width: 44ch;
}

/* ── Utilities ──────────────────────────────────────────────── */
.mt-sm { margin-top: 1rem; }
.text-muted { color: var(--text-muted); }
