/* ===== SAMBUTAN ===== */
.sambutan-card {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  background: var(--putih);
  border-radius: 20px;
  padding: 3rem;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  border: 1px solid rgba(0, 0, 0, .04);
}

.sambutan-foto {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--emas-muda);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.sambutan-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sambutan-foto-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--biru), var(--biru-tua));
  color: var(--putih);
  font-size: .875rem;
  font-weight: 700;
  text-align: center;
}

.sambutan-isi {
  flex: 1;
}

.sambutan-card-profile {
  padding: 0;
  border: none;
  box-shadow: none;
  max-width: 100%;
}

.sambutan-nama {
  font-size: 1.25rem;
  color: var(--biru);
  margin-bottom: .25rem;
  font-weight: 700;
}

.sambutan-jabatan {
  font-size: .875rem;
  color: var(--merah);
  font-weight: 600;
  margin-bottom: 1rem;
}

.sambutan-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: .75rem;
}

/* ===== PROFILE ===== */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.profile-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-card {
  padding: 2rem 2.5rem;
}

.info-card {
  padding: 1.25rem 1.25rem;
}

.info-title {
  font-size: 1rem;
  color: var(--biru);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--emas);
  font-weight: 600;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table td {
  padding: .5rem .75rem;
  font-size: .875rem;
  border-bottom: 1px solid rgba(0, 0, 0, .04);
  vertical-align: top;
}

.info-table td:first-child {
  font-weight: 600;
  color: var(--biru);
  white-space: nowrap;
  width: 35%;
}

.info-table tr:last-child td {
  border-bottom: none;
}

.kepsek-card {
  text-align: center;
}

.kepsek-avatar {
  width: 160px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 4px solid var(--emas-muda);
}

.kepsek-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.kepsek-card h4 {
  font-size: 1rem;
  color: var(--biru);
  font-weight: 600;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  text-align: center;
}

.stat-item {
  padding: .75rem;
  background: rgba(29, 78, 137, .04);
  border-radius: 12px;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--merah);
}

.stat-label {
  display: block;
  font-size: .75rem;
  color: #64748b;
  margin-top: 2px;
}

/* ===== MISION LIST ===== */
.misi-list {
  list-style: disc;
  padding-left: 1.5rem;
}

.misi-list li {
  margin-bottom: .5rem;
  font-size: .938rem;
  color: #475569;
  line-height: 1.7;
}

/* Profile responsive */
@media (max-width: 980px) {
  .profile-card {
    padding: 1.25rem;
  }

  .info-card {
    padding: 1rem;
  }

  .kepsek-avatar {
    width: 120px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .profile-card {
    text-align: center;
  }
}

/* Profile hover */
.profile-card,
.info-card {
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease;
}

.profile-card:hover,
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

/* Stat item hover */
.stat-item {
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease, background .3s ease;
}

.stat-item:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(29, 78, 137, .12);
  background: rgba(29, 78, 137, .08);
}

/* Sambutan card hover */
.sambutan-card {
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease;
}

.sambutan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .08);
}

/* Sambutan responsive */
@media (max-width: 980px) {
  .sambutan-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    gap: 2rem;
  }

  .sambutan-foto {
    width: 140px;
    height: 140px;
  }
}

/* ===== SAMBUTAN KEPALA SEKOLAH ===== */
.section-sambutan {
  padding: 60px 0;
  background: #ffffff;
}

.sambutan-card {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 2.5rem 3rem;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
}

.sambutan-row {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.sambutan-image-col {
  flex: 0 0 240px;
}

.sambutan-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  border: 4px solid #ffffff;
  background: #f1f5f9;
}

.sambutan-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.sambutan-badge-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: .75rem;
  font-weight: 600;
  padding: .4rem .75rem;
  text-align: center;
}

.sambutan-content-col {
  flex: 1;
}

.sub-heading-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .813rem;
  font-weight: 700;
  color: #2563eb;
  background: #dbeafe;
  padding: .3rem .8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.sambutan-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.sambutan-text {
  font-size: 1rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.sambutan-author-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.author-title {
  font-size: .813rem;
  color: #64748b;
}

@media (max-width: 992px) {
  .sambutan-row {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .sambutan-image-col {
    flex: 0 0 auto;
    width: 220px;
  }

  .sambutan-card {
    padding: 2rem 1.5rem;
  }

  .sambutan-author-box {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 1rem;
  }
}
