/* LearningwithBelle.com — shared styles for every landing-page file */

:root {
  --bg-outer: #e9e9e5;
  --bg-page: #fbfaf7;
  --bg-hero: #fcf8f2;
  --bg-hero-warm: #f9ecde;
  --bg-fade: #e6e8e7;
  --ink: #203852;
  --ink-soft: #46596f;
  --ink-muted: #7a8a9b;
  --teal: #4e9ba7;
  --teal-dark: #3f8a97;
  --teal-text: #359ba0;
  --teal-motto: #72b1c0;
  --blue-soft: #d4e2f2;
  --mint-soft: #d3e8e0;
  --yellow-soft: #f4e7c9;
  --rose-soft: #efdad7;
  --wave-1: #d3dcdb;
  --wave-2: #b7c3c2;
  --wave-3: #99abac;
  --font-sans: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script: "Caveat", "Segoe Script", "Brush Script MT", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg-outer);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Page shell (rounded on the right like a page in the mockup) ---------- */
.page {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  background: var(--bg-page);
  overflow: hidden;
  min-height: 100vh;
}
@media (min-width: 1024px) {
  body { padding: 28px 24px 40px; }
  .page {
    border-radius: 34px;
    min-height: auto;
    box-shadow: 0 22px 60px rgba(32, 56, 82, 0.14);
  }
  body {                 /* soft teal wave behind the card's top-left corner */
    background:
      radial-gradient(60% 140px at 8% 0, var(--wave-1) 60%, transparent 61%),
      radial-gradient(40% 90px at 30% 0, #dfe5e4 55%, transparent 56%),
      var(--bg-outer);
    background-repeat: no-repeat;
  }
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

/* ---------- Header ---------- */
.header {
  position: relative;
  z-index: 5;
  background: #f6f6f3;
  padding-block: 20px;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo img { height: 46px; width: auto; }
.logo-word {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.logo-word em { font-style: italic; color: var(--teal-text); }
.logo-word small { font-size: .78em; font-weight: 500; }

.nav ul { display: flex; gap: clamp(18px, 3vw, 44px); }
.nav a {
  position: relative;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  padding-block: 6px;
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(32,56,82,.08);
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink);
  border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .2s;
}

@media (max-width: 767px) {
  .logo img { height: 38px; }
  .logo-word { font-size: 1.1rem; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: calc(100% - 6px);
    left: 16px; right: 16px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(32,56,82,.14);
    padding: 12px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { display: block; padding: 12px 14px; border-radius: 10px; }
  .nav a::after { display: none; }
  .nav a:hover, .nav a[aria-current="page"] { background: var(--bg-page); color: var(--teal-dark); }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero: full-bleed desk scene with copy overlaid on the left ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 52vw, 700px);
  background: linear-gradient(100deg, var(--bg-hero) 0%, #fbf3e9 45%, var(--bg-hero-warm) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {          /* warm window-light streak on the wall */
  content: "";
  position: absolute;
  top: -10%; right: 18%;
  width: 34%; height: 120%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%);
  transform: skewX(-16deg);
  pointer-events: none;
}
.hero-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-scene .label { font-family: var(--font-sans); font-weight: 600; }
.hero-scene .mug-text { font-family: var(--font-script); font-weight: 600; }
.hero::after {           /* keeps the copy legible whatever the crop does */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(252,248,242,.92) 0%, rgba(252,248,242,.55) 38%, rgba(252,248,242,0) 58%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-block: clamp(40px, 6vw, 80px);
}
.hero-copy { max-width: 600px; }
.eyebrow {
  margin: 0 0 8px;
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5.2vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
@media (min-width: 768px) {
  .hero h1 { overflow-wrap: normal; white-space: nowrap; }
}
.hero h1 em { font-style: italic; color: var(--teal-text); }
.hero h1 small { font-size: 1em; font-weight: 500; color: var(--ink); }
.motto {
  margin: 10px 0 26px;
  font-size: clamp(0.95rem, 1.9vw, 1.5rem);
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--teal-motto);
}
.motto span { margin-inline: .3em; }
.lead {
  margin: 0 0 34px;
  max-width: 24ch;
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #55a3af 0%, var(--teal) 100%);
  color: #fff;
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  box-shadow: 0 12px 28px rgba(78,155,167,.32);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(78,155,167,.4);
}
.btn svg { width: 22px; height: 22px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }

@media (max-width: 767px) {
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero::after { display: none; }
  .hero .container { order: 1; text-align: center; padding-bottom: 8px; }
  .hero-copy { margin-inline: auto; }
  .lead { margin-inline: auto; }
  .hero-scene {
    order: 2;
    position: relative;
    display: block;
    height: 250px;
    margin-top: 8px;
  }
}

/* ---------- Features (fade from cream into the footer's grey-teal) ---------- */
.features {
  padding-block: clamp(44px, 7vw, 90px) clamp(36px, 6vw, 72px);
  background: linear-gradient(180deg, var(--bg-page) 0%, #f5f4f1 55%, var(--bg-fade) 100%);
}
.features .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.feature { text-align: center; }
.feature-icon {
  width: 84px; height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
}
.feature-icon svg { width: 36px; height: 36px; }
.feature-icon--blue { background: var(--blue-soft); }
.feature-icon--mint { background: var(--mint-soft); }
.feature-icon--yellow { background: var(--yellow-soft); }
.feature-icon--rose { background: var(--rose-soft); }
.feature h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.feature p {
  margin: 0 auto;
  max-width: 24ch;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
@media (max-width: 1023px) {
  .features .container { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
}
@media (max-width: 479px) {
  .features .container { grid-template-columns: 1fr; row-gap: 36px; }
}

/* ---------- Footer with waves ---------- */
.footer {
  position: relative;
  padding-block: clamp(32px, 5vw, 56px) clamp(56px, 9vw, 110px);
  background: var(--bg-fade);
  overflow: hidden;
}
.footer .waves {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.footer .container {
  position: relative;
  text-align: center;
}
.quote {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 600;
  color: var(--teal-dark);
  line-height: 1.2;
}
.quote-sub {
  margin: 8px 0 0;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.divider {
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--teal-dark);
}
.divider::before, .divider::after {
  content: ""; width: 40px; height: 1px; background: currentColor; opacity: .6;
}
.divider svg { width: 16px; height: 16px; }

.copyright {
  position: absolute;
  left: clamp(16px, 4vw, 48px);
  bottom: clamp(20px, 4vw, 44px);
  font-size: .74rem;
  color: #fff;
  opacity: .9;
}
@media (max-width: 767px) {
  .copyright { position: static; display: block; margin-top: 64px; color: var(--ink-soft); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ======================================================================
   Inner pages (about, courses, contact)
   ====================================================================== */

/* ---------- Compact page hero ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(100deg, var(--bg-hero) 0%, #fbf3e9 45%, var(--bg-hero-warm) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -10%; right: 12%;
  width: 34%; height: 120%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%);
  transform: skewX(-16deg);
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  padding-block: clamp(40px, 6vw, 72px);
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.page-hero h1 em { font-style: italic; color: var(--teal-text); }
.page-hero .lead { max-width: 40ch; margin: 14px 0 0; font-size: clamp(1.02rem, 1.6vw, 1.25rem); }

/* ---------- Generic sections ---------- */
.section { padding-block: clamp(44px, 6vw, 80px); }
.section--tint { background: linear-gradient(180deg, var(--bg-page) 0%, #f5f4f1 100%); }
.section-title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.section-title em { font-style: italic; color: var(--teal-text); }
.section-intro {
  margin: 0 0 clamp(24px, 4vw, 40px);
  max-width: 60ch;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.section-title--center, .section-intro--center { text-align: center; margin-inline: auto; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.prose p { margin: 0 0 1em; font-size: 1.05rem; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}
.card {
  background: #fff;
  border-radius: 22px;
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 10px 30px rgba(32,56,82,.07);
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.card p { margin: 0; font-size: 0.97rem; color: var(--ink-soft); }
.card .feature-icon { width: 60px; height: 60px; margin: 0 0 16px; }
.card .feature-icon svg { width: 28px; height: 28px; }

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: .04em;
  background: var(--mint-soft);
  color: var(--teal-dark);
}
.card-meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--ink-muted);
}
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-meta svg { width: 16px; height: 16px; }

/* ---------- Facts / checklist ---------- */
.facts {
  background: #fff;
  border-radius: 22px;
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 10px 30px rgba(32,56,82,.07);
}
.facts h3 { margin: 0 0 14px; font-size: 1.1rem; font-weight: 600; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  padding-block: 9px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.checklist li + li { border-top: 1px solid #eef0ef; }
.checklist svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--teal); }

/* ---------- Numbered steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
}
.step h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.step p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Pricing ---------- */
.price-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  background: #fff;
  border-radius: 26px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 14px 40px rgba(32,56,82,.08);
}
.price { text-align: center; padding-inline: clamp(8px, 2vw, 24px); }
.price strong { display: block; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; line-height: 1; color: var(--teal-text); }
.price span { display: block; margin-top: 6px; font-size: 0.9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }

/* ---------- Call-to-action band ---------- */
.cta-band {
  text-align: center;
  padding-block: clamp(40px, 6vw, 72px);
  background: linear-gradient(180deg, #f5f4f1 0%, var(--bg-fade) 100%);
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--ink); }
.cta-band p { margin: 0 auto 26px; max-width: 48ch; font-size: 1.05rem; color: var(--ink-soft); }
.btn--ghost {
  background: #fff;
  color: var(--teal-dark);
  box-shadow: 0 6px 18px rgba(32,56,82,.08);
}
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dfe3e2;
  border-radius: 14px;
  padding: 13px 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(78,155,167,.18);
}
.form .btn { justify-self: start; border: 0; cursor: pointer; }
.form-note { margin: 0; font-size: 0.85rem; color: var(--ink-muted); }
.contact-card + .contact-card { margin-top: 18px; }
.contact-card a { color: var(--teal-dark); font-weight: 500; }
.contact-card a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .cards, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .split, .price-card { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .price { text-align: left; padding-inline: 0; }
}
@media (max-width: 479px) {
  .cards, .steps { grid-template-columns: 1fr; }
}
