/* ===== Page Index - f186 Homepage ===== */
.page-index { color: #333333; font-family: 'Segoe UI', Tahoma, sans-serif; line-height: 1.65; }
.page-index h1, .page-index h2, .page-index h3 { color: #017439; margin: 0 0 12px; }
.page-index img { max-width: 100%; height: auto; display: block; }
.page-index a { text-decoration: none; }

/* HERO */
.page-index__hero-section { position: relative; width: 100%; overflow: hidden; padding-top: 0; margin-top: 0; background: #012d17; }
.page-index__hero-carousel { position: relative; width: 100%; }
.page-index__hero-slide { display: none; width: 100%; }
.page-index__hero-slide.is-active { display: block; }
.page-index__hero-image { width: 100%; height: auto; object-fit: cover; }
.page-index__hero-prev, .page-index__hero-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(1, 116, 57, 0.85); color: #ffffff; border: none; width: 44px; height: 44px; font-size: 24px; cursor: pointer; z-index: 3; border-radius: 50%; }
.page-index__hero-prev { left: 12px; }
.page-index__hero-next { right: 12px; }
.page-index__hero-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.page-index__hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #ffffff; background: transparent; cursor: pointer; padding: 0; }
.page-index__hero-dots button.is-active { background: #ffffff; }

/* BANNER THUMBS */
.page-index__banner-section { max-width: 1200px; margin: 16px auto; padding: 0 16px; }
.page-index__banner-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.page-index__banner-thumbs a { display: block; border-radius: 8px; overflow: hidden; border: 2px solid #017439; }
.page-index__banner-thumbs img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.2s; }
.page-index__banner-thumbs a:hover img { transform: scale(1.04); }

/* INTRO */
.page-index__intro-section { max-width: 1200px; margin: 0 auto; padding: 32px 16px; }
.page-index__intro-title { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; margin-bottom: 16px; }
.page-index__intro-lead { font-size: 1.05rem; color: #4a4a4a; margin-bottom: 28px; }
.page-index__offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.page-index__offer-card { background: #ffffff; border: 2px solid #017439; border-radius: 12px; padding: 20px 16px; text-align: center; box-shadow: 0 2px 8px rgba(1, 116, 57, 0.12); }
.page-index__offer-number { display: block; font-size: 1.25rem; font-weight: 700; color: #C30808; margin-bottom: 6px; }
.page-index__offer-label { display: block; font-size: 0.95rem; color: #017439; font-weight: 600; }
.page-index__category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.page-index__category-pill { background: #017439; color: #ffffff; padding: 8px 18px; border-radius: 999px; font-size: 0.95rem; font-weight: 600; }
.page-index__category-pill:hover { background: #025c2e; }
.page-index__intro-subtitle { font-size: 1.4rem; margin-top: 12px; }
.page-index__intro-text { margin-bottom: 14px; color: #444444; }

/* SECTION TITLES */
.page-index__section-title { font-size: 1.5rem; margin-bottom: 18px; border-left: 4px solid #017439; padding-left: 12px; }

/* POSTS */
.page-index__posts-section { max-width: 1200px; margin: 0 auto; padding: 32px 16px; background: #f4faf6; border-radius: 16px; }
.page-index__posts-wrapper { position: relative; }
.page-index__posts-track { display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 8px; }
.page-index__post-card { flex: 0 0 calc(25% - 12px); background: #ffffff; border-radius: 10px; overflow: hidden; border: 1px solid #d5e8dd; }
.page-index__post-link { display: block; color: inherit; padding-bottom: 12px; }
.page-index__post-card img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.page-index__post-date { display: block; font-size: 0.8rem; color: #777777; padding: 10px 12px 4px; }
.page-index__post-title { font-size: 1rem; padding: 0 12px; margin-bottom: 8px; color: #017439; line-height: 1.4; }
.page-index__post-more { display: inline-block; padding: 0 12px; font-size: 0.9rem; color: #C30808; font-weight: 600; }
.page-index__posts-prev, .page-index__posts-next { position: absolute; top: 40%; transform: translateY(-50%); background: #017439; color: #ffffff; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; cursor: pointer; z-index: 2; }
.page-index__posts-prev { left: -10px; }
.page-index__posts-next { right: -10px; }

/* PROMO */
.page-index__promo-section { max-width: 1200px; margin: 0 auto; padding: 40px 16px; text-align: center; }
.page-index__promo-text { max-width: 720px; margin: 0 auto 20px; color: #555555; }
.page-index__promo-link { display: block; max-width: 600px; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 3px solid #017439; }
.page-index__promo-image { width: 100%; height: auto; }

/* LIST */
.page-index__list-section { max-width: 1200px; margin: 0 auto; padding: 32px 16px; }
.page-index__list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.page-index__list-item { background: #ffffff; border: 1px solid #d5e8dd; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.page-index__list-link { display: block; color: inherit; }
.page-index__list-item img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.page-index__list-title { font-size: 1.1rem; padding: 12px 14px 6px; }
.page-index__list-desc { font-size: 0.92rem; color: #555555; padding: 0 14px 16px; }

/* FAQ */
.page-index__faq-section { max-width: 1200px; margin: 0 auto; padding: 32px 16px; }
.page-index__faq-list { display: flex; flex-direction: column; gap: 10px; }
.page-index__faq-item { background: #ffffff; border: 1px solid #d5e8dd; border-radius: 8px; padding: 4px 16px; }
.page-index__faq-question { cursor: pointer; font-weight: 600; color: #017439; padding: 12px 0; list-style: none; }
.page-index__faq-question::-webkit-details-marker { display: none; }
.page-index__faq-answer { margin: 0 0 14px; color: #444444; font-size: 0.95rem; }

/* OVERLAY */
.page-index__overlay-section { position: relative; width: 100%; min-height: 300px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; margin-top: 24px; }
.page-index__overlay-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-index__overlay-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 1; }
.page-index__overlay-content { position: relative; z-index: 2; padding: 32px 20px; max-width: 800px; }
.page-index__overlay-title { color: #ffffff; font-size: 1.6rem; margin-bottom: 10px; }
.page-index__overlay-desc { color: #eaf7f0; font-size: 1rem; margin: 0; }

/* CTA */
.page-index__cta-section { position: relative; width: 100%; min-height: 340px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-top: 24px; }
.page-index__cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-index__cta-content { position: relative; z-index: 2; text-align: center; padding: 32px 20px; max-width: 760px; background: rgba(1, 45, 23, 0.75); border-radius: 16px; margin: 20px; }
.page-index__cta-title { color: #ffffff; font-size: 1.7rem; margin-bottom: 10px; }
.page-index__cta-desc { color: #eaf7f0; margin-bottom: 20px; }
.page-index__cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.page-index__cta-btn { display: inline-block; padding: 14px 24px; border-radius: 8px; font-weight: 700; font-size: 1rem; color: #FFFF00; background: #C30808; border: 2px solid #FFFF00; transition: transform 0.15s; }
.page-index__cta-btn:hover { transform: translateY(-2px); }
.page-index__cta-btn--register, .page-index__cta-btn--login { background: #C30808; color: #FFFF00; }

/* MOBILE */
@media (max-width: 768px) {
  .page-index { max-width: 100%; overflow-x: hidden; }
  .page-index img { max-width: 100% !important; height: auto !important; }
  .page-index__hero-prev, .page-index__hero-next { width: 36px; height: 36px; font-size: 18px; }
  .page-index__banner-thumbs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .page-index__intro-section { padding: 24px 14px; }
  .page-index__offer-grid { grid-template-columns: 1fr; gap: 12px; }
  .page-index__posts-section { padding: 24px 14px; }
  .page-index__post-card { flex: 0 0 92%; }
  .page-index__posts-prev, .page-index__posts-next { display: none; }
  .page-index__list-grid { grid-template-columns: 1fr; }
  .page-index__promo-section, .page-index__list-section, .page-index__faq-section { padding: 24px 14px; }
  .page-index__cta-buttons { flex-direction: column; align-items: stretch; }
  .page-index__cta-btn { max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; text-align: center; }
  .page-index__overlay-title, .page-index__cta-title { font-size: 1.3rem; }
}