@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --bg: #eff4ed;
  --surface: #ffffff;
  --surface-soft: #f6faf4;
  --ink: #1f3327;
  --muted: #4e6758;
  --primary: #0f6b3f;
  --primary-dark: #0a4f2f;
  --accent: #d8e6d4;
  --line: #c6d8c4;
  --footer: #0f5f37;
  --shadow: 0 18px 40px rgba(15, 64, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 138, 85, 0.14), transparent 24%),
    radial-gradient(circle at 92% 8%, rgba(86, 120, 175, 0.09), transparent 22%),
    var(--bg);
}

.shell {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.2;
  margin: 0;
}

.site-main {
  padding: 0;
}

.topbar {
  background: #113524;
  color: #dfeee4;
  font-size: 0.84rem;
}

.topbar-wrap {
  min-height: 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.topbar-note {
  text-align: center;
  opacity: 0.88;
}

.top-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.top-social a {
  color: #ecf5ef;
  text-decoration: none;
}

.top-social a:hover,
.footer-social a:hover,
.contact-social a:hover {
  color: #ffe08a;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(8px);
  background: rgba(246, 250, 244, 0.95);
  border-bottom: 1px solid var(--line);
}

.header-wrap {
  min-height: 88px;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: 0.55rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--primary), #2f905c);
  color: #fff;
  font-weight: 800;
}

.brand-logo {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  border: 1px solid var(--line);
  object-fit: cover;
  display: block;
}

.brand-text {
  font-size: 1rem;
  font-weight: 700;
  max-width: 240px;
  line-height: 1.3;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.header-cta {
  text-decoration: none;
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary-dark);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.58rem 1rem;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--primary-dark);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #fff;
  font-size: 1.3rem;
}

.home-hero {
  margin-top: 0.8rem;
}

.hero-slider {
  border-radius: 0;
  border: 1px solid #4d8d67;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, #0f6b3f, #1f7f50 42%, #105633 100%);
  color: #fff;
}

.hero-scholaro {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.45fr;
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "copy main side"
    "copy lower lower";
  gap: 1rem;
  padding: 0;
}

.hero-scholaro-copy {
  grid-area: copy;
  align-self: center;
  max-width: 620px;
}

.hero-eyebrow {
  color: rgba(236, 249, 241, 0.88);
  letter-spacing: 0.09em;
}

.hero-scholaro-copy h2 {
  margin: 0.6rem 0 0.9rem;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.06;
  color: #f6fff9;
}

.hero-scholaro-copy p {
  margin: 0;
  max-width: 560px;
  font-size: 1.05rem;
  color: rgba(233, 248, 239, 0.94);
}

.hero-actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.64rem 1.1rem;
  font-weight: 700;
  font-size: 0.94rem;
  border: 1px solid transparent;
}

.hero-btn-primary {
  background: #f8c423;
  color: #15442d;
}

