/* ==========================================================================
   KidJoy — AI Site template design system
   Tokens derived from reference study (palette, type scale, radii, rhythm)
   ========================================================================== */
:root {
  --light-brown: #faf2e8;
  --dark: #2f2b2b;
  --green: #09b1ab;
  --dark-green: #05807b;
  --pink: #f18eaa;
  --dark-pink: #f37598;
  --blue: #45b3df;
  --yellow: #fdc563;
  --light-beige: #fcf9f4;
  --light-blue: #a0def7;
  --light-yellow: #fff5cb;
  --light-pink: #ffe4eb;
  --light-grey: #5a5a5a;
  --white: #ffffff;
  --main-font: "Baloo Chettan 2", "Trebuchet MS", sans-serif;
  --sub-font: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --radius: 30px;
  --radius-sm: 16px;
  --shadow-soft: 0 18px 40px rgba(47, 43, 43, 0.08);
  --shadow-card: 0 12px 30px rgba(47, 43, 43, 0.07);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--dark);
  font-family: var(--sub-font);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--main-font);
  color: var(--dark);
  margin: 0;
  line-height: 1.05;
  font-weight: 800;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

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

.section { position: relative; overflow: hidden; }

.section-title {
  font-size: 3rem;
  line-height: 1.05;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.title-wrap {
  display: inline-block;
  position: relative;
  text-align: center;
}

.title-wrap .title-bg {
  position: absolute;
  left: -14px;
  right: -14px;
  bottom: 6px;
  height: 42%;
  background: var(--light-yellow);
  border-radius: 12px;
  opacity: 0.55;
  z-index: 0;
  transform: rotate(-1.2deg);
}

.title-wrap.is-blue .title-bg { background: var(--light-blue); }
.title-wrap.is-pink .title-bg { background: var(--light-pink); }
.title-wrap.is-green .title-bg { background: #b8efec; }

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-head p {
  margin-top: 18px;
  color: var(--light-grey);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  border-radius: 10px;
  padding: 10px 20px;
  font-family: var(--main-font);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  border-radius: var(--radius);
  padding: 12px 28px;
  font-family: var(--main-font);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--dark); outline-offset: 3px; }

.btn-dashed {
  background: var(--pink);
  color: var(--white);
  border: 2px dashed var(--white);
  box-shadow: 0 10px 24px rgba(241, 142, 170, 0.4);
}

.btn-dashed:hover { background: var(--dark-pink); }

.btn-solid {
  background: var(--green);
  color: var(--white);
}

.btn-solid:hover { background: var(--dark-green); }

.btn-blue { background: var(--blue); color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--dark); }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
  font-size: 1.125rem;
  padding: 10px 22px;
}

.btn-outline:hover { background: var(--dark); color: var(--white); }

.btn-sm { font-size: 1.125rem; padding: 10px 22px; }

/* ---------- header ---------- */
.header-nav {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 99;
}

.nav-menu-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 30px;
  border-bottom-right-radius: 40px;
  font-family: var(--main-font);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--dark);
  line-height: 1;
}

.brand .brand-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--green), var(--blue), var(--pink), var(--yellow), var(--green));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--blue);
  border-bottom-left-radius: 30px;
  padding: 24px 40px;
}

.nav-link-button {
  font-family: var(--main-font);
  color: var(--white);
  text-transform: uppercase;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link-button:hover,
.nav-link-button.is-active { color: var(--dark); }

.nav-toggle {
  display: none;
  margin: 16px 20px;
  width: 52px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- hero ---------- */
.hero-section {
  position: relative;
  background: var(--light-brown);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 132px 0 70px;
  overflow: hidden;
}

.hero-photo-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-left-radius: 220px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content { max-width: 620px; }

.hero-title {
  font-size: 5.25rem;
  line-height: 0.92;
  font-weight: 800;
  margin: 24px 0 0;
}

.text-span-blue { color: var(--blue); }
.text-span-yellow { color: var(--yellow); }
.text-span-pink { color: var(--pink); }

.hero-description {
  margin-top: 28px;
  color: var(--light-grey);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 560px;
}

.hero-actions { margin-top: 38px; }

.hero-doodle {
  position: absolute;
  left: 42%;
  bottom: 150px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px dashed var(--yellow);
  opacity: 0.7;
  z-index: 1;
}

/* ---------- features ---------- */
.feature-section {
  background: var(--white);
  padding: 130px 0 110px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.feature-card { display: flex; flex-direction: column; }

.feature-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--light-beige);
}

.feature-img img { width: 100%; height: 100%; object-fit: cover; }

.feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -31px;
  margin-left: 22px;
  position: relative;
  background: var(--light-yellow);
  color: var(--dark);
  font-family: var(--main-font);
  font-size: 1.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.feature-card:nth-child(2) .feature-icon { background: var(--light-pink); }
.feature-card:nth-child(3) .feature-icon { background: var(--light-blue); }

.feature-box { padding-top: 26px; }

.feature-title {
  font-size: 1.75rem;
  color: var(--blue);
  line-height: 1.1;
}

.feature-card:nth-child(2) .feature-title { color: var(--dark-pink); }
.feature-card:nth-child(3) .feature-title { color: var(--dark-green); }

.feature-description {
  margin-top: 14px;
  color: var(--light-grey);
  font-size: 1.0625rem;
}

/* ---------- about ---------- */
.about-section {
  background: var(--light-beige);
  padding: 110px 0 100px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  align-items: center;
}

.about-media { position: relative; }

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  aspect-ratio: 5 / 4;
}

