/* ============================================================
   KASIA HYPNOTHERAPY — stylesheet
   ------------------------------------------------------------
   Quick edit guide:
   • Colours live in the :root block right below. Change a value
     once and it updates everywhere.
   • Fonts: Fraunces (serif) for headings, Nunito Sans for body.
   • The design is mobile-first; the @media block near the bottom
     adds the larger-screen layout.
   ============================================================ */

:root {
  /* ---- Colour palette (terracotta accent) ---- */
  --cream:      #FBF7F0;   /* page background */
  --sand:       #F2E9DC;   /* soft section background */
  --taupe:      #E3D5C3;   /* borders / muted blocks */
  --ink:        #3D352E;   /* main text (warm near-black) */
  --ink-soft:   #6B6058;   /* secondary text */
  --terracotta: #B5603F;   /* primary accent */
  --terracotta-dark:#9A4E32;/* accent hover */
  --gold:       #C9A24B;   /* small highlights */
  --white:      #FFFFFF;

  /* ---- Type ---- */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Nunito Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* ---- Layout ---- */
  --max:   1120px;
  --radius: 18px;
  --shadow: 0 18px 50px -24px rgba(61, 53, 46, 0.35);
}

/* ---- Reset-ish ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-dark); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--ink); margin: 0 0 0.5em; }
p { margin: 0 0 1.1em; }
em { font-style: italic; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 720px; }
.center { text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-align: center;
}
.btn--primary { background: var(--terracotta); color: var(--white); box-shadow: 0 10px 24px -12px rgba(181,96,63,.8); }
.btn--primary:hover { background: var(--terracotta-dark); color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--taupe); }
.btn--ghost:hover { border-color: var(--terracotta); color: var(--terracotta); transform: translateY(-2px); }
.btn--small { padding: 9px 20px; font-size: .9rem; background: var(--terracotta); color: var(--white); }
.btn--small:hover { background: var(--terracotta-dark); color: var(--white); }
.btn--large { padding: 17px 40px; font-size: 1.08rem; }

/* ---- Section spacing ---- */
.section { padding: 84px 0; }
.section__eyebrow {
  font-family: var(--sans); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 0.78rem; color: var(--terracotta);
  margin: 0 0 0.6em;
}
.section__title { font-size: clamp(1.8rem, 5vw, 2.7rem); margin-bottom: 0.5em; }
.section__lead { font-size: 1.12rem; color: var(--ink-soft); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--taupe);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav__logo { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); font-weight: 600; }
.nav__menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 26px; align-items: center;
}
.nav__menu a { color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.nav__menu a:hover { color: var(--terracotta); }
.nav__menu a.btn { color: var(--white); }

.nav__toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 26px; height: 2px; background: var(--ink); transition: .3s; }

/* ============================================================
   1. HERO
   👉 To use your OWN photo as a soft hero background, add to the
      .hero rule below, e.g.:
        background-image:
          linear-gradient(rgba(251,247,240,.78), rgba(251,247,240,.92)),
          url("../images/hero.jpg");
        background-size: cover; background-position: center;
   ============================================================ */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(201,162,75,.18), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(181,96,63,.12), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--sand));
  padding: 96px 0 104px;
}
.hero__inner { max-width: 800px; }
.hero__eyebrow {
  font-weight: 700; text-transform: uppercase; letter-spacing: .2em;
  font-size: .8rem; color: var(--terracotta); margin-bottom: 1em;
}
.hero__title { font-size: clamp(2.3rem, 7vw, 4rem); letter-spacing: -0.01em; }
.hero__subtitle { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--ink-soft); max-width: 640px; margin-bottom: 2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin-top: 2em; color: var(--ink-soft); font-size: .92rem; letter-spacing: .02em; }

/* ============================================================
   2. PROBLEM
   ============================================================ */
.problem { background: var(--cream); }
.problem .section__title { font-size: clamp(1.6rem, 4.4vw, 2.4rem); margin-bottom: 0.8em; }
.problem p { font-size: 1.1rem; color: var(--ink-soft); }

/* ============================================================
   3. METHOD
   ============================================================ */
