/* ==========================================================================
   Reset & Global Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--text);
  background: linear-gradient(180deg, #fffaf0 0%, #fff 42%, #f7fff8 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  display: block;
  height: auto;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

p {
  margin: 0;
}

/* Layout wrapper */
.wrap {
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Utility: section spacing */
.section {
  padding: 42px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section h2 {
  font-size: 42px;
  line-height: 1.06;
  letter-spacing: -1.7px;
  color: var(--brown);
  margin: 0;
}

.section-sub {
  color: var(--muted);
  line-height: 1.7;
  max-width: 700px;
  margin-top: 10px;
}

.view {
  color: var(--green);
  font-weight: 950;
  white-space: nowrap;
}

/* Shared hero elements used across page templates */
.page-hero {
  padding: 34px 0 28px;
}

.hero-box {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(135deg, #fff0b8 0%, #fff8e8 45%, #eaffef 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .8);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 480px;
}

.hero-box::before {
  content: "";
  position: absolute;
  left: -110px;
  top: -130px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
}

.hero-copy {
  padding: 62px 58px;
  position: relative;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #7b6c5c;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.breadcrumb span {
  color: var(--green);
}

.eyebrow,
.tag {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid #f1e0b7;
  color: var(--green);
  font-weight: 900;
  font-size: 13px;
  width: max-content;
}

.hero-img {
  padding: 42px 44px 42px 0;
  display: flex;
  align-items: center;
  position: relative;
}

.mini-card {
  position: absolute;
  left: -30px;
  bottom: 62px;
  background: #fff;
  border-radius: 22px;
  padding: 16px 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .14);
  font-weight: 900;
  color: var(--green);
  max-width: 250px;
}

.mini-card small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  margin-top: 5px;
  line-height: 1.45;
}

/* Shared: two-column content layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.content-card p {
  color: var(--muted);
  line-height: 1.85;
}

.image-card {
  border-radius: 30px;
  overflow: hidden;
  min-height: 430px;
  box-shadow: var(--shadow);
  background: #eee;
}

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

/* Shared: pill badge */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--mint);
  color: var(--green);
  font-weight: 900;
  font-size: 12px;
  border: 1px solid #bfe0c7;
}

/* Lead text */
.lead {
  font-size: 17px;
  line-height: 1.78;
  color: #6e6257;
  max-width: 680px;
  margin: 0;
}

/* Pagination */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pagination .page,
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  transition: .2s;
  padding: 0 10px;
}

.pagination .page:hover,
.pagination .page-numbers:hover {
  border-color: #9bcfaa;
  color: var(--green);
}

.pagination .page.current,
.pagination .page-numbers.current {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* FAQ shared */
.faq {
  max-width: 860px;
  margin: auto;
}

.faq h2 {
  text-align: center;
}

.faq-item {
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .035);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 0;
  padding: 18px 22px;
  font-weight: 900;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.faq-q span {
  color: var(--green);
  font-size: 20px;
  transition: .25s;
  flex-shrink: 0;
}

.faq-a {
  display: none;
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.faq-item.active {
  border-color: #bfe0c7;
  box-shadow: 0 12px 28px rgba(23, 116, 58, .08);
}

.faq-item.active .faq-a {
  display: block;
}

.faq-item.active .faq-q span {
  transform: rotate(45deg);
}

@media (max-width: 980px) {
  .hero-box,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 44px 28px;
  }

  .hero-img {
    padding: 0 28px 34px;
  }

  .section h2 {
    font-size: 34px;
  }

  .image-card {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .hero-box {
    border-radius: 24px;
  }

  .hero-copy {
    padding: 34px 20px;
  }

  .section h2 {
    font-size: 28px;
  }

  .content-card,
  .two-col .content-card {
    padding: 26px 20px;
  }

  .mini-card {
    display: none;
  }
}