.about-media .about-blob {
  position: absolute;
  top: -26px;
  left: -26px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--light-blue);
  z-index: -1;
}

.about-text p {
  margin-top: 22px;
  color: var(--light-grey);
}

.stats-row {
  display: flex;
  gap: 18px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1 1 140px;
  background: var(--white);
  border-radius: 22px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.stat-number {
  font-family: var(--main-font);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--light-grey);
}

/* ---------- services (What we offer) ---------- */
.services-section {
  background: var(--light-blue);
  padding: 130px 0 110px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.service-card {
  background: rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--main-font);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-green);
  box-shadow: var(--shadow-card);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-top: 20px;
}

.service-card p {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--light-grey);
}

/* ---------- programs ---------- */
.program-section {
  background: var(--light-yellow);
  padding: 130px 0 120px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.program-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.program-body { padding: 26px 26px 30px; }

.program-age {
  display: inline-block;
  background: var(--light-pink);
  color: var(--dark-pink);
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 30px;
}

.program-body h3 {
  font-size: 1.75rem;
  margin-top: 14px;
}

.program-body p {
  margin-top: 12px;
  color: var(--light-grey);
  font-size: 1.0625rem;
}

.program-body .btn { margin-top: 22px; }

/* ---------- testimonials ---------- */
.testimonials-section {
  background: var(--light-beige);
  padding: 40px 0 120px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.stars {
  color: var(--yellow);
  letter-spacing: 3px;
  font-size: 1.15rem;
  line-height: 1;
}

.testimonial-quote {
  margin-top: 18px;
  color: var(--dark);
  font-size: 1.0625rem;
  flex: 1;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.testimonial-person img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person .name {
  font-family: var(--main-font);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.testimonial-person .role {
  font-size: 0.95rem;
  color: var(--light-grey);
}

/* ---------- team ---------- */
.team-section {
  background: var(--light-pink);
  padding: 120px 0 110px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.team-body { padding: 22px 22px 26px; }
.team-body h3 { font-size: 1.375rem; }
.team-body .role {
  color: var(--dark-pink);
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 4px;
}
.team-body p { margin-top: 10px; font-size: 0.95rem; color: var(--light-grey); }

/* ---------- blog ---------- */
.blog-section {
  background: var(--light-brown);
  padding: 120px 0 90px;
}

.blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.blog-card:hover { transform: translateY(-6px); }

.blog-card .cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--light-grey);
}

.tag {
  display: inline-block;
  background: var(--light-blue);
  color: #1d6b87;
  border-radius: 30px;
  padding: 4px 14px;
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-body h3 { font-size: 1.375rem; margin-top: 14px; }
.blog-body p { margin-top: 10px; color: var(--light-grey); font-size: 1rem; flex: 1; }

.read-more {
  margin-top: 18px;
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more:hover { color: var(--dark-green); }

/* ---------- newsletter ---------- */
.newsletter-band {
  background: var(--green);
  color: var(--white);
  padding: 60px 0;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.newsletter-inner h2 {
  color: var(--white);
  font-size: 2.5rem;
  max-width: 520px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex: 1 1 420px;
  max-width: 520px;
}

.newsletter-form input {
  flex: 1;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border-radius: 30px;
  padding: 14px 22px;
  font-family: var(--sub-font);
  font-size: 1rem;
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.85); }

.newsletter-form input:focus {
  outline: none;
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.26);
}

.newsletter-form .btn { white-space: nowrap; }

/* ---------- pricing ---------- */
.price-section {
  background: var(--light-beige);
  padding: 120px 0 110px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px 36px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  border: 3px solid transparent;
}

.price-card.is-featured {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.price-card.is-featured h3,
.price-card.is-featured .price { color: var(--white); }
.price-card.is-featured li { color: rgba(255, 255, 255, 0.94); }

.price-card h3 { font-size: 1.5rem; }

.price {
  font-family: var(--main-font);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-top: 12px;
  color: var(--dark);
}

.price span {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--light-grey);
}

.price-card.is-featured .price span { color: rgba(255, 255, 255, 0.9); }

.price-list { margin: 24px 0 28px; flex: 1; }

.price-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--light-grey);
  font-size: 1rem;
  margin-bottom: 12px;
}

.price-list li::before {
  content: "✓";
  font-weight: 700;
  color: var(--green);
  flex: 0 0 auto;
}

.price-card.is-featured .price-list li::before { color: var(--light-yellow); }

.price-card .btn { align-self: flex-start; }

/* ---------- faq ---------- */
.faq-section {
  background: var(--white);
  padding: 120px 0 110px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: start;
}

.faq-item {
  background: var(--light-beige);
  border-radius: 20px;
  padding: 4px 26px;
  margin-bottom: 14px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  font-family: var(--main-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.75rem;
  line-height: 1;
  color: var(--green);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 0 24px;
  color: var(--light-grey);
  font-size: 1rem;
}

.faq-aside {
  background: var(--light-yellow);
  border-radius: var(--radius);
  padding: 40px 34px;
  text-align: left;
}

.faq-aside h3 { font-size: 2rem; margin-top: 12px; }
.faq-aside p { margin-top: 14px; color: var(--light-grey); }
.faq-aside .btn { margin-top: 24px; }

/* ---------- contact ---------- */
.contact-section {
  background: var(--light-brown);
  padding: 120px 0 110px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 2px solid #eee5d8;
  background: var(--light-beige);
  border-radius: 16px;
  padding: 13px 18px;
  font-family: var(--sub-font);
  font-size: 1rem;
  color: var(--dark);
}

.field textarea { min-height: 130px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}

.field.has-error input,
.field.has-error textarea { border-color: #d9534f; }

.field-error {
  display: none;
  color: #d9534f;
  font-size: 0.85rem;
  margin-top: 6px;
}

.field.has-error .field-error { display: block; }

.form-note { margin-top: 14px; font-size: 0.9rem; color: var(--light-grey); }

.form-feedback {
  display: none;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 600;
}

.form-feedback.is-success {
  display: block;
  background: #e5f7f3;
  color: var(--dark-green);
  border: 1px solid #b7e8e1;
}

.form-feedback.is-error {
  display: block;
  background: #fdecec;
  color: #a83b37;
  border: 1px solid #f3c9c8;
}

.btn[aria-busy="true"] { opacity: 0.65; pointer-events: none; }

.contact-info h2 { font-size: 2.75rem; }

.contact-info > p { margin-top: 18px; color: var(--light-grey); }

.contact-list { margin-top: 32px; }

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-list .ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--main-font);
  font-weight: 800;
  color: var(--green);
  flex: 0 0 auto;
  box-shadow: var(--shadow-card);
}

.contact-list .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--light-grey);
}