.hero-btn-outline {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.hero-scholaro-main {
  grid-area: main;
  align-self: end;
}

.hero-scholaro-main img {
  width: 100%;
  min-height: 360px;
  max-height: 440px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-scholaro-side {
  grid-area: side;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.9rem;
}

.hero-side-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.hero-side-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.hero-scholaro-lower {
  grid-area: lower;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-scholaro-lower img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.hero-media-placeholder {
  min-height: 180px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.66);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(247, 255, 251, 0.92);
}

.carousel-control-next,
.carousel-control-prev {
  width: 9%;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background-color: rgba(9, 47, 29, 0.4);
}

.carousel-indicators {
  margin-bottom: 0.9rem;
}

.carousel-indicators button {
  width: 30px !important;
  border-radius: 999px;
}

.hero-scholaro-empty {
  padding: 0;
  min-height: 420px;
  display: block;
}

.concept-panel {
  margin-top: 2.6rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.1rem, 3vw, 1.8rem);
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  margin-top: 0.42rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  color: var(--primary);
  font-weight: 800;
}

.about-showcase {
  margin-top: 2.6rem;
}

.about-showcase-top h2 {
  margin: 0.45rem 0 0.9rem;
  font-size: clamp(1.7rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: #13633d;
  max-width: 960px;
}

.about-showcase-link {
  display: inline-block;
  text-decoration: none;
  color: #1b6e45;
  border: 1px solid #cfdccf;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 700;
  background: #fff;
}

.about-showcase-images {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 0.85fr 1.2fr 0.85fr;
  gap: 0.9rem;
  align-items: start;
}

.about-showcase-left,
.about-showcase-center,
.about-showcase-right {
  border-radius: 14px;
  overflow: hidden;
}

.about-showcase-left {
  margin-top: 80px;
}

.about-showcase-right {
  margin-top: 20px;
}

.about-showcase-left img,
.about-showcase-center img,
.about-showcase-right img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.about-showcase-center img {
  min-height: 520px;
}

.about-image-placeholder {
  min-height: 220px;
  border-radius: 12px;
  border: 1px dashed #c9d8cc;
  background: #f7fbf8;
  display: grid;
  place-items: center;
  color: #6d8577;
  font-weight: 600;
}

.about-showcase-center .about-image-placeholder {
  min-height: 520px;
}

.about-showcase-cards {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.about-info-card {
  background: #fff;
  border: 1px solid #d8e3da;
  border-radius: 14px;
  padding: 1rem;
}

.about-info-card h3 {
  margin-bottom: 0.45rem;
  color: #b06c2f;
  font-size: 1.55rem;
}

.about-info-card p {
  margin: 0;
  color: #526a5b;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1rem;
}

.vision-copy {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.vision-copy p {
  color: #375446;
  margin: 0 0 0.8rem;
}

.vision-copy p:last-child {
  margin-bottom: 0;
}

.vision-collage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.vision-collage-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.vision-collage-item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.vision-collage-item h3 {
  font-size: 0.94rem;
  padding: 0.68rem;
}

.genre-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.genre-list span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.82rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.91rem;
}

.genres-glance {
  margin-top: 2.6rem;
  background: #e9f2ec;
  border: 1px solid #d4e2d8;
  border-radius: 22px;
  padding: clamp(1rem, 3vw, 1.8rem);
}

.genres-glance-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.genres-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.genres-metric-card {
  background: transparent;
  border-radius: 14px;
  padding: 0.4rem;
}

.genres-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f4b740;
  color: #fff;
  margin-bottom: 0.55rem;
}

.genres-metric-card h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  color: #0f613b;
  line-height: 1;
}

.genres-metric-card h4 {
  margin: 0.55rem 0 0.2rem;
  font-size: 1.12rem;
  color: #1f3e30;
}

.genres-metric-card p {
  margin: 0;
  color: #5d7668;
}

.genres-highlight h2 {
  margin: 0.35rem 0 0.9rem;
  font-size: clamp(1.7rem, 4vw, 3.6rem);
  color: #0f613b;
  line-height: 1.1;
}

.genres-highlight img {
  width: 100%;
  /* height: 320px; */
  border-radius: 18px;
  object-fit: cover;
  display: block;
}

.genres-image-placeholder {
  min-height: 220px;
  border: 1px dashed #c3d5c7;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #678172;
  background: #f3faf5;
  text-align: center;
  padding: 0.8rem;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.other-books-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.book-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(22, 71, 44, 0.08);
}

.book-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.book-card h3 {
  font-size: 1.06rem;
  padding: 0.85rem 0.9rem 0.2rem;
}

.book-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.book-card p {
  margin: 0;
  color: var(--muted);
  padding: 0 0.9rem 1rem;
  font-size: 0.93rem;
}

.testimonials-showcase {
  margin-top: 2.6rem;
  background: #edf4ef;
  border-top: 1px solid #d4e1d8;
  border-bottom: 1px solid #d4e1d8;
  padding: clamp(1.2rem, 3vw, 2rem) 0 clamp(1.4rem, 3vw, 2.2rem);
  overflow: hidden;
}

.testimonials-header {
  max-width: 760px;
  margin: 0 auto 1.2rem;
  text-align: center;
}

.testimonials-header h2 {
  color: #0e6b3f;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  margin: 0.35rem 0 0.65rem;
}

.testimonials-header p {
  margin: 0;
  color: #566e60;
  font-size: 1.02rem;
}

.testimonial-carousel {
  position: relative;
}

.testimonial-stage {
  min-height: 440px;
  display: grid;
  grid-template-columns: 0.6fr 1.2fr 0.6fr;
  align-items: center;
  gap: 1rem;
}

.testimonial-side {
  width: 260px;
  height: 260px;
  border-radius: 999px;
  overflow: hidden;
  justify-self: center;
  border: 1px solid #c8dad0;
  background: #d6e6db;
}

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

.testimonial-center {
  position: relative;
  width: min(640px, 100%);
  height: 460px;
  margin-inline: auto;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #c4d7cc;
  background: #dceae1;
}

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

.testimonial-overlay-card {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(520px, 88%);
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  border: 1px solid #d4ddd8;
  padding: 1.15rem;
  box-shadow: 0 10px 24px rgba(15, 76, 45, 0.16);
}

.testimonial-quote {
  margin: 0 0 0.8rem;
  color: #304a3d;
  font-size: 1.26rem;
  line-height: 1.5;
}

.testimonial-overlay-card strong {
  color: #1b6b42;
  display: block;
  font-size: 1.08rem;
}

.testimonial-overlay-card span {
  color: #5d7768;
  font-size: 0.92rem;
}

.testimonial-indicators {
  position: static;
  margin: 0.9rem 0 0;
  gap: 0.45rem;
}

.testimonial-indicators button {
  width: 40px !important;
  height: 6px !important;
  border-radius: 999px !important;
  margin: 0 !important;
  background-color: #a6c7b4 !important;
  border: 0 !important;
  opacity: 1 !important;
}

.testimonial-indicators .active {
  background-color: #bb6f2b !important;
}

.testimonial-spotlight-empty {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #d4ddd8;
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  color: #395548;
}

.faq-block {
  margin-top: 2.6rem;
}

.faq-heading {
  text-align: center;
  margin-bottom: 1rem;
}

.faq-heading h2 {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  color: #0e6b3f;
}

.faq-panel {
  background: #fff;
  border: 1px solid #dfdfd7;
  border-radius: 16px;
  padding: 0.45rem 1.6rem;
}

.faq-item {
  border-bottom: 1px solid #e8e8e2;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1.15rem 0;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  align-items: center;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 2rem);
  color: #22382e;
}

.faq-plus,
.faq-minus {
  color: #1b7a4b;
  font-size: 1.35rem;
}

.faq-toggle .faq-minus {
  display: none;
}

.faq-toggle[aria-expanded="true"] .faq-plus {
  display: none;
}

.faq-toggle[aria-expanded="true"] .faq-minus {
  display: inline-block;
}

.faq-answer {
  padding: 0 0 1rem;
  color: #566b5d;
  font-size: 1.02rem;
  max-width: 1000px;
}

.faq-empty {
  border: 1px solid #dfdfd7;
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
  text-align: center;
  color: #53685b;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.video-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 0.9rem;
}

.video-card h3 {
  margin-top: 0.75rem;
  font-size: 1.04rem;
}

.video-embed iframe {
  width: 100%;
  min-height: 240px;
  border: 0;
  border-radius: 10px;
}

.videos-page {
  margin-top: 1rem;
}

.books-page {
  margin-top: 1rem;
}

.books-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.books-sidebar {
  position: sticky;
  top: 92px;
  background: #fff;
  border: 1px solid #d2e0d6;
  border-radius: 16px;
  padding: 1rem;
}

.books-sidebar h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  color: #165237;
}

