/* ============================================================
   DLICT Hero Section — สพป.สุพรรณบุรี เขต 3
   ============================================================ */

.dlict-hero {
  background: linear-gradient(135deg, #0d3b7a 0%, #092a5a 50%, #1a5bb8 100%);
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* ลาย pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 15%, rgba(200,168,75,.15) 0%, transparent 45%),
    radial-gradient(circle at 5% 85%, rgba(200,168,75,.08) 0%, transparent 40%);
  pointer-events: none;
}

/* วงกลมตกแต่ง */
.hero-deco-1 {
  position: absolute;
  right: -120px; top: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 80px solid rgba(255,255,255,.03);
  pointer-events: none;
}
.hero-deco-2 {
  position: absolute;
  left: -100px; bottom: -150px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 60px solid rgba(200,168,75,.05);
  pointer-events: none;
}

/* ── Badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,168,75,.18);
  border: 1px solid rgba(200,168,75,.4);
  color: #e8c96d;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 22px;
  animation: heroFadeUp .5s ease both;
}

/* ── Title ── */
.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  color: #fff;
  animation: heroFadeUp .6s ease .1s both;
}
.hero-title-sub {
  display: block;
  color: #e8c96d;
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 4px;
}

/* ── Org ── */
.hero-org {
  font-size: 1rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 14px;
  font-weight: 500;
  animation: heroFadeUp .6s ease .2s both;
}

/* ── Slogan ── */
.hero-slogan {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.82);
  margin-bottom: 30px;
  padding-left: 18px;
  border-left: 3px solid #c8a84b;
  font-style: italic;
  animation: heroFadeUp .6s ease .3s both;
}

/* ── CTA ── */
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: heroFadeUp .6s ease .4s both;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: all .25s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-hero-primary {
  background: #c8a84b;
  color: #0d3b7a;
}
.btn-hero-primary:hover {
  background: #e8c96d;
  color: #0d3b7a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200,168,75,.4);
}
.btn-hero-outline {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.5);
  transform: translateY(-2px);
}

/* ── Counter Grid ── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  animation: heroFadeUp .7s ease .3s both;
}

.stat-item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 3px;
  background: #c8a84b;
  border-radius: 0 0 4px 4px;
}
.stat-item:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-4px);
  border-color: rgba(200,168,75,.4);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.stat-icon {
  display: block;
  font-size: 1.6rem;
  color: #c8a84b;
  margin-bottom: 8px;
}
.stat-num {
  font-size: 2.1rem;
  font-weight: 700;
  color: #e8c96d;
  line-height: 1;
  margin-bottom: 4px;
  font-family: var(--font-heading);
  letter-spacing: -.5px;
}
.stat-suffix {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 6px;
}
.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.85);
  line-height: 1.35;
  font-weight: 500;
}

/* ── Animations ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .dlict-hero { padding: 50px 0 60px; }
  .hero-title { font-size: 1.7rem; }
  .hero-title-sub { font-size: 1.25rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .dlict-hero { padding: 40px 0 50px; }
  .hero-title { font-size: 1.4rem; }
  .hero-title-sub { font-size: 1.05rem; }
  .hero-org { font-size: .9rem; }
  .hero-slogan { font-size: .9rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-item { padding: 16px 12px; }
  .stat-num { font-size: 1.6rem; }
  .stat-icon { font-size: 1.3rem; }
  .stat-label { font-size: .75rem; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .btn-hero { justify-content: center; width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
/* ── Hero ต่อจาก Carousel ── */
.hero-slider + .dlict-hero {
  padding-top: 50px;
  border-top: 3px solid var(--accent, #c8a84b);
}

@media (max-width: 767px) {
  .hero-slider + .dlict-hero {
    padding-top: 35px;
  }
}