.contact-list .value {
  font-family: var(--main-font);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
}

/* ---------- footer ---------- */
.footer-section {
  background: var(--blue);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-section .brand { color: var(--white); padding: 0; border-radius: 0; }
.footer-brand-text { margin-top: 18px; max-width: 420px; color: rgba(255, 255, 255, 0.92); font-size: 1rem; }

.footer-links-title {
  font-family: var(--main-font);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.footer-links a {
  font-family: var(--main-font);
  font-weight: 600;
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links a:hover { color: var(--dark); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- inner pages ---------- */
.page-banner {
  background: var(--light-brown);
  padding: 170px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-banner h1 {
  font-size: 4rem;
  line-height: 1;
  margin-top: 18px;
  max-width: 900px;
}

.page-banner p {
  margin-top: 18px;
  color: var(--light-grey);
  max-width: 680px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.95rem;
  color: var(--light-grey);
}

.breadcrumb a { color: var(--green); font-weight: 600; }

.blog-list-section { padding: 90px 0 110px; background: var(--white); }

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 56px;
}

.pagination a,
.pagination span {
  min-width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--main-font);
  font-weight: 700;
  border: 2px solid #efe5d8;
  color: var(--dark);
}

.pagination .is-current { background: var(--green); border-color: var(--green); color: var(--white); }

.post-header { margin-bottom: 34px; }

.post-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 44px;
}

.post-body {
  max-width: 820px;
  margin: 0 auto;
  color: #45403f;
  font-size: 1.0625rem;
}

.post-body h2 { font-size: 2rem; margin: 38px 0 14px; }
.post-body h3 { font-size: 1.5rem; margin: 30px 0 12px; }
.post-body p { margin-bottom: 18px; }
.post-body ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.post-body li { margin-bottom: 8px; }

.empty-state {
  text-align: center;
  padding: 70px 20px;
  color: var(--light-grey);
}

.empty-state h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.empty-state p {
  max-width: 520px;
  margin: 0 auto;
}

.empty-state .btn { margin-top: 22px; }

/* ---------- motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .blog-card, .service-card { transition: none; }
}

/* ---------- responsive ---------- */
@media screen and (max-width: 1100px) {
  .hero-title { font-size: 4.5rem; }
  .nav-menu { gap: 20px; padding: 20px 26px; }
  .nav-link-button { font-size: 1rem; }
}

@media screen and (max-width: 991px) {
  .brand { padding: 18px 20px; font-size: 1.6rem; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu .nav-link-button { display: block; width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
  .nav-menu .nav-link-button:last-child { border-bottom: 0; }
  .hero-section { display: block; min-height: auto; padding: 120px 0 0; }
  .hero-photo-wrap { position: relative; width: 100%; height: 340px; margin-top: 46px; }
  .hero-photo { border-radius: var(--radius) var(--radius) 0 0; border-bottom-left-radius: var(--radius); }
  .hero-content { max-width: 100%; }
  .hero-doodle { display: none; }
  .feature-grid, .service-grid, .program-grid, .testimonial-grid, .price-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .faq-grid, .contact-grid, .footer-top { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .section-title { font-size: 2.5rem; }
  .feature-section, .about-section, .services-section, .program-section, .team-section, .blog-section, .price-section, .faq-section, .contact-section, .testimonials-section { padding-top: 90px; padding-bottom: 80px; }
  .page-banner { padding: 140px 0 60px; }
  .page-banner h1 { font-size: 3rem; }
  .contact-form-card { padding: 30px 24px; }
  .newsletter-inner h2 { font-size: 2rem; }
}

@media screen and (max-width: 767px) {
  body { font-size: 1rem; }
  .eyebrow { font-size: 1.25rem; padding: 8px 16px; }
  .hero-title { font-size: 3.4rem; }
  .section-title { font-size: 2.1rem; }
  .feature-grid, .service-grid, .program-grid, .testimonial-grid, .price-grid, .blog-grid, .team-grid { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .blog-head { align-items: flex-start; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .stats-row { gap: 12px; }
  .stat-card { flex: 1 1 100px; padding: 18px 12px; }
  .stat-number { font-size: 2rem; }
  .contact-info h2 { font-size: 2.1rem; }
  .btn { font-size: 1.25rem; }
}

@media screen and (max-width: 479px) {
  .hero-title { font-size: 2.8rem; }
  .hero-photo-wrap { height: 260px; }
  .brand { font-size: 1.35rem; }
  .brand .brand-dot { width: 22px; height: 22px; }
  .faq-item { padding: 4px 18px; }
  .faq-item summary { font-size: 1.1rem; }
  .contact-form-card { padding: 24px 18px; }
  .container { padding: 0 16px; }
}

/* ---------- newsletter form block ---------- */
.newsletter-form-block { width: 100%; max-width: 540px; }
.newsletter-band .form-feedback { margin-top: 14px; margin-bottom: 0; }
.newsletter-band .form-feedback.is-success {
  display: block;
  background: var(--white);
  color: var(--dark-green);
  border: 1px solid var(--white);
}
.newsletter-band .form-feedback.is-error {
  display: block;
  background: #fff3f3;
  color: #a83b37;
  border: 1px solid #f2c5c4;
}


/* select-inset-fix:20261116:v1 */
/* Single native selects only; keep site colours, borders, sizing and interaction. */
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){
 -webkit-appearance:none!important; -moz-appearance:none!important; appearance:none!important;
 padding-inline-end:44px!important;
 background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%)!important;
 background-position:right 22px center,right 16px center!important;
 background-size:6px 6px,6px 6px!important; background-repeat:no-repeat!important;
}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):dir(rtl){background-position:left 16px center,left 22px center!important}
@media (forced-colors:active){select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){-webkit-appearance:auto!important;-moz-appearance:auto!important;appearance:auto!important;background-image:none!important}}