.books-genre-link {
  display: block;
  text-decoration: none;
  color: #335646;
  border: 1px solid #d6e3d8;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.books-genre-link:hover {
  border-color: #97b9a5;
  color: #124d31;
}

.books-genre-link.active {
  background: #14623b;
  color: #fff;
  border-color: #14623b;
}

.works-page {
  margin-top: 1rem;
}

.practice-page {
  margin-top: 1rem;
}

.about-page {
  margin-top: 1rem;
}

.about-hero {
  border: 1px solid #cfe0d3;
  border-radius: 20px;
  background: linear-gradient(145deg, #f5fbf7, #edf5ef);
  padding: clamp(1.1rem, 3vw, 2rem);
}

.about-hero h1 {
  margin: 0.45rem 0 0.8rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #124d31;
}

.about-hero p {
  margin: 0;
  color: #4b6356;
  max-width: 920px;
}

.about-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.about-card {
  background: #fff;
  border: 1px solid #d2e0d6;
  border-radius: 16px;
  padding: 1rem;
}

.about-card h3 {
  margin-bottom: 0.45rem;
  color: #1b5b3a;
  font-size: 1.12rem;
}

.about-card p {
  margin: 0;
  color: #566f61;
}

.about-books-section {
  margin-top: 1.1rem;
}

.about-books-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.practice-hero {
  border: 1px solid #cfe0d3;
  border-radius: 20px;
  background: linear-gradient(145deg, #f6fbf7, #edf5ef);
  padding: clamp(1.1rem, 3vw, 2rem);
}

.practice-hero h1 {
  margin: 0.45rem 0 0.8rem;
  font-size: clamp(1.7rem, 4vw, 3rem);
  color: #124d31;
}

.practice-hero p {
  margin: 0;
  color: #4b6356;
  max-width: 900px;
}

.practice-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.practice-card {
  background: #fff;
  border: 1px solid #d2e0d6;
  border-radius: 16px;
  padding: 1rem;
}

.practice-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.12rem;
  color: #1b5b3a;
}

.practice-card p {
  margin: 0;
  color: #566f61;
}

.practice-flow {
  margin-top: 1rem;
  border: 1px solid #d2e0d6;
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
}

.practice-flow h2 {
  font-size: 1.45rem;
  color: #1b5b3a;
  margin-bottom: 0.75rem;
}

.practice-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.practice-flow-grid div {
  border: 1px solid #d5e2d8;
  border-radius: 12px;
  padding: 0.75rem;
  background: #f8fcf9;
}

.practice-flow-grid strong {
  display: block;
  color: #154e31;
}

.practice-flow-grid span {
  color: #60796a;
  font-size: 0.94rem;
}

.practice-cta {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.works-hero {
  border: 1px solid #cfe0d3;
  border-radius: 20px;
  background: linear-gradient(145deg, #f3faf5, #e9f2ec);
  padding: clamp(1.1rem, 3vw, 2rem);
}

.works-hero h1 {
  margin: 0.45rem 0 0.8rem;
  font-size: clamp(1.7rem, 4vw, 3rem);
  color: #124d31;
}

.works-hero p {
  margin: 0;
  color: #4b6356;
  max-width: 920px;
}

.works-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.works-card {
  background: #fff;
  border: 1px solid #d2e0d6;
  border-radius: 16px;
  padding: 1rem;
}

.works-card h3 {
  font-size: 1.15rem;
  color: #1b5b3a;
  margin-bottom: 0.45rem;
}

.works-card p {
  margin: 0;
  color: #566f61;
}

.works-cta {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.books-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px 120px;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.videos-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px 120px;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.books-pagination-wrap {
  margin-top: 1rem;
}

.videos-pagination-wrap {
  margin-top: 1rem;
}

.home-cta {
  margin-top: 2.3rem;
  border-radius: 22px;
  border: 1px solid #3d8b61;
  background: linear-gradient(140deg, #0d673e, #17794a);
  padding: clamp(1.1rem, 3vw, 1.8rem);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.home-cta h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
}

.home-cta a {
  text-decoration: none;
  color: #134f32;
  background: #f2fff7;
  border-radius: 999px;
  padding: 0.7rem 1.05rem;
  font-weight: 800;
}

.page-detail {
  margin-top: 1rem;
}

.hero {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.back-link {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 700;
}

.book-detail-card {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 1.1rem;
}

.book-gallery-carousel {
  border-radius: 12px;
  overflow: hidden;
}

.book-detail-image {
  width: 100%;
  max-height: 460px;
  border-radius: 12px;
  object-fit: cover;
}

.book-gallery-thumbs {
  margin-top: 0.65rem;
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
}

.book-gallery-thumbs button {
  border: 2px solid transparent;
  background: transparent;
  border-radius: 8px;
  padding: 0;
  width: 64px;
  height: 64px;
  overflow: hidden;
  flex: 0 0 auto;
}

.book-gallery-thumbs button.active {
  border-color: var(--primary);
}

.book-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-tag {
  display: inline-block;
  background: #e2f0e2;
  color: #174e31;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.book-detail-card h1 {
  margin: 0.7rem 0;
}

.book-detail-card p {
  margin: 0;
  color: #385245;
}

.book-meta {
  margin-top: 0.65rem !important;
}

.book-detail-description {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #d9e4de;
}

.book-detail-description h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.book-actions {
  margin-top: 1rem;
}

.book-share-wrap {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.book-share-wrap span {
  font-weight: 700;
  color: #2d4f3f;
}

.book-share-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.book-share-facebook {
  background: #1877f2;
}

.book-share-whatsapp {
  background: #25d366;
}

.book-share-x {
  background: #000;
}

.book-share-linkedin {
  background: #0a66c2;
}

.book-share-telegram {
  background: #2aabee;
}

.contact-social {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
}

.contact-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: #2c4a3a;
  text-decoration: none;
}

.site-footer {
  margin-top: 2.9rem;
  padding-top: 2rem;
  background: linear-gradient(165deg, #0e5b35, #0d472a);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 1.1rem;
}

.site-footer h3,
.site-footer h4,
.site-footer p,
.site-footer li,
.site-footer a,
.footer-bottom {
  color: #e9f7ee;
}

.site-footer h4 {
  font-size: 1.03rem;
  margin-bottom: 0.45rem;
}

.site-footer p {
  color: #d7eadf;
}

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

.site-footer li {
  margin-bottom: 0.38rem;
}

.site-footer a {
  text-decoration: none;
}

.footer-cta {
  margin-top: 0.9rem;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 700;
}

.footer-social {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.65rem;
  font-size: 1.04rem;
}

.footer-bottom {
  margin-top: 1.2rem;
  border-top: 1px solid rgba(223, 243, 231, 0.28);
  padding: 1rem 0 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

@media (max-width: 1100px) {
  .vision-grid {
    grid-template-columns: 1fr;
  }

  .hero-scholaro {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "copy copy"
      "main side"
      "lower lower";
    min-height: 0;
  }

  .hero-scholaro-main img {
    min-height: 300px;
  }

  .vision-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-showcase-images {
    grid-template-columns: 1fr 1fr;
  }

  .about-showcase-right {
    margin-top: 0;
  }
}

@media (max-width: 980px) {
  .book-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .genre-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topbar-note {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .genres-glance-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: static;
  }

  .header-wrap {
    min-height: 64px;
    flex-wrap: wrap;
    padding: 0.7rem 0;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-text {
    font-size: 0.9rem;
    max-width: 160px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-left: 0;
    padding-top: 0.5rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 0.38rem 0.1rem;
  }

  .topbar-wrap {
    grid-template-columns: 1fr auto;
  }

  .site-main {
    padding-top: 1.2rem;
  }

  .genre-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-grid,
  .video-grid,
  .footer-grid,
  .vision-collage,
  .book-detail-card {
    grid-template-columns: 1fr;
  }

  .genres-metrics {
    grid-template-columns: 1fr;
  }

  .videos-filter {
    grid-template-columns: 1fr;
  }

  .books-filter {
    grid-template-columns: 1fr;
  }

  .books-layout {
    grid-template-columns: 1fr;
  }

  .books-sidebar {
    position: static;
  }

  .about-showcase-images,
  .about-showcase-cards {
    grid-template-columns: 1fr;
  }

  .about-showcase-left,
  .about-showcase-right {
    margin-top: 0;
  }

  .about-showcase-center img {
    min-height: 300px;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .practice-grid,
  .practice-flow-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-stage {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .testimonial-side {
    width: min(340px, 82vw);
    height: 170px;
    border-radius: 22px;
  }

  .testimonial-center {
    height: 360px;
    border-radius: 34px;
  }

  .testimonial-overlay-card {
    bottom: 14px;
  }

  .testimonial-quote {
    font-size: 1.03rem;
  }

  .faq-panel {
    padding: 0.2rem 1rem;
  }

  .faq-toggle {
    font-size: clamp(1.05rem, 7vw, 1.5rem);
    padding: 1rem 0;
  }

  .hero-scholaro {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "main"
      "side"
      "lower";
  }

  .hero-scholaro-copy h2 {
    font-size: clamp(1.7rem, 10vw, 2.6rem);
  }

  .hero-scholaro-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }

  .hero-scholaro-lower img {
    height: 150px;
  }

  .home-cta,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