.method { background: var(--sand); }
.steps { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 54px; }
.step {
  background: var(--white); border: 1px solid var(--taupe);
  border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow);
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--terracotta); color: var(--white);
  font-family: var(--serif); font-size: 1.3rem; margin-bottom: 16px;
}
.step__title { font-size: 1.35rem; }
.step p { color: var(--ink-soft); margin-bottom: 0; }
.credibility {
  text-align: center; margin-top: 44px;
  font-style: italic; color: var(--ink-soft);
  font-family: var(--serif); font-size: 1.15rem;
}

/* ============================================================
   4. OFFER CARD
   ============================================================ */
.offer { background: var(--cream); }
.offer__card {
  max-width: 720px; margin: 0 auto;
  background: linear-gradient(180deg, var(--white), #FFFDF9);
  border: 1px solid var(--taupe);
  border-top: 5px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  text-align: center;
}
.offer__eyebrow { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; }
.offer__title { font-size: clamp(2rem, 5vw, 2.8rem); margin: .2em 0 .3em; }
.offer__summary { font-size: 1.15rem; color: var(--ink-soft); max-width: 520px; margin: 0 auto 2em; }
.offer__stack { list-style: none; margin: 0 auto 2em; padding: 0; max-width: 480px; text-align: left; }
.offer__stack li { position: relative; padding: 12px 0 12px 36px; border-bottom: 1px solid var(--sand); color: var(--ink); }
.offer__stack li:last-child { border-bottom: 0; }
.offer__stack li::before {
  content: "✓"; position: absolute; left: 0; top: 11px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--terracotta); color: var(--white);
  font-size: .8rem; display: flex; align-items: center; justify-content: center;
}
.offer__price { margin: 8px 0 26px; }
.offer__amount { font-family: var(--serif); font-size: 3rem; color: var(--terracotta); display: block; line-height: 1; }
.offer__price-note { color: var(--ink-soft); font-size: .95rem; }
.offer__guarantee {
  background: var(--sand); border-radius: 14px;
  padding: 20px 24px; margin: 0 auto 28px; max-width: 560px;
  color: var(--ink); font-size: 1rem;
}
.offer__guarantee strong { color: var(--terracotta-dark); }
.offer__availability { color: var(--ink-soft); font-size: .92rem; margin: 22px 0 0; font-style: italic; }

/* ============================================================
   4b. TRANSFORMATION PACKAGES
   ============================================================ */
.packages { background: var(--sand); }
.pkg__grid { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 50px; }
.pkg__card {
  position: relative;
  background: var(--white); border: 1px solid var(--taupe);
  border-radius: var(--radius); padding: 38px 32px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.pkg__card--featured { border: 1px solid var(--terracotta); border-top: 5px solid var(--terracotta); }
.pkg__ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--ink); font-weight: 700;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; white-space: nowrap;
}
.pkg__tag { color: var(--terracotta); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; margin: 0 0 .4em; }
.pkg__name { font-size: 1.7rem; margin-bottom: .3em; }
.pkg__desc { color: var(--ink-soft); }
.pkg__stack { list-style: none; margin: 6px 0 22px; padding: 0; }
.pkg__stack li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--sand); color: var(--ink); font-size: .98rem; }
.pkg__stack li:last-child { border-bottom: 0; }
.pkg__stack li::before {
  content: "✓"; position: absolute; left: 0; top: 9px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--terracotta); color: var(--white);
  font-size: .7rem; display: flex; align-items: center; justify-content: center;
}
.pkg__price { margin: auto 0 20px; }
.pkg__amount { font-family: var(--serif); font-size: 2.4rem; color: var(--terracotta); display: block; line-height: 1; }
.pkg__per { color: var(--ink-soft); font-size: .9rem; }
.pkg__card .btn { width: 100%; }
.packages__note { text-align: center; margin-top: 36px; color: var(--ink-soft); font-style: italic; }

/* ============================================================
   5. BOOK
   ============================================================ */
