.home-page{
  color: var(--text);
  background: #fff;
}

.home-section{
  padding: 72px 0;
}

.home-section--soft{
  background: var(--bg);
}

.home-badge,
.section-kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--brand);
  background: rgba(15, 76, 129, 0.08);
}

.section-kicker--light{
  color: #fff;
  background: rgba(255,255,255,0.14);
}

.section-heading{
  margin-bottom: 28px;
}

.section-heading h2{
  margin: 14px 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.18;
  color: var(--text);
}

.section-heading p{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 720px;
}

.section-heading--row{
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-link{
  white-space: nowrap;
  text-decoration: none;
  color: var(--brand);
  font-weight: 700;
}

.section-link:hover{
  color: var(--brand-dark);
}

/* =========================
   HERO
========================= */
.home-hero{
  position: relative;
  overflow: hidden;
  padding: 76px 0 64px;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 25%),
    radial-gradient(circle at left top, rgba(15, 76, 129, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.home-hero__grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: center;
}

.home-hero__title{
  margin: 16px 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

.home-hero__desc{
  margin: 0;
  max-width: 700px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.home-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* home buttons only */
.home-page .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: all .2s ease;
}

.home-page .btn-primary{
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.2);
}

.home-page .btn-primary:hover{
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.home-page .btn-outline{
  color: var(--brand);
  border: 1px solid rgba(15, 76, 129, 0.18);
  background: #fff;
}

.home-page .btn-outline:hover{
  border-color: var(--brand);
  background: rgba(15, 76, 129, 0.04);
}

.home-page .btn-light{
  color: var(--brand);
  background: #fff;
}

.home-page .btn-light:hover{
  transform: translateY(-1px);
}

.home-page .btn-outline-light{
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
}

.home-page .btn-outline-light:hover{
  background: rgba(255,255,255,0.08);
}

.home-hero__highlights{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.highlight-item{
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
}

.highlight-item strong{
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--text);
}

.highlight-item span{
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.home-hero__visual{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-card{
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow);
}

.hero-card__label{
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.hero-card h3{
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
  color: var(--text);
}

.hero-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-stat{
  padding: 20px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-stat strong{
  display: block;
  font-size: 28px;
  line-height: 1;
  color: var(--brand);
}

.hero-stat span{
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

/* =========================
   CATEGORY
========================= */
.category-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card{
  display: block;
  padding: 24px;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.category-card:hover{
  transform: translateY(-4px);
  border-color: rgba(15, 76, 129, 0.25);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.category-card__icon{
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(15, 76, 129, 0.08);
  font-size: 24px;
}

.category-card h3{
  margin: 16px 0 10px;
  font-size: 20px;
  color: var(--text);
}

.category-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* =========================
   PRODUCT
========================= */
.product-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card{
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.product-card__thumb{
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}

.product-card__thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 16px;
  transition: transform .25s ease;
}

.product-card:hover .product-card__thumb img{
  transform: scale(1.04);
}

.product-card__thumb--placeholder{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--muted);
  background: #f8fafc;
}

.product-card__body{
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card__title{
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  min-height: 48px;
}

.product-card__title a{
  color: inherit;
  text-decoration: none;
}

.product-card__title a:hover{
  color: var(--brand);
}

.product-card__price{
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

.product-card__price--muted{
  color: var(--muted);
}

.product-card__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--brand);
  background: rgba(15, 76, 129, 0.06);
}

.product-card__btn:hover{
  background: rgba(15, 76, 129, 0.12);
}

/* =========================
   FEATURES
========================= */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card{
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-card__icon{
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent);
  font-weight: 800;
  font-size: 22px;
}

.feature-card h3{
  margin: 16px 0 10px;
  font-size: 20px;
  color: var(--text);
}

.feature-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* =========================
   POSTS
========================= */
.post-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post-card{
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.post-card__thumb{
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f8fafc;
}

.post-card__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

.post-card:hover .post-card__thumb img{
  transform: scale(1.04);
}

.post-card__thumb--placeholder{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.post-card__body{
  padding: 20px;
}

.post-card__title{
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.4;
}

.post-card__title a{
  color: inherit;
  text-decoration: none;
}

.post-card__title a:hover{
  color: var(--brand);
}

.post-card__excerpt{
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.post-card__btn{
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.post-card__btn:hover{
  color: var(--brand-dark);
}

/* =========================
   CTA
========================= */
.home-cta{
  padding: 0 0 80px;
}

.home-cta__box{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--brand) 0%, #123f67 100%);
  color: #fff;
  box-shadow: 0 20px 40px rgba(15, 76, 129, 0.24);
}

.home-cta__content h2{
  margin: 14px 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.home-cta__content p{
  margin: 0;
  max-width: 660px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.home-cta__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

/* =========================
   EMPTY
========================= */
.empty-box{
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--muted);
  text-align: center;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px){
  .home-hero__grid,
  .category-grid,
  .feature-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid{
    grid-template-columns: repeat(3, 1fr);
  }

  .post-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .home-hero__grid{
    gap: 24px;
  }
}

@media (max-width: 767px){
  .home-section{
    padding: 56px 0;
  }

  .home-hero{
    padding: 52px 0 42px;
  }

  .home-hero__grid,
  .home-hero__highlights,
  .hero-stats,
  .category-grid,
  .product-grid,
  .feature-grid,
  .post-grid,
  .section-heading--row,
  .home-cta__box{
    display: grid;
    grid-template-columns: 1fr;
  }

  .section-heading--row{
    gap: 14px;
    align-items: start;
  }

  .home-hero__title{
    font-size: 34px;
  }

  .home-hero__desc{
    font-size: 16px;
  }

  .hero-card{
    padding: 22px;
  }

  .hero-card h3{
    font-size: 24px;
  }

  .home-cta__box{
    padding: 26px 20px;
  }

  .home-cta__actions{
    justify-content: flex-start;
  }

  .home-page .btn,
  .product-card__btn{
    width: 100%;
  }
}