.book { background: var(--sand); }
.book__inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.book__cover { display: flex; justify-content: center; }
.book__cover img { border-radius: 10px; box-shadow: var(--shadow); max-width: 320px; }
.book__cover-placeholder {
  width: 280px; height: 420px; border: 2px dashed var(--taupe);
  border-radius: 10px; align-items: center; justify-content: center;
  text-align: center; color: var(--ink-soft); background: var(--white);
  font-family: var(--serif); font-size: 1.2rem;
}
.book__text .section__title { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.book__text p { color: var(--ink-soft); }
.book__included { font-style: italic; color: var(--terracotta-dark); margin-top: 1.4em; }

/* ============================================================
   6. ABOUT
   ============================================================ */
.about { background: var(--cream); }
.about__inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.about__photo { display: flex; justify-content: center; }
.about__photo img { border-radius: var(--radius); box-shadow: var(--shadow); max-width: 420px; object-fit: cover; }
.about__photo-placeholder {
  width: 100%; max-width: 420px; aspect-ratio: 5/6;
  border: 2px dashed var(--taupe); border-radius: var(--radius);
  align-items: center; justify-content: center; text-align: center;
  color: var(--ink-soft); background: var(--sand);
  font-family: var(--serif); font-size: 1.2rem;
}
.about__text p { color: var(--ink-soft); }
.about__belief {
  font-family: var(--serif); font-style: italic; font-size: 1.4rem;
  color: var(--ink); border-left: 3px solid var(--gold);
  padding-left: 20px; margin-top: 1.6em; line-height: 1.4;
}

/* ============================================================
   7. TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--sand); }
.quotes { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
.quote {
  background: var(--white); border: 1px solid var(--taupe);
  border-radius: var(--radius); padding: 32px 28px; margin: 0;
  box-shadow: var(--shadow);
}
.quote blockquote {
  margin: 0 0 16px; font-family: var(--serif); font-size: 1.25rem;
  line-height: 1.45; color: var(--ink);
}
.quote blockquote::before { content: "“"; color: var(--gold); font-size: 1.4em; line-height: 0; vertical-align: -0.25em; }
.quote figcaption { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }

/* ============================================================
   8. FAQ
   ============================================================ */
.faq { background: var(--cream); }
.faq__list { margin-top: 44px; }
.faq__item { border-bottom: 1px solid var(--taupe); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 4px; text-align: left;
  font-family: var(--serif); font-size: 1.2rem; color: var(--ink);
}
.faq__icon { position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--terracotta);
  transition: transform .3s ease;
}
.faq__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__icon::after  { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: scaleY(0); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.faq__a p { padding: 0 4px 22px; margin: 0; color: var(--ink-soft); }

/* ============================================================
   9. CONTACT
   ============================================================ */
.contact { background: var(--sand); }
.contact__cta { text-align: center; margin: 14px 0 50px; }
.contact__form {
  display: grid; gap: 16px; max-width: 560px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--taupe);
  border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow);
}
.contact__form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.contact__form input, .contact__form textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--taupe);
  border-radius: 12px; background: var(--cream); width: 100%;
}
.contact__form input:focus, .contact__form textarea:focus {
  outline: none; border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(181,96,63,.15);
}
.contact__form button { margin-top: 4px; }
.contact__form-note { text-align: center; color: var(--ink-soft); font-size: .85rem; margin: 4px 0 0; }
.contact__details { text-align: center; margin-top: 32px; color: var(--ink-soft); }
.contact__details p { margin: 6px 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #EDE4D8; text-align: center; padding: 50px 0; }
.site-footer__name { font-family: var(--serif); font-size: 1.4rem; color: var(--white); margin-bottom: 4px; }
.site-footer__tag { color: #C9BCAC; margin-bottom: 14px; font-size: .95rem; }
.site-footer__links a { color: var(--gold); }
.site-footer__small { color: #9A8E7F; font-size: .82rem; margin: 14px 0 0; }

/* ============================================================
   SCROLL REVEAL ANIMATION (paired with js/main.js)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   LARGER SCREENS
   ============================================================ */
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .book__inner { grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
  .about__inner { grid-template-columns: 1fr 1fr; gap: 56px; }
}

@media (max-width: 759px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--taupe);
    padding: 8px 22px 18px;
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav__menu.is-open { max-height: 460px; }
  .nav__menu li { border-bottom: 1px solid var(--sand); }
  .nav__menu li:last-child { border-bottom: 0; padding-top: 12px; }
  .nav__menu a { display: block; padding: 14px 0; }
  .nav__menu a.btn { text-align: center; }
  .offer__card { padding: 36px 24px; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
